[BUG/FIX] lp:732518 sale_crm : Covert to Quote shoud show only list of Customers
lp bug: https://launchpad.net/bugs/732518 fixed bzr revid: jam@tinyerp.com-20110311125535-l3trf4ykjpn48qax
This commit is contained in:
parent
a0cc38df3b
commit
50fd414738
|
@ -142,7 +142,7 @@ class crm_make_sale(osv.osv_memory):
|
|||
|
||||
_columns = {
|
||||
'shop_id': fields.many2one('sale.shop', 'Shop', required=True),
|
||||
'partner_id': fields.many2one('res.partner', 'Customer', required=True),
|
||||
'partner_id': fields.many2one('res.partner', 'Customer', required=True, domain=[('customer','=',True)]),
|
||||
'close': fields.boolean('Close Opportunity', help='Check this to close the opportunity after having created the sale order.'),
|
||||
}
|
||||
_defaults = {
|
||||
|
|
Loading…
Reference in New Issue