The field module_account_accountant is called "Account" in account module but was changed to "Account Accountant" in hr_payroll, making the source of a translated record to change based on the module installed (which can lead to confused translators or broken universes) Terms export was unified at #34296 closes odoo/odoo#34298 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
14 lines
502 B
Python
14 lines
502 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class ResConfigSettings(models.TransientModel):
|
|
_inherit = 'res.config.settings'
|
|
|
|
module_account_accountant = fields.Boolean(string='Account')
|
|
module_l10n_fr_hr_payroll = fields.Boolean(string='French Payroll')
|
|
module_l10n_be_hr_payroll = fields.Boolean(string='Belgium Payroll')
|
|
module_l10n_in_hr_payroll = fields.Boolean(string='Indian Payroll')
|