Merge lp:~vauxoo/addons-vauxoo/7.0-purchase_requisition_incoterms-dev-2394-kty into lp:~vauxoo/addons-vauxoo/addons-vauxoo-cicsa

Proposed by Katherine Zaoral (Vauxoo)
Status: Merged
Merged at revision: 1129
Proposed branch: lp:~vauxoo/addons-vauxoo/7.0-purchase_requisition_incoterms-dev-2394-kty
Merge into: lp:~vauxoo/addons-vauxoo/addons-vauxoo-cicsa
Diff against target: 223 lines (+175/-0)
5 files modified
purchase_requisition_incoterms/__init__.py (+28/-0)
purchase_requisition_incoterms/__openerp__.py (+52/-0)
purchase_requisition_incoterms/model/__init__.py (+27/-0)
purchase_requisition_incoterms/model/purchase_requisition.py (+42/-0)
purchase_requisition_incoterms/wizard/__init__.py (+26/-0)
To merge this branch: bzr merge lp:~vauxoo/addons-vauxoo/7.0-purchase_requisition_incoterms-dev-2394-kty
Reviewer Review Type Date Requested Status
Katherine Zaoral (Vauxoo) Approve
Review via email: mp+238764@code.launchpad.net

Description of the change

[MERGE] new module purchase_requisition_incoterms.

To post a comment you must log in.
Revision history for this message
Katherine Zaoral (Vauxoo) (kathy-zaoral) wrote :

waiting for runbot

Revision history for this message
Katherine Zaoral (Vauxoo) (kathy-zaoral) wrote :

runbot is green.
I will proceed with the merge.
Regards

review: Approve

Preview Diff

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

Subscribers

People subscribed via source and target branches

to all changes: