diff --git a/modules/account_invoice_defer/account.py b/modules/account_invoice_defer/account.py index dc7121ca98..261c35cfeb 100644 --- a/modules/account_invoice_defer/account.py +++ b/modules/account_invoice_defer/account.py @@ -420,7 +420,9 @@ class Period(metaclass=PoolMeta): @classmethod def close(cls, periods): for period in periods: - period.check_invoice_deferred_running() + if period.type == 'standard': + # Invoice deferred creates moves only on standard period + period.check_invoice_deferred_running() super().close(periods) def check_invoice_deferred_running(self):