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 30, 2024
1 parent 1034370 commit 1386a44
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 @@ -56,6 +56,12 @@
/>
<field name="price_extra" />
</tree>
<field name="can_create_product" invisible="1" />
<field
name="create_product_variant"
attrs="{'invisible':
[('can_create_product', '=', False)]}"
/>
</field>
</xpath>
</field>
Expand Down

0 comments on commit 1386a44

Please sign in to comment.