[FIX] hr_expense : supplier_taxes_id is not visible
closes odoo/odoo#63183 X-original-commit: e702399ceb9b84ad1ce82371eeaeddb492907eda Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
ccdfa1498f
commit
ed81f25bee
@@ -466,6 +466,9 @@
|
||||
<label for="can_be_expensed"/>
|
||||
</div>
|
||||
</div>
|
||||
<xpath expr="//page[@name='general_information']//field[@name='taxes_id']" position="after">
|
||||
<field name="supplier_taxes_id" widget="many2many_tags" attrs="{'invisible':['|',('can_be_expensed','=',False),('purchase_ok','=',True)]}" context="{'default_type_tax_use':'purchase', 'search_default_purchase': 1, 'search_default_service': type == 'service', 'search_default_goods': type == 'consu'}"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user