Skip to content
Snippets Groups Projects
Commit 4a185eb4 authored by Fabien Pinckaers's avatar Fabien Pinckaers
Browse files

[IMP] store true on res.partner.address company_id

bzr revid: fp@tinyerp.com-20091228134939-srhlfju42myflysy
parent b7f4b74d
Branches
Tags
No related merge requests found
......@@ -295,7 +295,7 @@ class res_partner_address(osv.osv):
'mobile': fields.char('Mobile', size=64),
'birthdate': fields.char('Birthdate', size=64),
'active': fields.boolean('Active', help="Uncheck the active field to hide the contact."),
'company_id': fields.related('partner_id','company_id',type='many2one',relation='res.company',string='Company'),
'company_id': fields.related('partner_id','company_id',type='many2one',relation='res.company',string='Company', store=True),
}
_defaults = {
'active': lambda *a: 1,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment