Skip to content

Commit

Permalink
[FIX] account_check_printing: allow users to configure check layout
Browse files Browse the repository at this point in the history
52a8ed3 made related fields readonly by default. 3f4f77f
attempted to identify all fields that needed readonly=False but missed
this one.

closes odoo#28343
  • Loading branch information
jorenvo committed Nov 1, 2018
1 parent f590b15 commit 5ae32d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class ResConfigSettings(models.TransientModel):
_inherit = 'res.config.settings'

country_code = fields.Char(string="Company Country code", related='company_id.country_id.code', readonly=True)
account_check_printing_layout = fields.Selection(related='company_id.account_check_printing_layout', string="Check Layout",
account_check_printing_layout = fields.Selection(related='company_id.account_check_printing_layout', string="Check Layout", readonly=False,
help="Select the format corresponding to the check paper you will be printing your checks on.\n"
"In order to disable the printing feature, select 'None'.")
account_check_printing_date_label = fields.Boolean(related='company_id.account_check_printing_date_label', string="Print Date Label", readonly=False,
Expand Down

0 comments on commit 5ae32d6

Please sign in to comment.