Skip to content

Commit

Permalink
[IMP] sale_order_product_recommendation_secondary_unit: make the seco…
Browse files Browse the repository at this point in the history
…ndary unit and secondary quantity fields optional

TT49686
  • Loading branch information
pilarvargas-tecnativa committed Jun 19, 2024
1 parent 3482795 commit e15b88b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@
name="secondary_uom_id"
domain="[('product_tmpl_id', '=', product_tmpl_id)]"
attrs="{'readonly': [('product_uom_readonly', '=', True)]}"
optional="show"
/>
<field
name="secondary_uom_qty"
attrs="{'invisible': [('secondary_uom_id', '=', False)]}"
widget="numeric_step"
optional="show"
/>
</xpath>
<xpath
Expand Down

0 comments on commit e15b88b

Please sign in to comment.