Skip to Content
Menu
This question has been flagged
2350 Rodiniai

I am trying to set a default value for product.template type (Product Type) and set it to "product".  I am using the following code in an xml file:




model="ir.default" name="set"
eval="('product.template', 'type', '"product"')"/>

In my manifest file I have reference this data file:

    'depends': ['base', 'sale'],
'data': [
'views/edc_training.xml',
'data/edc_ir_default.xml'
],

yet when I push the changes and upgrade the module, no record is added.  What am I missing to make this work?

Running v14 on .sh

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
bal. 22
18364
3
gruod. 23
4697
0
gruod. 22
2230
0
liep. 20
3493
2
gruod. 19
7307