CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Hi Everyone !
I am creating a salary rule which includes an input field , as I create the rule having python code like (inputs.FSAL.amount), but when I generate a payslip for the same salary rule this input field is not showing on the payslip. Is it here any error in the rule for input or something else.
Thanks in advance
It's really hard to understand your problem based on information your provided but I would try to answer which steps you need to take care,
- configure Amount Type = Python Code in your salary rule, code should be, result = inputs.yourcode.amount
- 'yourcode' should be configured in field Code in the list of Inputs on the same salary rule
- add this salary rule in your salary structure
- once you create any payslip and choose employee, you will see that the Other Inputs list on payslip is auto populated and you can enter Amount.
About This Community
Odoo Training Center
|Asked: 8/24/16, 2:46 AM|
|Seen: 1644 times|
|Last updated: 8/30/16, 10:32 AM|