Skip to content

Commit

Permalink
[UPD] add target_quantity field in sale.forecast
Browse files Browse the repository at this point in the history
  • Loading branch information
ntsirintanis committed Mar 20, 2024
1 parent 809f2f3 commit 8173827
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sale_forecast/models/sale_forecast.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ class SaleForecast(models.Model):
comodel_name="stock.location", string="Location", required=True
)
product_uom_qty = fields.Float(string="Quantity", digits="Product Unit of Measure")
product_target_uom_qty = fields.Float(
string="Target Quantity", digits="Product Unit of Measure"
)
product_qty = fields.Float(
string="Quantity (Product UoM)",
compute="_compute_product_quantity",
Expand Down
1 change: 1 addition & 0 deletions sale_forecast/views/sale_forecast_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<field name="product_uom" />
<field name="product_qty" />
<field name="daily_qty" />
<field name="product_target_uom_qty" />
</tree>
</field>
</record>
Expand Down

0 comments on commit 8173827

Please sign in to comment.