Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2100 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
apr 22
18364
3
dic 23
4239
0
dic 22
1960
0
lug 20
3276
2
dic 19
7038