1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/hr_payroll_account/models/res_config_settings.py
2024-12-10 09:04:09 +07:00

15 lines
598 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'
batch_payroll_move_lines = fields.Boolean(
related='company_id.batch_payroll_move_lines',
string="Batch Payroll Move Lines", readonly=False,
help="Enable this option to merge all the accounting entries for the same period into a single account move line. This will anonymize the accounting entries but also disable single payment generations."
)