跳至內容
選單
此問題已被標幟
2362 瀏覽次數

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
4月 22
18364
3
12月 23
4711
0
12月 22
2249
0
7月 20
3506
2
12月 19
7330