Skip to content

Commit

Permalink
[FIX] stock_reserve_rule: View is updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
geomer198 committed Nov 11, 2023
1 parent e6affeb commit e6de1fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions stock_reserve_rule/models/stock_reserve_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ class StockReserveRuleRemoval(models.Model):
("absolute", "Absolute Value"),
],
string="Tolerance computation",
required=True,
default="percentage",
)

tolerance_requested_value = fields.Float(string="Tolerance value", default=0.0)
Expand Down
2 changes: 1 addition & 1 deletion stock_reserve_rule/views/stock_reserve_rule_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
/>
<field
name="tolerance_requested_limit"
attrs="{'invisible': [('removal_strategy', '!=', 'single_lot')]"
attrs="{'invisible': [('removal_strategy', '!=', 'single_lot')]}"
/>
<field
name="tolerance_requested_computation"
Expand Down

0 comments on commit e6de1fa

Please sign in to comment.