[FIX] sale: taxes on mobile

- Create 3 products, add 2 sales tax to each product
- Create a quotation template with the se 3 products
- Switch to mobile mode
- Create a SO, add the quotation template
- Modify the first line and change the quantity

The taxes of the two other lines are removed.

This is due to the missing `tax_id` field in the mobile kanban view.

opw-1998493

closes odoo/odoo#33527

Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
This commit is contained in:
Nicolas Martinelli
2019-05-21 12:22:25 +00:00
parent 6188a61de3
commit 013d52e988
+1
View File
@@ -488,6 +488,7 @@
<field name="price_total" invisible="1"/>
<field name="price_unit"/>
<field name="display_type"/>
<field name="tax_id" invisible="1"/>
<templates>
<t t-name="kanban-box">
<div t-attf-class="oe_kanban_card oe_kanban_global_click {{ record.display_type.raw_value ? 'o_is_' + record.display_type.raw_value : '' }}">