[IMP] Improve default_section_id.
bzr revid: vba@tinyerp.com-20121121105007-8i3en0t0retn27nz
This commit is contained in:
parent
66fd491407
commit
81b9e073ee
|
@ -46,6 +46,14 @@ class sale_order(osv.osv):
|
|||
|
||||
sale_order()
|
||||
|
||||
class res_users(osv.Model):
|
||||
_inherit = 'res.partner'
|
||||
|
||||
_columns = {
|
||||
'default_section_id': fields.many2one('crm.case.section', 'Default Sales Team'),
|
||||
}
|
||||
|
||||
res_users()
|
||||
|
||||
class account_invoice(osv.osv):
|
||||
_inherit = 'account.invoice'
|
||||
|
@ -69,14 +77,4 @@ class account_invoice(osv.osv):
|
|||
|
||||
account_invoice()
|
||||
|
||||
|
||||
class res_users(osv.Model):
|
||||
_inherit = 'res.partner'
|
||||
|
||||
_columns = {
|
||||
'default_section_id': fields.many2one('crm.case.section', 'Default Sales Team'),
|
||||
}
|
||||
|
||||
res_users()
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
|
|
Loading…
Reference in New Issue