Hello, I want to write company_id as default value in tables: project_issue_version, project_category and project_phases. (I write a module who extend object/table) I try to write in this table with:
'company_id': lambda s,cr,uid,c: s.pool.get('res.company')._company_default_get(cr, uid, 'res.partner', context=c),
but don't work.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 10/10/13, 6:48 AM|
|Seen: 437 times|
|Last updated: 3/16/15, 8:10 AM|