Merge lp:~vauxoo/addons-vauxoo/7.0-add_module_generic_prl-dev-yani into lp:addons-vauxoo/7.0

Proposed by Yanina Aular (Vauxoo)
Status: Merged
Merged at revision: 1022
Proposed branch: lp:~vauxoo/addons-vauxoo/7.0-add_module_generic_prl-dev-yani
Merge into: lp:addons-vauxoo/7.0
Diff against target: 224 lines (+176/-0)
5 files modified
purchase_requisition_line_view/__init__.py (+27/-0)
purchase_requisition_line_view/__openerp__.py (+48/-0)
purchase_requisition_line_view/model/__init__.py (+25/-0)
purchase_requisition_line_view/view/purchase_requisition_line_view.xml (+51/-0)
purchase_requisition_line_view/wizard/__init__.py (+25/-0)
To merge this branch: bzr merge lp:~vauxoo/addons-vauxoo/7.0-add_module_generic_prl-dev-yani
Reviewer Review Type Date Requested Status
Yanina Aular (Vauxoo) Pending
Review via email: mp+221462@code.launchpad.net

Description of the change

generic view for purchase requisition line

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory 'purchase_requisition_line_view'
2=== added file 'purchase_requisition_line_view/__init__.py'
3--- purchase_requisition_line_view/__init__.py 1970-01-01 00:00:00 +0000
4+++ purchase_requisition_line_view/__init__.py 2014-05-29 21:36:27 +0000
5@@ -0,0 +1,27 @@
6+#!/usr/bin/python
7+# -*- encoding: utf-8 -*-
8+###############################################################################
9+# Module Writen to OpenERP, Open Source Management Solution
10+# Copyright (C) OpenERP Venezuela (<http://www.vauxoo.com>).
11+# All Rights Reserved
12+############# Credits #########################################################
13+# Coded by: Yanina Aular <yani@vauxoo.com>
14+# Planified by: Humberto Arocha <hbto@vauxoo.com>
15+# Audited by: Humberto Arocha <hbto@vauxoo.com>
16+###############################################################################
17+# This program is free software: you can redistribute it and/or modify
18+# it under the terms of the GNU Affero General Public License as published
19+# by the Free Software Foundation, either version 3 of the License, or
20+# (at your option) any later version.
21+#
22+# This program is distributed in the hope that it will be useful,
23+# but WITHOUT ANY WARRANTY; without even the implied warranty of
24+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25+# GNU Affero General Public License for more details.
26+#
27+# You should have received a copy of the GNU Affero General Public License
28+# along with this program. If not, see <http://www.gnu.org/licenses/>.
29+###############################################################################
30+
31+import model
32+import wizard
33
34=== added file 'purchase_requisition_line_view/__openerp__.py'
35--- purchase_requisition_line_view/__openerp__.py 1970-01-01 00:00:00 +0000
36+++ purchase_requisition_line_view/__openerp__.py 2014-05-29 21:36:27 +0000
37@@ -0,0 +1,48 @@
38+#!/usr/bin/python
39+# -*- encoding: utf-8 -*-
40+###############################################################################
41+# Module Writen to OpenERP, Open Source Management Solution
42+# Copyright (C) OpenERP Venezuela (<http://www.vauxoo.com>).
43+# All Rights Reserved
44+############# Credits #########################################################
45+# Coded by: Yanina Aular <yani@vauxoo.com>
46+# Planified by: Humberto Arocha <hbto@vauxoo.com>
47+# Audited by: Humberto Arocha <hbto@vauxoo.com>
48+###############################################################################
49+# This program is free software: you can redistribute it and/or modify
50+# it under the terms of the GNU Affero General Public License as published
51+# by the Free Software Foundation, either version 3 of the License, or
52+# (at your option) any later version.
53+#
54+# This program is distributed in the hope that it will be useful,
55+# but WITHOUT ANY WARRANTY; without even the implied warranty of
56+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
57+# GNU Affero General Public License for more details.
58+#
59+# You should have received a copy of the GNU Affero General Public License
60+# along with this program. If not, see <http://www.gnu.org/licenses/>.
61+###############################################################################
62+
63+{
64+ 'name': 'Purchase Requisition Line View',
65+ 'version': '1.0',
66+ 'author': 'Vauxoo',
67+ 'website': 'http://www.vauxoo.com/',
68+ 'category': '',
69+ 'description': '''
70+ This module to add a form view and tree view for purchase requisition line model.
71+''',
72+ 'depends': [
73+ 'purchase_requisition',
74+ ],
75+ 'data': [
76+ 'view/purchase_requisition_line_view.xml',
77+ ],
78+ 'demo': [],
79+ 'test': [],
80+ 'qweb': [],
81+ 'js': [],
82+ 'css': [],
83+ 'active': False,
84+ 'installable': True,
85+}
86
87=== added directory 'purchase_requisition_line_view/data'
88=== added directory 'purchase_requisition_line_view/demo'
89=== added directory 'purchase_requisition_line_view/doc'
90=== added directory 'purchase_requisition_line_view/doc/images'
91=== added directory 'purchase_requisition_line_view/i18n'
92=== added directory 'purchase_requisition_line_view/model'
93=== added file 'purchase_requisition_line_view/model/__init__.py'
94--- purchase_requisition_line_view/model/__init__.py 1970-01-01 00:00:00 +0000
95+++ purchase_requisition_line_view/model/__init__.py 2014-05-29 21:36:27 +0000
96@@ -0,0 +1,25 @@
97+#!/usr/bin/python
98+# -*- encoding: utf-8 -*-
99+###############################################################################
100+# Module Writen to OpenERP, Open Source Management Solution
101+# Copyright (C) OpenERP Venezuela (<http://www.vauxoo.com>).
102+# All Rights Reserved
103+############# Credits #########################################################
104+# Coded by: Yanina Aular <yani@vauxoo.com>
105+# Planified by: Humberto Arocha <hbto@vauxoo.com>
106+# Audited by: Humberto Arocha <hbto@vauxoo.com>
107+###############################################################################
108+# This program is free software: you can redistribute it and/or modify
109+# it under the terms of the GNU Affero General Public License as published
110+# by the Free Software Foundation, either version 3 of the License, or
111+# (at your option) any later version.
112+#
113+# This program is distributed in the hope that it will be useful,
114+# but WITHOUT ANY WARRANTY; without even the implied warranty of
115+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
116+# GNU Affero General Public License for more details.
117+#
118+# You should have received a copy of the GNU Affero General Public License
119+# along with this program. If not, see <http://www.gnu.org/licenses/>.
120+###############################################################################
121+
122
123=== added directory 'purchase_requisition_line_view/report'
124=== added directory 'purchase_requisition_line_view/security'
125=== added directory 'purchase_requisition_line_view/static'
126=== added directory 'purchase_requisition_line_view/static/description'
127=== added file 'purchase_requisition_line_view/static/description/index.html'
128=== added directory 'purchase_requisition_line_view/static/src'
129=== added directory 'purchase_requisition_line_view/static/src/css'
130=== added directory 'purchase_requisition_line_view/static/src/img'
131=== added file 'purchase_requisition_line_view/static/src/img/icon.png'
132Binary files purchase_requisition_line_view/static/src/img/icon.png 1970-01-01 00:00:00 +0000 and purchase_requisition_line_view/static/src/img/icon.png 2014-05-29 21:36:27 +0000 differ
133=== added directory 'purchase_requisition_line_view/static/src/js'
134=== added directory 'purchase_requisition_line_view/static/src/xml'
135=== added directory 'purchase_requisition_line_view/test'
136=== added directory 'purchase_requisition_line_view/view'
137=== added file 'purchase_requisition_line_view/view/purchase_requisition_line_view.xml'
138--- purchase_requisition_line_view/view/purchase_requisition_line_view.xml 1970-01-01 00:00:00 +0000
139+++ purchase_requisition_line_view/view/purchase_requisition_line_view.xml 2014-05-29 21:36:27 +0000
140@@ -0,0 +1,51 @@
141+<?xml version="1.0"?>
142+<openerp>
143+ <data>
144+
145+ <record model="ir.ui.view" id="view_purchase_requisition_line_form">
146+ <field name="name">purchase.requisition.line.form</field>
147+ <field name="model">purchase.requisition.line</field>
148+ <field name="arch" type="xml">
149+ <form string="Purchase Requisition Line" version="7.0">
150+ <sheet>
151+ <group>
152+ <field name="product_id" />
153+ <field name="product_qty"/>
154+ <field name="product_uom_id" />
155+ <field name="company_id" groups="base.group_multi_company" widget="selection"/>
156+ </group>
157+ </sheet>
158+ </form>
159+ </field>
160+ </record>
161+
162+ <record model="ir.ui.view" id="view_purchase_requisition_line_tree">
163+ <field name="name">purchase.requisition.line.tree</field>
164+ <field name="model">purchase.requisition.line</field>
165+ <field name="arch" type="xml">
166+ <tree string="Products">
167+ <field name="product_id" on_change="onchange_product_id(product_id,product_uom_id)"/>
168+ <field name="product_qty"/>
169+ <field name="product_uom_id" groups="product.group_uom"/>
170+ </tree>
171+ </field>
172+ </record>
173+
174+ <!--
175+ <record model="ir.actions.act_window" id="action_purchase_requisition_line">
176+ <field name="name">Purchase Requisitions Line</field>
177+ <field name="type">ir.actions.act_window</field>
178+ <field name="res_model">purchase.requisition.line</field>
179+ <field name="view_type">form</field>
180+ <field name="view_mode">tree,form</field>
181+ </record>
182+
183+ <menuitem
184+ id="menu_purchase_requisition_pro_mgt_line"
185+ sequence="10"
186+ parent="purchase.menu_procurement_management"
187+ action="action_purchase_requisition_line"/>
188+ -->
189+
190+ </data>
191+</openerp>
192
193=== added directory 'purchase_requisition_line_view/wizard'
194=== added file 'purchase_requisition_line_view/wizard/__init__.py'
195--- purchase_requisition_line_view/wizard/__init__.py 1970-01-01 00:00:00 +0000
196+++ purchase_requisition_line_view/wizard/__init__.py 2014-05-29 21:36:27 +0000
197@@ -0,0 +1,25 @@
198+#!/usr/bin/python
199+# -*- encoding: utf-8 -*-
200+###############################################################################
201+# Module Writen to OpenERP, Open Source Management Solution
202+# Copyright (C) OpenERP Venezuela (<http://www.vauxoo.com>).
203+# All Rights Reserved
204+############# Credits #########################################################
205+# Coded by: Yanina Aular <yani@vauxoo.com>
206+# Planified by: Humberto Arocha <hbto@vauxoo.com>
207+# Audited by: Humberto Arocha <hbto@vauxoo.com>
208+###############################################################################
209+# This program is free software: you can redistribute it and/or modify
210+# it under the terms of the GNU Affero General Public License as published
211+# by the Free Software Foundation, either version 3 of the License, or
212+# (at your option) any later version.
213+#
214+# This program is distributed in the hope that it will be useful,
215+# but WITHOUT ANY WARRANTY; without even the implied warranty of
216+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
217+# GNU Affero General Public License for more details.
218+#
219+# You should have received a copy of the GNU Affero General Public License
220+# along with this program. If not, see <http://www.gnu.org/licenses/>.
221+###############################################################################
222+
223
224=== added directory 'purchase_requisition_line_view/workflow'