Skip to content

Commit

Permalink
[MIG] contract_sale_generation: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lmoreno committed May 28, 2024
1 parent ae47349 commit 8c956ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contract_sale_generation/views/contract.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
<field name="arch" type="xml">
<xpath expr="//field[@name='generation_type']" position="after">
<field
attrs="{'invisible':[('generation_type','!=', 'sale')]}"
invisible="generation_type != 'sale'"
name="sale_autoconfirm"
/>
</xpath>
<xpath expr="//button[@name='recurring_create_invoice']" position="before">
<button
attrs="{'invisible': [('generation_type','!=','sale')]}"
invisible="generation_type != 'sale'"
class="oe_link"
groups="base.group_no_one"
name="recurring_create_sale"
Expand All @@ -22,7 +22,7 @@
</xpath>
<xpath expr="//button[@name='action_show_invoices']" position="after">
<button
attrs="{'invisible': [('generation_type','!=','sale')]}"
invisible="generation_type != 'sale'"
class="oe_stat_button"
icon="fa-list"
name="action_show_sales"
Expand Down

0 comments on commit 8c956ef

Please sign in to comment.