summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaurav Panchal <gan@odoo.com>2014-12-31 14:13:39 +0100
committerThibault Delavallée <tde@openerp.com>2014-12-31 14:13:39 +0100
commite5a2ddc22f592aab87fe237598dabec42ae9c9bc (patch)
treeaaf22b9b3779eac5c0a491a973038bea79b32245
parentd661902aff3261354c41c35dbac7caf2fe720513 (diff)
[IMP] account: invoice form view: add forgotten onchange on date_invoice and payment_term
-rw-r--r--addons/account/account_invoice_view.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/account/account_invoice_view.xml b/addons/account/account_invoice_view.xml
index be32ddb97f4..1280ffc189c 100644
--- a/addons/account/account_invoice_view.xml
+++ b/addons/account/account_invoice_view.xml
@@ -265,7 +265,7 @@
<field domain="[('partner_id', '=', partner_id)]" name="partner_bank_id" on_change="onchange_partner_bank(partner_bank_id)"/>
<field name="user_id" string="Responsible" context="{'default_groups_ref': ['base.group_user', 'base.group_partner_manager', 'account.group_account_invoice']}"/>
<field name="name" invisible="1"/>
- <field name="payment_term" options="{'no_create': True}"/>
+ <field name="payment_term" options="{'no_create': True}" on_change="onchange_payment_term_date_invoice(payment_term, date_invoice)"/>
</group>
<group>
<field name="move_id" groups="account.group_account_user"/>
@@ -395,7 +395,7 @@
<field name="reconciled" invisible="1"/>
</group>
<group>
- <field name="payment_term" class="oe_inline"/>
+ <field name="payment_term" class="oe_inline" on_change="onchange_payment_term_date_invoice(payment_term,date_invoice)"/>
</group>
<div class="oe_clear">
<label for="comment"/>