mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-18 14:12:00 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
|
|
@ -0,0 +1,20 @@
|
|||
# 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_payroll_account = fields.Boolean(string="Payroll Accounting")
|
||||
leaves_positive = fields.Boolean(
|
||||
config_parameter="payroll.leaves_positive",
|
||||
string="Leaves with positive values",
|
||||
help="Values for leaves (days and hours fields) "
|
||||
"should be positive instead of negative.",
|
||||
)
|
||||
allow_cancel_payslips = fields.Boolean(
|
||||
config_parameter="payroll.allow_cancel_payslips",
|
||||
string="Allow cancel confirmed payslips",
|
||||
help="If enabled, it allow the user to cancel confirmed payslips. Default: Not Enabled",
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue