openerp-community-reviewer team mailing list archive
-
openerp-community-reviewer team
-
Mailing list archive
-
Message #06607
Re: [Merge] lp:~jb.eficent/department-mgmt/department-mgmt-bugfixes_analytic into lp:department-mgmt
Review: Needs Information code review + test
Hi,
As suggested in the MP related to task's department (https://code.launchpad.net/~camptocamp/department-mgmt/add-dep-on-project-task-jge/+merge/217068) I think we have 2 important informations in analytic line,.
* The first one is the user's employee related department
* The second is the analytic account's related department
Both information are valuable, depending on what you want to know. In my use case, the department_id of the line is fulfill by the employee's department through timesheet lines mostely.
I suggest here a way of dealing with this, basically:
* department_id is the user's related department, given by a default value calling _get_department
* A new field called account_department_id is a field.related on the analytic account department_id
* Adapt all search, group and tree view
Here is my proposal:
https://code.launchpad.net/~camptocamp/department-mgmt/add-account-department-fix-default-anyltic-jge/+merge/218807
So, I mark "needs infos".
Regards,
Joël
--
https://code.launchpad.net/~jb.eficent/department-mgmt/department-mgmt-bugfixes_analytic/+merge/212299
Your team Department Core Editors is subscribed to branch lp:department-mgmt.
References