Pārlūkot izejas kodu

[FIX] change tab for prices

Gogs 7 gadi atpakaļ
vecāks
revīzija
6d08d26c06
1 mainītis faili ar 3 papildinājumiem un 6 dzēšanām
  1. 3 6
      templates.xml

+ 3 - 6
templates.xml

@@ -5,12 +5,9 @@
             <field name="inherit_id" ref="product.product_template_form_view"/>
             <field name="inherit_id" ref="product.product_template_form_view"/>
             <field name="priority" eval="100"/>
             <field name="priority" eval="100"/>
             <field name="arch" type="xml">
             <field name="arch" type="xml">
-                <xpath expr="//page[@string='Sales']/group[@name='sale']" position="before">
-                    <group>
-                        <field name="list_price" string="Precio público"/>
-                        <field name="minimum_price" string="Precio mínimo"/>
-                        <field name="maximum_price" string="Precio máximo"/>
-                    </group>
+                <xpath expr="//page[@string='Information']//field[@name='list_price']" position="after">
+                    <field name="minimum_price" string="Precio mínimo" />
+                    <field name="maximum_price" string="Precio máximo" />
                 </xpath>
                 </xpath>
             </field>
             </field>
         </record>
         </record>