تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2347 أدوات العرض

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
أبريل 22
18364
3
ديسمبر 23
4695
0
ديسمبر 22
2227
0
يوليو 20
3486
2
ديسمبر 19
7302