res_config_settings.py 349 B

1234567891011
  1. # -*- coding: utf-8 -*-
  2. # Part of Odoo. See LICENSE file for full copyright and licensing details.
  3. from odoo import fields, models
  4. class ResConfigSettings(models.TransientModel):
  5. _inherit = 'res.config.settings'
  6. invoice_is_snailmail = fields.Boolean(string='Send by Post', related='company_id.invoice_is_snailmail', readonly=False)