[IMP] sale: Allow to set a default value on the SO based on the Sales Team

As the different sales teams might have different sales workflows, this will allow the user to define the shipping policy based on the sales team.
This will be particularly useful to differentiate the workflows of e-commerce sales and usual sales.
This commit is contained in:
Commandant Custo
2014-08-27 14:05:01 +02:00
committed by Martin Trigaux
parent be77054a7c
commit dd4a7213b0
+1 -1
View File
@@ -235,7 +235,7 @@ class sale_order(osv.osv):
'payment_term': fields.many2one('account.payment.term', 'Payment Term'),
'fiscal_position': fields.many2one('account.fiscal.position', 'Fiscal Position'),
'company_id': fields.many2one('res.company', 'Company'),
'section_id': fields.many2one('crm.case.section', 'Sales Team'),
'section_id': fields.many2one('crm.case.section', 'Sales Team', change_default=True),
'procurement_group_id': fields.many2one('procurement.group', 'Procurement group', copy=False),
}