Skip to content

Commit

Permalink
[IMP] stock_move_cost: pre-commit stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
oihane committed Jun 25, 2024
1 parent 92f8e0d commit 3e72c30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion stock_move_cost/models/stock_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ class StockMove(models.Model):
compute="_compute_price_unit_cost",
)
cost = fields.Float(
string="Cost",
digits="Product Price",
store=True,
copy=False,
Expand Down
5 changes: 3 additions & 2 deletions stock_move_cost/models/stock_move_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ class StockMoveLine(models.Model):
_inherit = "stock.move.line"

price_unit_cost = fields.Float(
string="Cost Unit Price", digits="Product Price", copy=False
string="Cost Unit Price",
digits="Product Price",
copy=False,
)
cost = fields.Float(
string="Cost",
digits="Product Price",
copy=False,
store=True,
Expand Down

0 comments on commit 3e72c30

Please sign in to comment.