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 1034370 commit 90fa558
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sale_variant_configurator/views/sale_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@
<field name="price_extra" />
</tree>
</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 90fa558

Please sign in to comment.