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
=== added directory 'purchase_requisition_line_view'
=== added file 'purchase_requisition_line_view/__init__.py'
--- purchase_requisition_line_view/__init__.py 1970-01-01 00:00:00 +0000
+++ purchase_requisition_line_view/__init__.py 2014-05-29 21:36:27 +0000
@@ -0,0 +1,27 @@
1#!/usr/bin/python
2# -*- encoding: utf-8 -*-
3###############################################################################
4# Module Writen to OpenERP, Open Source Management Solution
5# Copyright (C) OpenERP Venezuela (<http://www.vauxoo.com>).
6# All Rights Reserved
7############# Credits #########################################################
8# Coded by: Yanina Aular <yani@vauxoo.com>
9# Planified by: Humberto Arocha <hbto@vauxoo.com>
10# Audited by: Humberto Arocha <hbto@vauxoo.com>
11###############################################################################
12# This program is free software: you can redistribute it and/or modify
13# it under the terms of the GNU Affero General Public License as published
14# by the Free Software Foundation, either version 3 of the License, or
15# (at your option) any later version.
16#
17# This program is distributed in the hope that it will be useful,
18# but WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20# GNU Affero General Public License for more details.
21#
22# You should have received a copy of the GNU Affero General Public License
23# along with this program. If not, see <http://www.gnu.org/licenses/>.
24###############################################################################
25
26import model
27import wizard
028
=== added file 'purchase_requisition_line_view/__openerp__.py'
--- purchase_requisition_line_view/__openerp__.py 1970-01-01 00:00:00 +0000
+++ purchase_requisition_line_view/__openerp__.py 2014-05-29 21:36:27 +0000
@@ -0,0 +1,48 @@
1#!/usr/bin/python
2# -*- encoding: utf-8 -*-
3###############################################################################
4# Module Writen to OpenERP, Open Source Management Solution
5# Copyright (C) OpenERP Venezuela (<http://www.vauxoo.com>).
6# All Rights Reserved
7############# Credits #########################################################
8# Coded by: Yanina Aular <yani@vauxoo.com>
9# Planified by: Humberto Arocha <hbto@vauxoo.com>
10# Audited by: Humberto Arocha <hbto@vauxoo.com>
11###############################################################################
12# This program is free software: you can redistribute it and/or modify
13# it under the terms of the GNU Affero General Public License as published
14# by the Free Software Foundation, either version 3 of the License, or
15# (at your option) any later version.
16#
17# This program is distributed in the hope that it will be useful,
18# but WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20# GNU Affero General Public License for more details.
21#
22# You should have received a copy of the GNU Affero General Public License
23# along with this program. If not, see <http://www.gnu.org/licenses/>.
24###############################################################################
25
26{
27 'name': 'Purchase Requisition Line View',
28 'version': '1.0',
29 'author': 'Vauxoo',
30 'website': 'http://www.vauxoo.com/',
31 'category': '',
32 'description': '''
33 This module to add a form view and tree view for purchase requisition line model.
34''',
35 'depends': [
36 'purchase_requisition',
37 ],
38 'data': [
39 'view/purchase_requisition_line_view.xml',
40 ],
41 'demo': [],
42 'test': [],
43 'qweb': [],
44 'js': [],
45 'css': [],
46 'active': False,
47 'installable': True,
48}
049
=== added directory 'purchase_requisition_line_view/data'
=== added directory 'purchase_requisition_line_view/demo'
=== added directory 'purchase_requisition_line_view/doc'
=== added directory 'purchase_requisition_line_view/doc/images'
=== added directory 'purchase_requisition_line_view/i18n'
=== added directory 'purchase_requisition_line_view/model'
=== added file 'purchase_requisition_line_view/model/__init__.py'
--- purchase_requisition_line_view/model/__init__.py 1970-01-01 00:00:00 +0000
+++ purchase_requisition_line_view/model/__init__.py 2014-05-29 21:36:27 +0000
@@ -0,0 +1,25 @@
1#!/usr/bin/python
2# -*- encoding: utf-8 -*-
3###############################################################################
4# Module Writen to OpenERP, Open Source Management Solution
5# Copyright (C) OpenERP Venezuela (<http://www.vauxoo.com>).
6# All Rights Reserved
7############# Credits #########################################################
8# Coded by: Yanina Aular <yani@vauxoo.com>
9# Planified by: Humberto Arocha <hbto@vauxoo.com>
10# Audited by: Humberto Arocha <hbto@vauxoo.com>
11###############################################################################
12# This program is free software: you can redistribute it and/or modify
13# it under the terms of the GNU Affero General Public License as published
14# by the Free Software Foundation, either version 3 of the License, or
15# (at your option) any later version.
16#
17# This program is distributed in the hope that it will be useful,
18# but WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20# GNU Affero General Public License for more details.
21#
22# You should have received a copy of the GNU Affero General Public License
23# along with this program. If not, see <http://www.gnu.org/licenses/>.
24###############################################################################
25
026
=== added directory 'purchase_requisition_line_view/report'
=== added directory 'purchase_requisition_line_view/security'
=== added directory 'purchase_requisition_line_view/static'
=== added directory 'purchase_requisition_line_view/static/description'
=== added file 'purchase_requisition_line_view/static/description/index.html'
=== added directory 'purchase_requisition_line_view/static/src'
=== added directory 'purchase_requisition_line_view/static/src/css'
=== added directory 'purchase_requisition_line_view/static/src/img'
=== added file 'purchase_requisition_line_view/static/src/img/icon.png'
1Binary 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 differ27Binary 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
=== added directory 'purchase_requisition_line_view/static/src/js'
=== added directory 'purchase_requisition_line_view/static/src/xml'
=== added directory 'purchase_requisition_line_view/test'
=== added directory 'purchase_requisition_line_view/view'
=== added file 'purchase_requisition_line_view/view/purchase_requisition_line_view.xml'
--- purchase_requisition_line_view/view/purchase_requisition_line_view.xml 1970-01-01 00:00:00 +0000
+++ purchase_requisition_line_view/view/purchase_requisition_line_view.xml 2014-05-29 21:36:27 +0000
@@ -0,0 +1,51 @@
1<?xml version="1.0"?>
2<openerp>
3 <data>
4
5 <record model="ir.ui.view" id="view_purchase_requisition_line_form">
6 <field name="name">purchase.requisition.line.form</field>
7 <field name="model">purchase.requisition.line</field>
8 <field name="arch" type="xml">
9 <form string="Purchase Requisition Line" version="7.0">
10 <sheet>
11 <group>
12 <field name="product_id" />
13 <field name="product_qty"/>
14 <field name="product_uom_id" />
15 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
16 </group>
17 </sheet>
18 </form>
19 </field>
20 </record>
21
22 <record model="ir.ui.view" id="view_purchase_requisition_line_tree">
23 <field name="name">purchase.requisition.line.tree</field>
24 <field name="model">purchase.requisition.line</field>
25 <field name="arch" type="xml">
26 <tree string="Products">
27 <field name="product_id" on_change="onchange_product_id(product_id,product_uom_id)"/>
28 <field name="product_qty"/>
29 <field name="product_uom_id" groups="product.group_uom"/>
30 </tree>
31 </field>
32 </record>
33
34 <!--
35 <record model="ir.actions.act_window" id="action_purchase_requisition_line">
36 <field name="name">Purchase Requisitions Line</field>
37 <field name="type">ir.actions.act_window</field>
38 <field name="res_model">purchase.requisition.line</field>
39 <field name="view_type">form</field>
40 <field name="view_mode">tree,form</field>
41 </record>
42
43 <menuitem
44 id="menu_purchase_requisition_pro_mgt_line"
45 sequence="10"
46 parent="purchase.menu_procurement_management"
47 action="action_purchase_requisition_line"/>
48 -->
49
50 </data>
51</openerp>
052
=== added directory 'purchase_requisition_line_view/wizard'
=== added file 'purchase_requisition_line_view/wizard/__init__.py'
--- purchase_requisition_line_view/wizard/__init__.py 1970-01-01 00:00:00 +0000
+++ purchase_requisition_line_view/wizard/__init__.py 2014-05-29 21:36:27 +0000
@@ -0,0 +1,25 @@
1#!/usr/bin/python
2# -*- encoding: utf-8 -*-
3###############################################################################
4# Module Writen to OpenERP, Open Source Management Solution
5# Copyright (C) OpenERP Venezuela (<http://www.vauxoo.com>).
6# All Rights Reserved
7############# Credits #########################################################
8# Coded by: Yanina Aular <yani@vauxoo.com>
9# Planified by: Humberto Arocha <hbto@vauxoo.com>
10# Audited by: Humberto Arocha <hbto@vauxoo.com>
11###############################################################################
12# This program is free software: you can redistribute it and/or modify
13# it under the terms of the GNU Affero General Public License as published
14# by the Free Software Foundation, either version 3 of the License, or
15# (at your option) any later version.
16#
17# This program is distributed in the hope that it will be useful,
18# but WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20# GNU Affero General Public License for more details.
21#
22# You should have received a copy of the GNU Affero General Public License
23# along with this program. If not, see <http://www.gnu.org/licenses/>.
24###############################################################################
25
026
=== added directory 'purchase_requisition_line_view/workflow'