Hello,

yes i am sure that deleting the default function has no impact on anything else.

and project_name passed in context instead of project_id in task because of 
this line.

"<field name="project_id" context="{'project_id':self}">" in project task 
search view.
this was used in '_read_group_user_id()' and '_read_group_type_id()' 
function.this both function call 
"_resolve_project_id_from_context()" which check context value of project_id 
and return id of project based on the value of 'project_id'.
if i will call  "_resolve_project_id_from_context()" in  _default_project() 
function this problem will be solved but that is not correct solution.so i 
think better to remove default_project function.

correct me if i am wrong.


Thanks
Atul
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-898113-atp/+merge/87074
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-898113-atp.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to