Odoo Help


How to write as devault value, value of company_id?

bogdan baltatu
on 10/10/13, 6:48 AM 701 views

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.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 10/10/13, 6:48 AM
Seen: 701 times
Last updated: 3/16/15, 8:10 AM