Skip to content

Odoo leave salary rules#1

Draft
KalpeshGajera wants to merge 1 commit intomasterfrom
cursor/odoo-leave-salary-rules-6fd0
Draft

Odoo leave salary rules#1
KalpeshGajera wants to merge 1 commit intomasterfrom
cursor/odoo-leave-salary-rules-6fd0

Conversation

@KalpeshGajera
Copy link
Copy Markdown
Owner

Adds an Odoo module to implement custom leave salary calculation rules based on employee collar type, leave entitlement, and company car status.

This module introduces new contract fields (x_collar_type, x_annual_leave_entitlement, x_has_company_car) to categorize employees. It defines separate salary structures and rules for white-collar (standard and company car) and blue-collar employees, handling both short leave (included in payroll) and long leave (settlement advance) based on specified day thresholds and calculation percentages (90% for white-collar total salary, 100% for blue-collar basic salary).


Open in Cursor Open in Web

This commit introduces a new module for handling leave salary calculations. It includes configurations for white and blue-collar employees, leave settlement, and short leave scenarios. The module also adds new fields to the hr.contract model to support these rules.

Co-authored-by: jigar <jigar@techsprintglobal.com>
@cursor
Copy link
Copy Markdown

cursor Bot commented Dec 18, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants