summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--addons/account_voucher/voucher_sales_purchase_view.xml10
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">