Skip to content

Commit

Permalink
Merge PR OCA#970 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by dhongu
  • Loading branch information
OCA-git-bot committed May 20, 2024
2 parents afad5c6 + 32763da commit a1fad1c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions l10n_ro_stock_account_tracking/models/product_product.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,10 @@ def _run_fifo_vacuum(self, company=None):
if not self.env["res.company"]._check_is_l10n_ro_record(company.id):
return super()._run_fifo_vacuum(company)

for product in self:
product._l10n_ro_run_fifo_vacuum(company)

def _l10n_ro_run_fifo_vacuum(self, company=None):
self.ensure_one()
svls_to_vacuum = (
self.env["stock.valuation.layer"]
Expand Down

0 comments on commit a1fad1c

Please sign in to comment.