Odoo Help


This community 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.


How to write as devault value, value of company_id?

bogdan baltatu
on 10/10/13, 6:48 AM 452 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.

Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)


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