diff --git a/l10n_br_purchase/views/purchase_view.xml b/l10n_br_purchase/views/purchase_view.xml index 9747d4ace88b..242c93163baa 100644 --- a/l10n_br_purchase/views/purchase_view.xml +++ b/l10n_br_purchase/views/purchase_view.xml @@ -131,56 +131,41 @@ >{'invisible': ['|', ('parent.fiscal_operation_id', '!=', False), ('display_type', '!=', False)]} + - - - + + + + name="freight_value" + attrs="{'readonly': [('delivery_costs', '=', 'total')]}" + /> + name="insurance_value" + attrs="{'readonly': [('delivery_costs', '=', 'total')]}" + /> + name="other_value" + attrs="{'readonly': [('delivery_costs', '=', 'total')]}" + /> - + + name="taxes_id" + widget="many2many_tags" + options="{'no_create': True}" + context="{'search_view_ref': 'account.account_tax_view_search'}" + domain="[('type_tax_use','=','purchase'),('company_id','=',parent.company_id)]" + /> @@ -188,12 +173,13 @@ + string="Invoices and Incoming Shipments" + name="invoices_incoming_shiptments" + > - + +