Skip to content
Snippets Groups Projects
Commit 9caf5ed0 authored by Kevin Baptiste's avatar Kevin Baptiste
Browse files

[FIX] hr_expense: correct context on tax_ids


Newly created taxes were missing the correct type_tax_use and
price_include values, thus making them not working properly.

closes odoo/odoo#86883

X-original-commit: 161208315c2bb6e49fae243ead680710c040b872
Signed-off-by: default avatarKevin Baptiste <kba@odoo.com>
parent e1d48634
No related branches found
No related tags found
No related merge requests found
......@@ -168,7 +168,7 @@
widget="many2many_tags"
attrs="{'readonly': ['|', ('is_editable', '=', False), ('product_has_cost', '=', True)],
'invisible': [('product_has_tax', '=', False)]}"
context="{'default_company_id': company_id}"/>
context="{'default_company_id': company_id, 'default_type_tax_use': 'purchase', 'default_price_include': 1}"/>
</div>
<div class="d-flex pt-2">
<span attrs="{'invisible': [('product_has_tax', '=', False)]}" class="oe_inline o_form_label ml-1 mr-1"> ( </span>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment