Force also template type to service
issue3807 review4791002
This commit is contained in:
1 parent
b67f7ee052
commit
12d7072e9b
1 file changed
+1
@@ -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'),
|
||||
|
||||
Reference in new issue
Block a user