İçereği Atla
Menü
Bu soru işaretlendi
2352 Görünümler

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Nis 22
18364
3
Ara 23
4698
0
Ara 22
2231
0
Tem 20
3494
2
Ara 19
7309