[IMP] Invoice credit control policy field is now readonly

This commit is contained in:
Nicolas Bessi
2014-04-29 13:39:18 +02:00
parent 8cdf59c171
commit 210c148780

View File

@@ -55,7 +55,8 @@ class AccountInvoice(orm.Model):
help=("The Credit Control Policy used for this "
"invoice. If nothing is defined, it will "
"use the account setting or the partner "
"setting.")
"setting."),
readonly=True,
),
'credit_control_line_ids':
fields.one2many('credit.control.line',