Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
1488 มุมมอง

Hello Community,

   Please help me with the following python code in payroll-salary rule

   I'd like to have a monthly salary equals to (total sale amount of that month divided by a fixed amount "X") x 100% times a fixed amount "y" 

   please tell me how to define a start date and end date as well

   For example for Jan 01 2024 to Jan 31 2024, the sales amount is $10000

   The salary = (10000/X) x 100% x Y

   Thank you so much!


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,
Please go through our blog ' Advance Salary Rules Setting and Payslip Generation in Odoo 14'


https://www.cybrosys.com/blog/advance-salary-rules-setting-and-payslip-generation-in-odoo-14


Hope it helps

อวตาร
ละทิ้ง
ผู้เขียน

Thank you, but this is no instructions on python coding

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
พ.ค. 25
932
1
มี.ค. 25
1118
0
ก.พ. 25
1293
1
ธ.ค. 24
1787
0
พ.ย. 24
108