Merge lp:~camptocamp/account-invoice-report/7.0-add-invoice_report_assemble-yvr into lp:~account-core-editors/account-invoice-report/7.0
- 7.0-add-invoice_report_assemble-yvr
- Merge into 7.0
Proposed by
Yannick Vaucher @ Camptocamp
Status: | Merged |
---|---|
Approved by: | Guewen Baconnier @ Camptocamp |
Approved revision: | 46 |
Merged at revision: | 50 |
Proposed branch: | lp:~camptocamp/account-invoice-report/7.0-add-invoice_report_assemble-yvr |
Merge into: | lp:~account-core-editors/account-invoice-report/7.0 |
Diff against target: |
380 lines (+332/-0) 9 files modified
invoice_report_assemble/__init__.py (+24/-0) invoice_report_assemble/__openerp__.py (+41/-0) invoice_report_assemble/company.py (+32/-0) invoice_report_assemble/i18n/fr.po (+54/-0) invoice_report_assemble/i18n/invoice_report_assemble.pot (+54/-0) invoice_report_assemble/invoice_report.xml (+15/-0) invoice_report_assemble/report_assembler.py (+44/-0) invoice_report_assemble/res_config.py (+41/-0) invoice_report_assemble/res_config_view.xml (+27/-0) |
To merge this branch: | bzr merge lp:~camptocamp/account-invoice-report/7.0-add-invoice_report_assemble-yvr |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Nicolas Bessi - Camptocamp (community) | code review, no test | Approve | |
Guewen Baconnier @ Camptocamp | Approve | ||
Review via email: mp+194204@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
Revision history for this message
Yannick Vaucher @ Camptocamp (yvaucher-c2c) wrote : | # |
Revision history for this message
Yannick Vaucher @ Camptocamp (yvaucher-c2c) wrote : | # |
base_report_
https:/
Revision history for this message
Guewen Baconnier @ Camptocamp (gbaconnier-c2c) wrote : | # |
Nice! LGTM
Thanks
review:
Approve
Revision history for this message
Guewen Baconnier @ Camptocamp (gbaconnier-c2c) wrote : | # |
(base_report_
Revision history for this message
Nicolas Bessi - Camptocamp (nbessi-c2c-deactivatedaccount) wrote : | # |
base_report_
- 46. By Nicolas Bessi - Camptocamp
-
[PEP8]
Revision history for this message
Nicolas Bessi - Camptocamp (nbessi-c2c-deactivatedaccount) wrote : | # |
Thanks for the MP.
Fixed some neat pick and added module in category Accounting.
LGTM
review:
Approve
(code review, no test)
Revision history for this message
Yannick Vaucher @ Camptocamp (yvaucher-c2c) wrote : | # |
Thanks for the fixes
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === added directory 'invoice_report_assemble' | |||
2 | === added file 'invoice_report_assemble/__init__.py' | |||
3 | --- invoice_report_assemble/__init__.py 1970-01-01 00:00:00 +0000 | |||
4 | +++ invoice_report_assemble/__init__.py 2014-01-31 11:20:46 +0000 | |||
5 | @@ -0,0 +1,24 @@ | |||
6 | 1 | # -*- coding: utf-8 -*- | ||
7 | 2 | ############################################################################## | ||
8 | 3 | # | ||
9 | 4 | # Author: Yannick Vaucher | ||
10 | 5 | # Copyright 2013 Camptocamp SA | ||
11 | 6 | # | ||
12 | 7 | # This program is free software: you can redistribute it and/or modify | ||
13 | 8 | # it under the terms of the GNU Affero General Public License as | ||
14 | 9 | # published by the Free Software Foundation, either version 3 of the | ||
15 | 10 | # License, or (at your option) any later version. | ||
16 | 11 | # | ||
17 | 12 | # This program is distributed in the hope that it will be useful, | ||
18 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
19 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
20 | 15 | # GNU Affero General Public License for more details. | ||
21 | 16 | # | ||
22 | 17 | # You should have received a copy of the GNU Affero General Public License | ||
23 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
24 | 19 | # | ||
25 | 20 | ############################################################################## | ||
26 | 21 | from . import report_assembler | ||
27 | 22 | from . import company | ||
28 | 23 | from . import res_config | ||
29 | 24 | |||
30 | 0 | 25 | ||
31 | === added file 'invoice_report_assemble/__openerp__.py' | |||
32 | --- invoice_report_assemble/__openerp__.py 1970-01-01 00:00:00 +0000 | |||
33 | +++ invoice_report_assemble/__openerp__.py 2014-01-31 11:20:46 +0000 | |||
34 | @@ -0,0 +1,41 @@ | |||
35 | 1 | # -*- coding: utf-8 -*- | ||
36 | 2 | ############################################################################## | ||
37 | 3 | # | ||
38 | 4 | # Author: Yannick Vaucher | ||
39 | 5 | # Copyright 2013 Camptocamp SA | ||
40 | 6 | # | ||
41 | 7 | # This program is free software: you can redistribute it and/or modify | ||
42 | 8 | # it under the terms of the GNU Affero General Public License as | ||
43 | 9 | # published by the Free Software Foundation, either version 3 of the | ||
44 | 10 | # License, or (at your option) any later version. | ||
45 | 11 | # | ||
46 | 12 | # This program is distributed in the hope that it will be useful, | ||
47 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
48 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
49 | 15 | # GNU Affero General Public License for more details. | ||
50 | 16 | # | ||
51 | 17 | # You should have received a copy of the GNU Affero General Public License | ||
52 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
53 | 19 | # | ||
54 | 20 | ############################################################################## | ||
55 | 21 | {'name': 'Assemble invoice report', | ||
56 | 22 | 'version': '1.0', | ||
57 | 23 | 'category': 'Accounting', | ||
58 | 24 | 'description': """Add a printing button to print an invoice report assembled | ||
59 | 25 | like assembling invoice webkit with bvr payment slip in a single report. | ||
60 | 26 | It can be either of the generated invoice report""", | ||
61 | 27 | 'author': 'Camptocamp', | ||
62 | 28 | 'maintainer': 'Camptocamp', | ||
63 | 29 | 'website': 'http://www.camptocamp.com/', | ||
64 | 30 | 'depends': [ | ||
65 | 31 | 'base_report_assembler', | ||
66 | 32 | 'account'], | ||
67 | 33 | 'data': [ | ||
68 | 34 | 'invoice_report.xml', | ||
69 | 35 | 'res_config_view.xml', | ||
70 | 36 | ], | ||
71 | 37 | 'test': [], | ||
72 | 38 | 'installable': True, | ||
73 | 39 | 'auto_install': False, | ||
74 | 40 | 'application': True, | ||
75 | 41 | } | ||
76 | 0 | 42 | ||
77 | === added file 'invoice_report_assemble/company.py' | |||
78 | --- invoice_report_assemble/company.py 1970-01-01 00:00:00 +0000 | |||
79 | +++ invoice_report_assemble/company.py 2014-01-31 11:20:46 +0000 | |||
80 | @@ -0,0 +1,32 @@ | |||
81 | 1 | # -*- coding: utf-8 -*- | ||
82 | 2 | ############################################################################## | ||
83 | 3 | # | ||
84 | 4 | # Author: Yannick Vaucher | ||
85 | 5 | # Copyright 2013 Camptocamp SA | ||
86 | 6 | # | ||
87 | 7 | # This program is free software: you can redistribute it and/or modify | ||
88 | 8 | # it under the terms of the GNU Affero General Public License as | ||
89 | 9 | # published by the Free Software Foundation, either version 3 of the | ||
90 | 10 | # License, or (at your option) any later version. | ||
91 | 11 | # | ||
92 | 12 | # This program is distributed in the hope that it will be useful, | ||
93 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
94 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
95 | 15 | # GNU Affero General Public License for more details. | ||
96 | 16 | # | ||
97 | 17 | # You should have received a copy of the GNU Affero General Public License | ||
98 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
99 | 19 | # | ||
100 | 20 | ############################################################################## | ||
101 | 21 | from openerp.osv import orm, fields | ||
102 | 22 | |||
103 | 23 | |||
104 | 24 | class ResCompany(orm.Model): | ||
105 | 25 | _inherit = 'res.company' | ||
106 | 26 | |||
107 | 27 | _columns = { | ||
108 | 28 | 'assemble_invoice_report_ids': fields.one2many( | ||
109 | 29 | 'assembled.report', 'company_id', | ||
110 | 30 | 'Account Invoice Assemblage Report', | ||
111 | 31 | domain=[('model', '=', 'account.invoice')]), | ||
112 | 32 | } | ||
113 | 0 | 33 | ||
114 | === added directory 'invoice_report_assemble/i18n' | |||
115 | === added file 'invoice_report_assemble/i18n/fr.po' | |||
116 | --- invoice_report_assemble/i18n/fr.po 1970-01-01 00:00:00 +0000 | |||
117 | +++ invoice_report_assemble/i18n/fr.po 2014-01-31 11:20:46 +0000 | |||
118 | @@ -0,0 +1,54 @@ | |||
119 | 1 | # Translation of OpenERP Server. | ||
120 | 2 | # This file contains the translation of the following modules: | ||
121 | 3 | # * invoice_report_assemble | ||
122 | 4 | # | ||
123 | 5 | msgid "" | ||
124 | 6 | msgstr "" | ||
125 | 7 | "Project-Id-Version: OpenERP Server 7.0\n" | ||
126 | 8 | "Report-Msgid-Bugs-To: \n" | ||
127 | 9 | "POT-Creation-Date: 2013-11-05 15:01+0000\n" | ||
128 | 10 | "PO-Revision-Date: 2013-11-05 15:01+0000\n" | ||
129 | 11 | "Last-Translator: <>\n" | ||
130 | 12 | "Language-Team: \n" | ||
131 | 13 | "MIME-Version: 1.0\n" | ||
132 | 14 | "Content-Type: text/plain; charset=UTF-8\n" | ||
133 | 15 | "Content-Transfer-Encoding: \n" | ||
134 | 16 | "Plural-Forms: \n" | ||
135 | 17 | |||
136 | 18 | #. module: invoice_report_assemble | ||
137 | 19 | #: field:account.config.settings,assemble_invoice_report_ids:0 | ||
138 | 20 | msgid "Account Invoice Report Assemblage" | ||
139 | 21 | msgstr "Assemblage de rapport de facture" | ||
140 | 22 | |||
141 | 23 | #. module: invoice_report_assemble | ||
142 | 24 | #: model:ir.model,name:invoice_report_assemble.model_res_company | ||
143 | 25 | msgid "Companies" | ||
144 | 26 | msgstr "Sociétés" | ||
145 | 27 | |||
146 | 28 | #. module: invoice_report_assemble | ||
147 | 29 | #: model:ir.actions.report.xml,name:invoice_report_assemble.invoice_report_assemblage | ||
148 | 30 | msgid "Invoice Assemblage" | ||
149 | 31 | msgstr "Assemblage de facture" | ||
150 | 32 | |||
151 | 33 | #. module: invoice_report_assemble | ||
152 | 34 | #: view:account.config.settings:0 | ||
153 | 35 | msgid "Invoice report assemblage" | ||
154 | 36 | msgstr "Assemblage de rapport de facture" | ||
155 | 37 | |||
156 | 38 | #. module: invoice_report_assemble | ||
157 | 39 | #: code:addons/invoice_report_assemble/report_assembler.py:37 | ||
158 | 40 | #, python-format | ||
159 | 41 | msgid "No report defined in Configuration -> Accounting for model invoice." | ||
160 | 42 | msgstr "Pas de rapport défini dans Configuration -> Finance pour les factures." | ||
161 | 43 | |||
162 | 44 | #. module: invoice_report_assemble | ||
163 | 45 | #: code:addons/invoice_report_assemble/report_assembler.py:38 | ||
164 | 46 | #, python-format | ||
165 | 47 | msgid "Error" | ||
166 | 48 | msgstr "Erreur" | ||
167 | 49 | |||
168 | 50 | #. module: invoice_report_assemble | ||
169 | 51 | #: field:res.company,assemble_invoice_report_ids:0 | ||
170 | 52 | msgid "Account Invoice Assemblage Report" | ||
171 | 53 | msgstr "Assemblage de rapport de facture" | ||
172 | 54 | |||
173 | 0 | 55 | ||
174 | === added file 'invoice_report_assemble/i18n/invoice_report_assemble.pot' | |||
175 | --- invoice_report_assemble/i18n/invoice_report_assemble.pot 1970-01-01 00:00:00 +0000 | |||
176 | +++ invoice_report_assemble/i18n/invoice_report_assemble.pot 2014-01-31 11:20:46 +0000 | |||
177 | @@ -0,0 +1,54 @@ | |||
178 | 1 | # Translation of OpenERP Server. | ||
179 | 2 | # This file contains the translation of the following modules: | ||
180 | 3 | # * invoice_report_assemble | ||
181 | 4 | # | ||
182 | 5 | msgid "" | ||
183 | 6 | msgstr "" | ||
184 | 7 | "Project-Id-Version: OpenERP Server 7.0\n" | ||
185 | 8 | "Report-Msgid-Bugs-To: \n" | ||
186 | 9 | "POT-Creation-Date: 2013-11-05 15:01+0000\n" | ||
187 | 10 | "PO-Revision-Date: 2013-11-05 15:01+0000\n" | ||
188 | 11 | "Last-Translator: <>\n" | ||
189 | 12 | "Language-Team: \n" | ||
190 | 13 | "MIME-Version: 1.0\n" | ||
191 | 14 | "Content-Type: text/plain; charset=UTF-8\n" | ||
192 | 15 | "Content-Transfer-Encoding: \n" | ||
193 | 16 | "Plural-Forms: \n" | ||
194 | 17 | |||
195 | 18 | #. module: invoice_report_assemble | ||
196 | 19 | #: field:account.config.settings,assemble_invoice_report_ids:0 | ||
197 | 20 | msgid "Account Invoice Report Assemblage" | ||
198 | 21 | msgstr "" | ||
199 | 22 | |||
200 | 23 | #. module: invoice_report_assemble | ||
201 | 24 | #: model:ir.model,name:invoice_report_assemble.model_res_company | ||
202 | 25 | msgid "Companies" | ||
203 | 26 | msgstr "" | ||
204 | 27 | |||
205 | 28 | #. module: invoice_report_assemble | ||
206 | 29 | #: model:ir.actions.report.xml,name:invoice_report_assemble.invoice_report_assemblage | ||
207 | 30 | msgid "Invoice Assemblage" | ||
208 | 31 | msgstr "" | ||
209 | 32 | |||
210 | 33 | #. module: invoice_report_assemble | ||
211 | 34 | #: view:account.config.settings:0 | ||
212 | 35 | msgid "Invoice report assemblage" | ||
213 | 36 | msgstr "" | ||
214 | 37 | |||
215 | 38 | #. module: invoice_report_assemble | ||
216 | 39 | #: code:addons/invoice_report_assemble/report_assembler.py:37 | ||
217 | 40 | #, python-format | ||
218 | 41 | msgid "No report defined in Configuration -> Accounting for model invoice." | ||
219 | 42 | msgstr "" | ||
220 | 43 | |||
221 | 44 | #. module: invoice_report_assemble | ||
222 | 45 | #: code:addons/invoice_report_assemble/report_assembler.py:38 | ||
223 | 46 | #, python-format | ||
224 | 47 | msgid "Error" | ||
225 | 48 | msgstr "" | ||
226 | 49 | |||
227 | 50 | #. module: invoice_report_assemble | ||
228 | 51 | #: field:res.company,assemble_invoice_report_ids:0 | ||
229 | 52 | msgid "Account Invoice Assemblage Report" | ||
230 | 53 | msgstr "" | ||
231 | 54 | |||
232 | 0 | 55 | ||
233 | === added file 'invoice_report_assemble/invoice_report.xml' | |||
234 | --- invoice_report_assemble/invoice_report.xml 1970-01-01 00:00:00 +0000 | |||
235 | +++ invoice_report_assemble/invoice_report.xml 2014-01-31 11:20:46 +0000 | |||
236 | @@ -0,0 +1,15 @@ | |||
237 | 1 | <?xml version="1.0" encoding="utf-8"?> | ||
238 | 2 | <openerp> | ||
239 | 3 | <data> | ||
240 | 4 | <report | ||
241 | 5 | auto="False" | ||
242 | 6 | id="invoice_report_assemblage" | ||
243 | 7 | model="account.invoice" | ||
244 | 8 | name="invoice_report_assemblage" | ||
245 | 9 | string="Invoice Assemblage" | ||
246 | 10 | attachment="(object.state in ('open','paid')) and ('INV_BVR'+(object.number or '').replace('/',''))" | ||
247 | 11 | attachment_use="0" | ||
248 | 12 | multi="True" | ||
249 | 13 | report_type="assemblage"/> | ||
250 | 14 | </data> | ||
251 | 15 | </openerp> | ||
252 | 0 | 16 | ||
253 | === added file 'invoice_report_assemble/report_assembler.py' | |||
254 | --- invoice_report_assemble/report_assembler.py 1970-01-01 00:00:00 +0000 | |||
255 | +++ invoice_report_assemble/report_assembler.py 2014-01-31 11:20:46 +0000 | |||
256 | @@ -0,0 +1,44 @@ | |||
257 | 1 | # -*- coding: utf-8 -*- | ||
258 | 2 | ############################################################################## | ||
259 | 3 | # | ||
260 | 4 | # Author: Yannick Vaucher | ||
261 | 5 | # Copyright 2013 Camptocamp SA | ||
262 | 6 | # | ||
263 | 7 | # This program is free software: you can redistribute it and/or modify | ||
264 | 8 | # it under the terms of the GNU Affero General Public License as | ||
265 | 9 | # published by the Free Software Foundation, either version 3 of the | ||
266 | 10 | # License, or (at your option) any later version. | ||
267 | 11 | # | ||
268 | 12 | # This program is distributed in the hope that it will be useful, | ||
269 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
270 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
271 | 15 | # GNU Affero General Public License for more details. | ||
272 | 16 | # | ||
273 | 17 | # You should have received a copy of the GNU Affero General Public License | ||
274 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
275 | 19 | # | ||
276 | 20 | ############################################################################## | ||
277 | 21 | |||
278 | 22 | from openerp import pooler | ||
279 | 23 | from openerp.osv import orm | ||
280 | 24 | from openerp.tools.translate import _ | ||
281 | 25 | from openerp.addons.base_report_assembler import report_assembler | ||
282 | 26 | |||
283 | 27 | |||
284 | 28 | class InvoicePDFReportAssembler(report_assembler.PDFReportAssembler): | ||
285 | 29 | """InvoicePDFReportAssembler allows to merge multiple | ||
286 | 30 | invoice reports into one pdf""" | ||
287 | 31 | |||
288 | 32 | def _get_report_ids(self, cr, uid, ids, context=None): | ||
289 | 33 | pool = pooler.get_pool(cr.dbname) | ||
290 | 34 | user_obj = pool.get('res.users') | ||
291 | 35 | company = user_obj.browse(cr, uid, uid, context=context).company_id | ||
292 | 36 | report_ids = [r.report_id.id for r in company.assemble_invoice_report_ids] | ||
293 | 37 | if not report_ids: | ||
294 | 38 | msg = _("No report defined in Configuration -> Accounting for model invoice.") | ||
295 | 39 | raise orm.except_orm(_('Error'), msg) | ||
296 | 40 | return report_ids | ||
297 | 41 | |||
298 | 42 | InvoicePDFReportAssembler('report.invoice_report_assemblage', | ||
299 | 43 | 'account.invoice', | ||
300 | 44 | None) | ||
301 | 0 | 45 | ||
302 | === added file 'invoice_report_assemble/res_config.py' | |||
303 | --- invoice_report_assemble/res_config.py 1970-01-01 00:00:00 +0000 | |||
304 | +++ invoice_report_assemble/res_config.py 2014-01-31 11:20:46 +0000 | |||
305 | @@ -0,0 +1,41 @@ | |||
306 | 1 | # -*- coding: utf-8 -*- | ||
307 | 2 | ############################################################################## | ||
308 | 3 | # | ||
309 | 4 | # Author: Yannick Vaucher | ||
310 | 5 | # Copyright 2013 Camptocamp SA | ||
311 | 6 | # | ||
312 | 7 | # This program is free software: you can redistribute it and/or modify | ||
313 | 8 | # it under the terms of the GNU Affero General Public License as | ||
314 | 9 | # published by the Free Software Foundation, either version 3 of the | ||
315 | 10 | # License, or (at your option) any later version. | ||
316 | 11 | # | ||
317 | 12 | # This program is distributed in the hope that it will be useful, | ||
318 | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
319 | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
320 | 15 | # GNU Affero General Public License for more details. | ||
321 | 16 | # | ||
322 | 17 | # You should have received a copy of the GNU Affero General Public License | ||
323 | 18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
324 | 19 | # | ||
325 | 20 | ############################################################################## | ||
326 | 21 | from openerp.osv import orm, fields | ||
327 | 22 | |||
328 | 23 | |||
329 | 24 | class AccountConfigSettings(orm.TransientModel): | ||
330 | 25 | _inherit = 'account.config.settings' | ||
331 | 26 | |||
332 | 27 | _columns = { | ||
333 | 28 | 'assemble_invoice_report_ids': fields.related( | ||
334 | 29 | 'company_id', 'assemble_invoice_report_ids', | ||
335 | 30 | string='Account Invoice Report Assemblage', | ||
336 | 31 | type='one2many', relation='assembled.report'), | ||
337 | 32 | } | ||
338 | 33 | |||
339 | 34 | def onchange_company_id(self, cr, uid, ids, company_id, context=None): | ||
340 | 35 | res = super(AccountConfigSettings, self).onchange_company_id( | ||
341 | 36 | cr, uid, ids, company_id, context=context) | ||
342 | 37 | company = self.pool.get('res.company').browse(cr, uid, company_id, | ||
343 | 38 | context=context) | ||
344 | 39 | r_ids = [r.id for r in company.assemble_invoice_report_ids] | ||
345 | 40 | res['value']['assemble_invoice_report_ids'] = r_ids | ||
346 | 41 | return res | ||
347 | 0 | 42 | ||
348 | === added file 'invoice_report_assemble/res_config_view.xml' | |||
349 | --- invoice_report_assemble/res_config_view.xml 1970-01-01 00:00:00 +0000 | |||
350 | +++ invoice_report_assemble/res_config_view.xml 2014-01-31 11:20:46 +0000 | |||
351 | @@ -0,0 +1,27 @@ | |||
352 | 1 | <?xml version="1.0" encoding="utf-8"?> | ||
353 | 2 | <openerp> | ||
354 | 3 | <data> | ||
355 | 4 | |||
356 | 5 | <record id="view_account_config_settings" model="ir.ui.view"> | ||
357 | 6 | <field name="name">account settings.add.invoice.assemble</field> | ||
358 | 7 | <field name="model">account.config.settings</field> | ||
359 | 8 | <field name="inherit_id" ref="account.view_account_config_settings"/> | ||
360 | 9 | <field name="arch" type="xml"> | ||
361 | 10 | <xpath expr="//field[@name='module_account_followup']/ancestor::div[1]" position="after"> | ||
362 | 11 | <div> | ||
363 | 12 | <label for="assemble_invoice_report_ids" string="Invoice report assemblage"/> | ||
364 | 13 | <field name="assemble_invoice_report_ids" context="{'default_model': 'account.invoice'}"> | ||
365 | 14 | <tree editable="bottom"> | ||
366 | 15 | <field name="report_id"/> | ||
367 | 16 | <field name="model" invisible="True"/> | ||
368 | 17 | <field name="sequence" invisible="True"/> | ||
369 | 18 | <field name="company_id" invisible="True"/> | ||
370 | 19 | </tree> | ||
371 | 20 | </field> | ||
372 | 21 | </div> | ||
373 | 22 | </xpath> | ||
374 | 23 | </field> | ||
375 | 24 | </record> | ||
376 | 25 | |||
377 | 26 | </data> | ||
378 | 27 | </openerp> | ||
379 | 0 | 28 | ||
380 | === added directory 'invoice_report_assemble/security' |
Depends on:
https:/ /code.launchpad .net/~camptocam p/report- utils/7. 0-add-module- base_report_ assembler- yvr/+merge/ 188856