فهرست منبع

commit inicial

Rodney Enciso Arias 8 سال پیش
والد
کامیت
7cafbeacba

+ 0 - 0
README.rst


+ 0 - 0
__init__.py


BIN
__init__.pyc


+ 0 - 0
__openerp__.py


+ 0 - 0
models/__init__.py


BIN
models/__init__.pyc


+ 0 - 0
models/product_pricelist.py


BIN
models/product_pricelist.pyc


+ 0 - 0
models/product_template.py


BIN
models/product_template.pyc


+ 0 - 0
static/description/icon.png


+ 0 - 0
views/product_pricelist.xml


+ 5 - 5
views/product_product.xml

@@ -7,15 +7,15 @@
             <field name="model">product.product</field>
             <field name="inherit_id" ref="product.product_normal_form_view"/>
             <field name="arch" type="xml">   
-                <field name="lst_price" position="after">
+                <field name="active" position="after">
                     <field name="pricelists" nolabel="1" colspan="2" context="{'product_id': active_id}">
-                        <tree string="Prices" editable="bottom" create="false" delete="false" colors="red:product_price_manual">
+                        <tree string="Precio" editable="bottom" create="false" delete="false" colors="red:product_price_manual">
                             <field name="name" readonly="1"/>
                             <field name="product_price_manual" invisible="1"/>
-                            <field name="product_price"/>
-                            <button  type="object" icon="STOCK_CLOSE"
+                            <field name="product_price" string="Precio"/>
+                            <!-- <button  type="object" icon="STOCK_CLOSE"
                                      name="remove_price_manual"
-                            />
+                            /> -->
                         </tree>
                     </field>
                 </field> 

+ 5 - 5
views/product_template.xml

@@ -7,15 +7,15 @@
             <field name="model">product.template</field>
             <field name="inherit_id" ref="product.product_template_only_form_view"/>
             <field name="arch" type="xml">
-                <field name="list_price" position="after">
+                <field name="active" position="after">
                     <field name="pricelists" nolabel="1" colspan="2" context="{'product_template_id': active_id}">
-                        <tree string="Prices" editable="bottom" create="false" delete="false" colors="red:product_price_manual">
+                        <tree string="Precio" editable="bottom" create="false" delete="false" colors="red:product_price_manual">
                             <field name="name" readonly="1"/>
                             <field name="product_price_manual" invisible="1"/>
-                            <field name="product_price"/>
-                            <button  type="object" icon="STOCK_CLOSE"
+                            <field name="product_price" string="Precio"/>
+                            <!-- <button  type="object" icon="STOCK_CLOSE"
                                      name="remove_price_manual"
-                            />
+                            /> -->
                         </tree>
                     </field>
                 </field>