Merge lp:~openerp-dev/openobject-addons/trunk-bug-1090224 into lp:openobject-addons
Proposed by
Dharmang Soni (OpenERP)
Status: | Needs review |
---|---|
Proposed branch: | lp:~openerp-dev/openobject-addons/trunk-bug-1090224 |
Merge into: | lp:openobject-addons |
Diff against target: |
12 lines (+1/-1) 1 file modified
hr_holidays/hr_holidays.py (+1/-1) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-1090224 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenERP Core Team | Pending | ||
Review via email: mp+151421@code.launchpad.net |
This proposal supersedes a proposal from 2013-02-22.
Description of the change
When department of employee is changed the leave stores old department id
To post a comment you must log in.
Unmerged revisions
- 8547. By Dharmang Soni (OpenERP)
-
[MERGE] with trunk
- 8546. By Dharmang Soni (OpenERP)
-
merge with trunk
- 8545. By Dharmang Soni (OpenERP)
-
[FIX] hr_holiday : When department of employee is changed the leave stores old department id
Hi there,
I believe that for related and function fields unless you store the value in the database you cannot search or filter on it. So, in this case instead of just setting store=False it might be better to use store={...}
See here for an example: http:// doc.openerp. com/v6. 0/developer/ 2_5_Objects_ Fields_ Methods/ field_type. html#store- parameter