Add group names added by payment modules to help of statement rule

This commit is contained in:
Cédric Krier
2024-10-13 16:31:47 +02:00
parent 65d254c4c2
commit 6208cd69bd
5 changed files with 23 additions and 1 deletions
@@ -178,6 +178,15 @@ class StatementLine(metaclass=PoolMeta):
and l.payment.clearing_move.state == 'draft'])
class StatementRule(metaclass=PoolMeta):
__name__ = 'account.statement.rule'
@classmethod
def __setup__(cls):
super().__setup__()
cls.description.help += "\n'payment_group'"
class StatementRuleLine(metaclass=PoolMeta):
__name__ = 'account.statement.rule.line'