Skip to Content
Menu
This question has been flagged

Odoo 15 and prior had an Ndays magic variable that could be used to insert the number of days in a period into a custom accounting report formula, looking at the Odoo16 documentation I can't find any similar functionality. 

Is there a way to handle this? 

I have a specific and probably unusual need to compute a payroll adjustment for contractual purposes so I need to subtract actual payroll total from a nominal payroll number. The nominal payroll number is just nominal_annual_payroll*(Ndays/365), but I can't figure out how to get the Ndays equivilet in Odoo 16.

Avatar
Discard
Related Posts Replies Views Activity
0
Nov 23
1949
2
Jun 25
1095
0
Feb 24
1775
1
Feb 24
4288
0
Feb 24
2077