Commit Graph

11 Commits

Author SHA1 Message Date
Joren Van Onder be48a1402c [FIX] hr_payroll: avoid infinite recursion
The get_recursive_parent function seemingly depended on the ordering of
the rule_categories recordset which happens to work fine in most cases
because all data first defines the parent before defining the children
rule categories. But if you happen to do it the other way around it
won't work and it will infinitely call itself because:

if rule_categories[0].parent_id:
    rule_categories = rule_categories[0].parent_id | rule_categories

won't change the value of rule_categories[0].

opw-673222 (loosely related)
2016-05-25 09:57:37 +02:00
Martin Trigaux 44dd7c5077 [FIX] hr_payroll: recursive search of salary rules
.insert() is not possible on a recordset
Generating the payslip details report with at least one payslip category
having a parent, the rendering of the report was crashing.

Closes #9778
2015-12-11 12:48:00 +01:00
Simon Lejeune babfb0f78d [IMP] hr* reports converted to qweb
bzr revid: sle@openerp.com-20140415191911-0rttsd7ayk6exm6u
2014-04-15 21:19:11 +02:00
Martin Trigaux c8c298c83c [IMP] clean permissions and shebang in files
bzr revid: mat@openerp.com-20130514103113-8idhvhokt0e8jzea
2013-05-14 12:31:13 +02:00
Vo Minh Thu e7f4891d46 [IMP] use the openerp namespace.
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-12-06 15:56:32 +01:00
Numerigraphe - Lionel Sausin 2d2a44dcf2 [FIX] unmutable default in the remaining modules
[REF] coding style consistency

lp bug: https://launchpad.net/bugs/525808 fixed

bzr revid: ls@numerigraphe.fr-20120305184003-er00xtj9vtcw7gna
2012-03-05 19:40:03 +01:00
Purnendu Singh (OpenERP) 971ffbd5cc [FIX] hr_payroll: payslip details report fails while we install hr_payroll_l10n_be module
bzr revid: psi@tinyerp.com-20110914131106-4743bpey6vtvtbxz
2011-09-14 18:41:06 +05:30
psi (Open ERP) 664fbb68d6 [IMP] hr_payroll: code improvment in details by payslip report
bzr revid: psi@tinyerp.co.in-20110602132346-x23d19p3j2ulancv
2011-06-02 18:53:46 +05:30
psi (Open ERP) abfeeabd5f [IMP] hr_payslip: improve layout and add field amount and qunatity in contribution register section on payslip details report
bzr revid: psi@tinyerp.co.in-20110531134237-ka2v0mkxa1ume0fk
2011-05-31 19:12:37 +05:30
psi (Open ERP) 59d55a993d [IMP] hr_payroll: used removeParaNode if there isn't any description on payslip
bzr revid: psi@tinyerp.co.in-20110523091029-a1doow4k02y67ax7
2011-05-23 14:40:29 +05:30
psi (Open ERP) 83a34f56c9 [IMP] split payslip report in to two. Employee payslip report will show the payslip lines appears on payslip and the payslip details report will show all the payslip line by category as well as by contribution register
bzr revid: psi@tinyerp.co.in-20110516094655-gj6qtu29b6us3lh2
2011-05-16 15:16:55 +05:30