diff options
| author | Quentin (OpenERP) <qdp-launchpad@openerp.com> | 2012-10-04 19:05:06 +0200 |
|---|---|---|
| committer | Quentin (OpenERP) <qdp-launchpad@openerp.com> | 2012-10-04 19:05:06 +0200 |
| commit | 5dacf35d16f4d37618d4d9c19e10bc8ff325c1ef (patch) | |
| tree | 735f660adeff7df9eea2843b62413a791454c994 /addons | |
| parent | fbaa849e8201b1887833a9a161e6d421fe2df6fb (diff) | |
[FIX] account_voucher: fixed view that have an onchange function returning a field which is not in the view
bzr revid: qdp-launchpad@openerp.com-20121004170506-3a8l6qjmvsclzx7d
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/account_voucher/voucher_sales_purchase_view.xml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/addons/account_voucher/voucher_sales_purchase_view.xml b/addons/account_voucher/voucher_sales_purchase_view.xml index d5bebd0e558..aa17cd2997a 100644 --- a/addons/account_voucher/voucher_sales_purchase_view.xml +++ b/addons/account_voucher/voucher_sales_purchase_view.xml @@ -95,9 +95,10 @@ <field name="account_analytic_id" groups="analytic.group_analytic_accounting"/> </tree> </field> - <!-- TODO: onchange_partner_id() should not returns line_dr_ids for type sale, and not line_cr_ids for type purchase --> - <!-- in the meanwhile, bellow line must be there because the field must be present in the view if the onchange returns a value for it--> + <!-- TODO: onchange_partner_id() should not returns [pre_line,line_dr_ids] for type sale, and not [pre_line,line_cr_ids] for type purchase --> + <!-- in the meanwhile, bellow lines must be there because the fields must be present in the view if the onchange returns a value for them--> <field name="line_dr_ids" invisible="1"/> + <field name="pre_line" invisible="1"/> <group> <field name="narration" placeholder="Internal Notes" nolabel="1"/> <group class="oe_subtotal_footer oe_right"> @@ -252,9 +253,10 @@ <field name="account_analytic_id" groups="analytic.group_analytic_accounting"/> </tree> </field> - <!-- TODO: onchange_partner_id() should not returns line_dr_ids for type sale, and not line_cr_ids for type purchase --> - <!-- in the meanwhile, bellow line must be there because the field must be present in the view if the onchange returns a value for it--> + <!-- TODO: onchange_partner_id() should not returns [pre_line,line_dr_ids] for type sale, and not [pre_line,line_cr_ids] for type purchase --> + <!-- in the meanwhile, bellow lines must be there because the fields must be present in the view if the onchange returns a value for them--> <field name="line_cr_ids" invisible="1"/> + <field name="pre_line" invisible="1"/> <group> <field name="narration" placeholder="Internal Notes" nolabel="1"/> <group class="oe_subtotal_footer oe_right"> |
