This commit is contained in:
2026-01-30 07:27:45 +01:00
parent 3eedc0b30e
commit d9cb2b7961
2 changed files with 22 additions and 2 deletions

View File

@@ -2031,6 +2031,9 @@ class Invoice(Workflow, ModelSQL, ModelView, TaxableMixin, InvoiceReportMixin):
var_qt = sum([i.quantity for i in gl])
logger.info("LOT_TO_PROCESS:%s",lot)
logger.info("FEE_TO_PROCESS:%s",gl[0].fee)
if (gl[0].fee and not gl[0].product.landed_cost):
account_move = gl[0].fee._get_account_move_fee(lot,'in',gl[0].fee.get_non_cog(lot))
Move.save([account_move])
if (lot and not gl[0].fee) or (gl[0].fee and gl[0].product.landed_cost):
adjust_move_lines = []
mov = None