Public release from ruodoo-project: 19.0 - 2026-11-01 22:52:25 UTC

This commit is contained in:
CI Publish Bot
2026-11-01 22:54:30 +00:00
commit 26250aa580
2492 changed files with 664277 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import hr_payroll_payslips_by_employees

View File

@@ -0,0 +1,17 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import models
class HrPayslipEmployees(models.TransientModel):
_inherit = "hr.payslip.employees"
def compute_sheet(self):
if self.env.context.get("active_id"):
journal_id = (
self.env["hr.payslip.run"]
.browse(self.env.context.get("active_id"))
.journal_id.id
)
self = self.with_context(default_journal_id=journal_id)
return super().compute_sheet()