Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2244 Tampilan

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Apr 22
18364
3
Des 23
4535
0
Des 22
2147
0
Jul 20
3395
2
Des 19
7188