Force also template type to service

issue3807
review4791002
This commit is contained in:
Cédric Krier committed 2014-03-31 19:06:14 +02:00
1 parent b67f7ee052
commit 12d7072e9b
1 file changed
+1
+1
View File
@@ -15,6 +15,7 @@ class Carrier(ModelSQL, ModelView):
carrier_product = fields.Many2One('product.product', 'Carrier Product',
required=True, domain=[
('type', '=', 'service'),
('template.type', '=', 'service'),
])
carrier_cost_method = fields.Selection([
('product', 'Product Price'),