[FIX] learning_base: product type
This commit is contained in:
@@ -61,4 +61,7 @@ class ProductTemplate(models.Model):
|
|||||||
for record in self:
|
for record in self:
|
||||||
record.is_learning = record.detailed_type == 'learning'
|
record.is_learning = record.detailed_type == 'learning'
|
||||||
|
|
||||||
|
def _detailed_type_mapping(self):
|
||||||
|
type_mapping = super()._detailed_type_mapping()
|
||||||
|
type_mapping['learning'] = 'service'
|
||||||
|
return type_mapping
|
Reference in New Issue
Block a user