add app_inv

This commit is contained in:
ivan deng
2018-03-12 09:56:41 +08:00
parent 3a7f671d09
commit 22d183033c
13 changed files with 341 additions and 6 deletions

View File

@@ -21,12 +21,12 @@
"version": "10.0.1",
"author": "Sunpop.cn",
"website": "http://www.sunpop.cn",
"category": "Purchase Management",
"category": "Purchases",
"depends": ["purchase"],
"license": "AGPL-3",
'sequence': 3,
"data": [
"views/purchase_order_view.xml",
"views/stock_picking_views.xml",
],
'images': ['static/description/set1.jpg'],
'installable': True,

View File

@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="purchase_order_form" model="ir.ui.view">
<field name="name">purchase.order.form</field>
<record id="app_purchase_order_form" model="ir.ui.view">
<field name="name">app.purchase.order.form</field>
<field name="model">purchase.order</field>
<field name="inherit_id" ref="purchase.purchase_order_form"/>
<field name="arch" type="xml">
@@ -12,8 +12,8 @@
</field>
</record>
<record id="purchase_order_line_tree" model="ir.ui.view">
<field name="name">purchase.order.line.tree</field>
<record id="app_purchase_order_line_tree" model="ir.ui.view">
<field name="name">app.purchase.order.line.tree</field>
<field name="model">purchase.order.line</field>
<field name="inherit_id" ref="purchase.purchase_order_line_tree"/>
<field name="arch" type="xml">