7.0 account_payment_extension wrong domain on bank field

Bug #1194024 reported by bruno bottacini
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Additional payment, bank statement and voucher addons for OpenERP

Bug Description

in payment_view.xml:
    <!--Field partner_bank_id in client invoices has a strange domain: domain="[('partner_id.ref_companies', 'in', [company_id])]"-->

    <record model="ir.ui.view" id="invoice_form3">
        <field name="name">account.invoice.form3.payment_type</field>
        <field name="model">account.invoice</field>
        <field name="type">form</field>
        <field name="inherit_id" ref="account.invoice_form"/>
        <field name="arch" type="xml">
            <field name="partner_bank_id" position="replace">
                <field domain="[('partner_id', '=', partner_id)]" name="partner_bank_id" on_change="onchange_partner_bank(partner_bank_id)"/>

i think this is not correct

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers