コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
3380 ビュー

Hi there,

I'm just trying to relocate fields "type" & "list_price" in product to the right column at the very end under the EAN13 or Reference code.

"<record id="product_template_form_view" model="ir.ui.view">

<field name="name">product.template.form</field>

<field name="model">product.template</field>

<field name="arch" type="xml">

<field name="ean13" position="after">

<field name="type" string="Product Type"/>

<field name="list_price" string="Sale Price"/>

</field>

</field>

</record>"

But this won't work, can  you help me with ?

アバター
破棄
最善の回答

Try this; I am not an expert but it theway I have added new fields in a right column

<group colspan="4">

<group>

<field name="ean13" position="after">

<field name="type" string="Product Type"/>

<field name="list_price" string="Sale Price"/>

</group>

</group>

アバター
破棄
著作者

... nope, doesn't work either because there is something else wrong. record name ? I can't find where the problem is

関連投稿 返信 ビュー 活動
0
3月 17
4631
7
11月 15
14423
2
6月 25
2165
1
12月 24
2668
3
4月 24
4116