deisy 6 年之前
父節點
當前提交
3430aba2a1
共有 3 個文件被更改,包括 25 次插入2 次删除
  1. 二進制
      __init__.pyc
  2. 3 2
      __openerp__.py
  3. 22 0
      product_template.xml

二進制
__init__.pyc


+ 3 - 2
__openerp__.py

@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 # -*- coding: utf-8 -*-
 {
 {
-    'name': 'Cuztomización para Cemobo',
+    'name': 'Customización para Cemobo',
     'version': '1.0',
     'version': '1.0',
     'description': """
     'description': """
 
 
@@ -8,9 +8,10 @@
 
 
 	""",
 	""",
     'author': 'Deisy Samudio',
     'author': 'Deisy Samudio',
-    'depends': ['account', 'base', 'account_voucher'],
+    'depends': ['account', 'base', 'account_voucher','product'],
     'data': [
     'data': [
         'custom_cemobo.xml',
         'custom_cemobo.xml',
+        'product_template.xml',
     ],
     ],
     'installable': True,
     'installable': True,
     'auto_install': False,
     'auto_install': False,

+ 22 - 0
product_template.xml

@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<openerp>
+	<data>
+    <record id="product_template_tree_view_cemobo" model="ir.ui.view">
+			<field name="name">product_template_tree_view_cemobo</field>
+			<field name="model">product.template</field>
+			<field name="inherit_id" ref="product.product_template_tree_view"/>
+			<field name="arch" type="xml">
+				<!-- tree -->
+         <tree string="Product" position="replace">
+        <tree string="Product">
+                    <field name="name"/>
+                    <field name="default_code"/>
+                    <field name="qty_available"/>
+                    <field name="standard_price"/>
+                    <field name="lst_price"/>
+                </tree>
+            </tree>
+			</field>
+		</record>
+  </data>
+</openerp>