Skip to content

Commit

Permalink
[IMP] l10n_br_purchase: add service_type_id
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelsavegnago committed May 17, 2022
1 parent 8050d42 commit da0b030
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion l10n_br_purchase/views/purchase_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
<field name="fiscal_operation_type" invisible="1" readonly="1" />
<field name="fiscal_genre_code" invisible="1" />
<field name="tax_framework" invisible="1" />
<field name="tax_icms_or_issqn" invisible="1" />
</group>
</xpath>
<xpath
Expand All @@ -66,7 +67,16 @@
required="1"
options="{'no_create': True}"
/>
<field name="cfop_id" options="{'no_create': True}" />
<field
name="cfop_id"
attrs="{'invisible': [('tax_icms_or_issqn', '=', 'issqn')]}"
options="{'no_create': True}"
/>
<field
name="service_type_id"
options="{'no_create': True}"
attrs="{'invisible': [('tax_icms_or_issqn', '=', 'icms')]}"
/>
</xpath>
<xpath
expr="//field[@name='order_line']/form//notebook/page[1]"
Expand Down

0 comments on commit da0b030

Please sign in to comment.