minor fix AdditionalIncome

This commit is contained in:
Elvis 2023-06-02 09:15:28 -05:00
parent d441b31ba8
commit f8b5f95c8d
1 changed files with 2 additions and 1 deletions

View File

@ -310,7 +310,8 @@ class AdditionalIncome(ModelSQL, ModelView):
statement = fields.Many2One('account.statement', 'Statement')
description = fields.Char('Description')
party = fields.Many2One('party.party', 'Party')
amount = fields.Numeric('Amount', digits=(16, 2))
amount = fields.Numeric('Amount', digits=(16, 2), states={
'required': True})
class OpenStatementStart(ModelView):