Przeglądaj źródła

Ajustes se le agregó el método de costo en producto

sebastian 5 lat temu
rodzic
commit
8acd12c7b6
2 zmienionych plików z 9 dodań i 0 usunięć
  1. BIN
      __init__.pyc
  2. 9 0
      views/product_template.xml

BIN
__init__.pyc


+ 9 - 0
views/product_template.xml

@@ -6,11 +6,20 @@
             <field name="model">product.template</field>
             <field name="inherit_id" ref="product.product_template_only_form_view" />
             <field name="arch" type="xml">
+                <field name="standard_price" position="replace">
+                </field>
+                <field name="cost_method" position="replace">
+                </field>
+                <field name="list_price" position="before">
+                    <field name="standard_price" string="Precio de Costo"/>
+                </field>
                 <field name="standard_price" position="replace">
                 </field>
                 <field name="list_price" position="before">
                     <field name="standard_price" string="Precio de Costo"/>
+                    <field name="cost_method" string="Método de Costo"/>
                 </field>
+
             </field>
         </record>
         <record id="product_template_hide" model="ir.ui.view">