Merge lp:~openerp-dev/openobject-addons/trunk-bug-1021130-amp into lp:openobject-addons
Proposed by
Amit Parik
Status: | Rejected |
---|---|
Rejected by: | Fabien (Open ERP) |
Proposed branch: | lp:~openerp-dev/openobject-addons/trunk-bug-1021130-amp |
Merge into: | lp:openobject-addons |
Diff against target: |
27 lines (+1/-9) 1 file modified
hr_payroll/hr_payroll.py (+1/-9) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-1021130-amp |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Fabien (Open ERP) | Disapprove | ||
Review via email:
|
Description of the change
Hello,
Fixes the copy method problem on this branch.
Salary structure has a 'rule_ids" m2m field, but we have written a copy method before adding this m2m field, that's why when we have duplicating "Salary Structure" it gives a traceback.
This fix will solve this problem. But this should be also fix form server side when we have inherit the object which have already defined the copy method then this type of traceback will generated. I will post this bug on server side too.
Thank you!
To post a comment you must log in.
Unmerged revisions
- 7009. By Amit Parik
-
[FIX] hr_payroll : Improved the fix
- 7008. By Amit Parik
-
[MERGE]: Merge with lp:openobject-addons
- 7007. By Amit Parik
-
[FIX] hr_payroll : Fixes the copy method problem on salary structure
you can not define the many2many field before having defined the related object.
I also don't think it's the reason of the crash.