Skip to content
Snippets Groups Projects
Commit b7a07d33 authored by Goffin Simon's avatar Goffin Simon
Browse files

[FIX] sale_stock: Typo error

Typo error
parent d46279ef
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,7 @@ class AccountInvoiceLine(models.Model): ...@@ -26,7 +26,7 @@ class AccountInvoiceLine(models.Model):
quantity = self.uom_id._compute_quantity(self.quantity, self.product_id.uom_id) quantity = self.uom_id._compute_quantity(self.quantity, self.product_id.uom_id)
# Put moves in fixed order by date executed # Put moves in fixed order by date executed
moves = self.env['stock.move'] moves = self.env['stock.move']
moves |=_line.move_ids moves |= s_line.move_ids
moves.sorted(lambda x: x.date) moves.sorted(lambda x: x.date)
# Go through all the moves and do nothing until you get to qty_done # Go through all the moves and do nothing until you get to qty_done
# Beyond qty_done we need to calculate the average of the price_unit # Beyond qty_done we need to calculate the average of the price_unit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment