Avoid confusion between payment mode and payment method

This commit is contained in:
Stéphane Bidoul (ACSONE)
2016-06-14 19:05:10 +02:00
committed by Enric Tobella
parent efdb8cba03
commit aa0aced0cb

View File

@@ -18,7 +18,7 @@ class AccountPaymentOrder(models.Model):
name = fields.Char(
string='Number', readonly=True, copy=False) # v8 field : name
payment_mode_id = fields.Many2one(
'account.payment.mode', 'Payment Method', required=True,
'account.payment.mode', 'Payment Mode', required=True,
ondelete='restrict', track_visibility='onchange',
readonly=True, states={'draft': [('readonly', False)]})
payment_type = fields.Selection([