Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2342 Zobrazení

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
dub 22
18364
3
pro 23
4688
0
pro 22
2220
0
čvc 20
3474
2
pro 19
7298