Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
How can I create a new variable like employee,contract,rules,..in salary rule ? I want to create a new variable for hr.timesheet .
How can i get the total working hours from "my current timesheet" to salary rule to calculate the employee payslip.
In salary rule I only see the below variables. there is no variable available for timesheet
# Available variables:
# payslip: object containing the payslips
# employee: hr.employee object
# contract: hr.contract object
# rules: object containing the rules code (previously computed)
# categories: object containing the computed salary rule categories (sum of amount of all rules belonging to that category).
# worked_days: object containing the computed worked days.
# inputs: object containing the computed inputs.
did i can create a new variable for the timesheet object ??
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 11/10/14, 6:12 AM|
|Seen: 991 times|
|Last updated: 3/16/15, 8:10 AM|