diff options
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/account/models/account_move.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/account/models/account_move.py b/addons/account/models/account_move.py index 1fa1b0e30af..d382db1b85b 100644 --- a/addons/account/models/account_move.py +++ b/addons/account/models/account_move.py @@ -194,6 +194,7 @@ class AccountMove(models.Model): payment_reference = fields.Char(string='Payment Reference', index=True, copy=False, help="The payment reference to set on journal items.") payment_id = fields.Many2one( + index=True, comodel_name='account.payment', string="Payment", copy=False, check_company=True) statement_line_id = fields.Many2one( |
