Repository navigation
Conversation
Assisted-by: OpenAI Codex
|
Thank you for this one, it is a small and well-placed seam. Resolving the monthly amount once inside the existing monthly branch of What we ran: a fresh Odoo 19 Community database with OCA One change we would like before we port it, and two small things on the docs side. 1. The pravdepodobný zárobok fallback still reads the contract wage. For completeness, the other places we checked do agree with BASIC: the minimum-wage top-up in the surcharges module compares 2. The user-facing paragraph sits at the top of the page. The new paragraph in 3. Two notes for Small things: the CHANGELOG entry should also get a line under Carry-over to 18.0 (on 18.0 the contract is Verdict: changes needed, all small. With point 1 and its test it is ready to port; points 2 and 3 are docs and we are happy to fold them in on our side if you prefer. |
Keep sufficient-quarter averages historical, cover real holiday compensation in both routes, and document the pure OCA seam. Leave generated pages for the maintainer generator. Assisted-by: OpenAI Codex
|
Addressed in 93bbfe1. The insufficient-quarter probable-earnings fallback now uses the same monthly wage input. A real five-day holiday with contract 2000 and supplied 2500 gives BASIC 1931.82, compensation 568.18 and GROSS 2500. A second test retains the sufficient-quarter historical average and compensation 454.54. Fresh Community regression with sk_SK and the declaration/surcharge modules: 338 tests, 0 failures, 0 errors, actual exit 0. The contract remains unchanged. Version and verified markers are 19.0.1.26.1 for the ordering after #48. Developer notes cover repeated pure calls, dated segments and OCA-only scope. The integration paragraph is removed from both user pages; generated README edits are reverted. Carry-over to 18.0 includes the fallback. Please regenerate the pages with your generator when porting. |
|
Thank you, verified: the fallback now uses the supplied wage. Merged into our 19.0 as 49a8dcf6. Your commits were squashed into one under your name (68ae2240), because the series met #48's version and documentation changes and your branch's changelog predated #48's release section. The code, tests and DEVELOPER.md are byte-identical to your head; the changelog entry, the 19.0.1.26.1 version and the carry-over line were written onto the current file. On top of it (c2957cc5): pages regenerated. 284/284 with sk_SK loaded (OCA, surcharges, MVP, VPP, parity). The change reaches this repository with the next sync. Closing here. |
6 source commit(s) since c9b9b201, 4 of which changed a module here. * [FIX] l10n_sk_vehicle_tax: keep test imports out of production startup acda30bb — l10n_sk_vehicle_tax The module's __init__ imported its tests package, so a normal server start loaded the test framework and logged an ERROR even with testing disabled. The business entrypoint now loads the models only; Odoo's native test loader still discovers the suite. * [IMP] l10n_sk_vehicle_tax: release section and pages as in cssk-public #52 5de3907f — l10n_sk_vehicle_tax The fix becomes the dated 19.0.1.0.1 release, in English like the rest of the changelog; the startup note moves out of the user pages (it is about how the module is loaded, not about filing); pages regenerated. * [IMP] l10n_sk_hr_payroll_oca: cooperative monthly cash wage input 68ae2240 — l10n_sk_hr_payroll_oca _l10n_sk_monthly_cash_wage(contract), defaulting to the contract wage, is resolved once in the monthly branch of BASIC, so an integration can supply a payslip-specific monthly amount without editing the contract; proration, insurance and tax follow it, hourly pay is unchanged. The § 134 ods. 3 probable-earnings fallback uses the same amount, so holiday and obstacle pay keep GROSS whole. * [IMP] l10n_sk_hr_payroll_oca: pages as in cssk-public #49 c2957cc5 — l10n_sk_hr_payroll_oca 207 modules in this repository. Co-authored-by: votrelec <votrelec@users.noreply.github.com>
Provide a cooperative monthly wage input for OCA payslips. BASIC resolves it inside the monthly branch before the existing calendar and absence proration; probable hourly earnings use the same amount when the determining quarter has insufficient worked time. A qualifying quarter keeps its historical average, and hourly pay retains its own calculation.
Default behavior reads the native contract wage. Integrations own the review and evidence for their supplied amount and implement a pure hook of the payslip and supplied contract, including repeated calls for dated segments. This is an OCA seam; Enterprise has a different paid-amount producer.
Validated on fresh Odoo 19 Community with stock OCA payroll, sk_SK and the declaration/surcharge modules: 338 tests, 0 failures, 0 errors, actual exit 0. Includes native insurance/tax/NET, proration, hourly pay and real holiday compensation with both probable and actual-quarter averages. Version 19.0.1.26.1 follows #48. Source documentation is updated; generated pages remain for the maintainer's generator.