Skip to content

Commit

Permalink
[IMP] sale_variant_configurator: add create_product_variant to form
Browse files Browse the repository at this point in the history
When you try configure a variant that doesn't exist yet, there's no way to create it and add it to the sale order
  • Loading branch information
joelkm committed Oct 31, 2024
1 parent 1386a44 commit f6668e9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions sale_variant_configurator/views/sale_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@
/>
<field name="price_extra" />
</tree>
<field name="can_create_product" invisible="1" />
<field
name="create_product_variant"
attrs="{'invisible':
[('can_create_product', '=', False)]}"
/>
</field>
<field name="can_create_product" invisible="1" />
<field
name="create_product_variant"
attrs="{'invisible':
[('can_create_product', '=', False)]}"
/>
</xpath>
</field>
</record>
Expand Down

0 comments on commit f6668e9

Please sign in to comment.