Merge lp:~isaako34/moylop260-project/ot_fmt-account_invoice-regularization-receipt-dev-yzk into lp:~moylop260-team/moylop260-project/ot_fmt

Proposed by Isaac López Zúñiga
Status: Merged
Approved by: Moisés López - http://www.vauxoo.com
Approved revision: 75
Merged at revision: 70
Proposed branch: lp:~isaako34/moylop260-project/ot_fmt-account_invoice-regularization-receipt-dev-yzk
Merge into: lp:~moylop260-team/moylop260-project/ot_fmt
Diff against target: 543 lines (+319/-173)
6 files modified
account_invoice_receipt/report/voucher_receipt_report.py (+5/-5)
account_invoice_receipt/report/voucher_receipt_report.rml (+167/-168)
account_invoice_regularization_receipt/__init__.py (+27/-0)
account_invoice_regularization_receipt/__openerp__.py (+45/-0)
account_invoice_regularization_receipt/account_invoice_regularization_receipt.py (+52/-0)
account_invoice_regularization_receipt/account_invoice_regularization_receipt_view.xml (+23/-0)
To merge this branch: bzr merge lp:~isaako34/moylop260-project/ot_fmt-account_invoice-regularization-receipt-dev-yzk
Reviewer Review Type Date Requested Status
Moisés López - http://www.vauxoo.com Pending
Review via email: mp+84498@code.launchpad.net

This proposal supersedes a proposal from 2011-12-05.

Description of the change

add regularization receipt

To post a comment you must log in.
Revision history for this message
Moisés López - http://www.vauxoo.com (moylop260) wrote : Posted in a previous version of this proposal

El metodo onchange debe de mandar lo que recibe a su super clase y no mandarle los defaults de los parametros.

El rml sigue apareciendo o.partner_id.programa_id
En vez de obtenerlo directamente de la factura.

review: Needs Fixing

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account_invoice_receipt/report/voucher_receipt_report.py'
2--- account_invoice_receipt/report/voucher_receipt_report.py 2011-07-12 15:37:40 +0000
3+++ account_invoice_receipt/report/voucher_receipt_report.py 2011-12-05 16:27:25 +0000
4@@ -40,7 +40,7 @@
5 'get_address': self._get_address,
6 'amount_to_text': self._get_amount_to_text,
7 })
8-
9+
10 def _get_amount_to_text(self, amount, lang, currency=""):
11 if currency.upper() in ('MXP', 'MXN', 'PESOS', 'PESOS MEXICANOS'):
12 sufijo = 'M. N.'
13@@ -55,10 +55,10 @@
14 amount_text = amount_text and amount_text.upper() or ''
15 return amount_text
16
17-
18+
19 def _get_address(self):
20 return self.address
21-
22+
23 def _set_address(self, partner_id):
24 partner_obj = self.pool.get('res.partner')
25 partner_address_obj = self.pool.get('res.partner.address')
26@@ -67,5 +67,5 @@
27 self.address = address
28 #return address
29 return ""
30-
31-report_sxw.report_sxw('report.account.payment.voucher.receipt', 'account.invoice', 'addons/account_invoice_receipt/report/voucher_voucher_receipt_report.rml', parser=voucher_receipt_report, header=False)
32+
33+report_sxw.report_sxw('report.account.payment.voucher.receipt', 'account.invoice', 'addons/account_invoice_receipt/report/voucher_receipt_report.rml', parser=voucher_receipt_report, header=False)
34
35=== modified file 'account_invoice_receipt/report/voucher_receipt_report.rml'
36--- account_invoice_receipt/report/voucher_receipt_report.rml 2011-07-13 19:04:04 +0000
37+++ account_invoice_receipt/report/voucher_receipt_report.rml 2011-12-05 16:27:25 +0000
38@@ -1,168 +1,167 @@
39-<?xml version="1.0"?>
40-<document filename="test.pdf">
41- <template pageSize="(595.0,842.0)" title="Test" author="Martin Simon" allowSplitting="20">
42- <pageTemplate id="first">
43- <frame id="first" x1="12.0" y1="57.0" width="510" height="764"/>
44- </pageTemplate>
45- </template>
46- <stylesheet>
47- <blockTableStyle id="Standard_Outline">
48- <blockAlignment value="LEFT"/>
49- <blockValign value="TOP"/>
50- </blockTableStyle>
51- <blockTableStyle id="Tabla1">
52- <blockAlignment value="LEFT"/>
53- <blockValign value="TOP"/>
54- </blockTableStyle>
55- <blockTableStyle id="Tabla2">
56- <blockAlignment value="LEFT"/>
57- <blockValign value="TOP"/>
58- </blockTableStyle>
59- <blockTableStyle id="Tabla3">
60- <blockAlignment value="LEFT"/>
61- <blockValign value="TOP"/>
62- </blockTableStyle>
63- <blockTableStyle id="Tabla4">
64- <blockAlignment value="LEFT"/>
65- <blockValign value="TOP"/>
66- </blockTableStyle>
67- <initialize>
68- <paraStyle name="all" alignment="justify"/>
69- </initialize>
70- <paraStyle name="P1" fontName="Helvetica" alignment="RIGHT" spaceBefore="0.0" spaceAfter="6.0"/>
71- <paraStyle name="P2" fontName="Helvetica" alignment="LEFT" spaceBefore="0.0" spaceAfter="6.0"/>
72- <paraStyle name="P3" fontName="Helvetica" fontSize="6.0" leading="8" alignment="RIGHT" spaceBefore="0.0" spaceAfter="6.0"/>
73- <paraStyle name="P4" fontName="Helvetica" alignment="LEFT" spaceBefore="0.0" spaceAfter="6.0"/>
74- <paraStyle name="Standard" fontName="Helvetica"/>
75- <paraStyle name="Text body" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
76- <paraStyle name="Heading" fontName="Helvetica" fontSize="14.0" leading="17" spaceBefore="12.0" spaceAfter="6.0"/>
77- <paraStyle name="List" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
78- <paraStyle name="Table Contents" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
79- <paraStyle name="Table Heading" fontName="Helvetica" alignment="CENTER" spaceBefore="0.0" spaceAfter="6.0"/>
80- <paraStyle name="Caption" fontName="Helvetica" fontSize="12.0" leading="15" spaceBefore="6.0" spaceAfter="6.0"/>
81- <paraStyle name="Index" fontName="Helvetica"/>
82- <images/>
83- </stylesheet>
84- <story>
85- <para style="Standard">[[ repeatIn(objects, 'o') ]] [[ set_address( o.partner_id.id ) ]]</para>
86- <section>
87- <para style="Standard">
88- <font color="white"> </font>
89- </para>
90- <blockTable colWidths="15.0,350.0,146.0" style="Tabla1">
91- <tr>
92- <td>
93- <para style="Table Contents">
94- <font color="white"> </font>
95- </para>
96- </td>
97- <td>
98- <para style="P1">[[ o.date_invoice and time.strftime('%d/%m/%Y', time.strptime( o.date_invoice, '%Y-%m-%d')) or '.' ]]</para>
99- </td>
100- <td>
101- <para style="P1">[[ formatLang(o.amount_total) ]]</para>
102- </td>
103- </tr>
104- </blockTable>
105- <blockTable colWidths="85.0,425.0" style="Tabla2">
106- <tr>
107- <td>
108- <para style="Table Contents">
109- <font color="white"> </font>
110- </para>
111- </td>
112- <td>
113- <para style="P2">( [[ o.partner_id.ref or '']] ) [[ get_address().name or o.partner_id.name or '.' ]] [[ o.partner_id.vat or '.' ]]</para>
114- </td>
115- </tr>
116- <tr>
117- <td>
118- <para style="Table Contents">
119- <font color="white"> </font>
120- </para>
121- </td>
122- <td>
123- <para style="P2">[[ amount_to_text(o.amount_total, 'es_cheque', 'GTQ') ]]</para>
124- <para style="P2">[[ get_address().street ]] [[ get_address().street2 ]] [[ get_address().city ]] [[ get_address().state_id and get_address().state_id.name ]] [[ get_address().zip ]] [['.']]</para>
125- <para style="P2">[[ ', '.join( [line.name for line in o.invoice_line if line.name] ) ]]</para>
126- <para style="P2">[[ (o.partner_id.programa_id and o.partner_id.programa_id.name!='Administracion' or not o.partner_id.programa_id) and (o.partner_id.partner_alumno_ids and o.partner_id.partner_alumno_ids[0] and o.partner_id.partner_alumno_ids[0].name) or (o.partner_id.customer and o.partner_id.name) or '' ]] --- [[ o.partner_id.programa_id and o.partner_id.programa_id.name!='Administracion' and o.partner_id.programa_id.name or '' ]]</para>
127- </td>
128- </tr>
129- </blockTable>
130- <para style="Standard">
131- <font color="white"> </font>
132- </para>
133- <blockTable colWidths="98.0,156.0,156.0,101.0" style="Tabla3">
134- <tr>
135- <td>
136- <para style="Table Contents">
137- <font color="white"> </font>
138- </para>
139- <para style="Table Contents">
140- <font color="white"> </font>
141- </para>
142- <para style="Table Contents">
143- <font color="white"> </font>
144- </para>
145- <para style="Table Contents">
146- <font color="white"> </font>
147- </para>
148- </td>
149- <td>
150- <para style="P1">
151- <font color="white"> </font>
152- </para>
153- <para style="P1">
154- <font color="white"> </font>
155- </para>
156- <para style="P1">
157- <font color="white"> </font>
158- </para>
159- <para style="P1">
160- <font color="white"> </font>
161- </para>
162- </td>
163- <td>
164- <para style="P1">
165- <font color="white"> </font>
166- </para>
167- <para style="P1">
168- <font color="white"> </font>
169- </para>
170- <para style="P1">[[ formatLang(o.amount_total) ]]</para>
171- </td>
172- <td>
173- <para style="Table Contents">
174- <font color="white"> </font>
175- </para>
176- </td>
177- </tr>
178- </blockTable>
179- <blockTable colWidths="255.0,255.0" style="Tabla4">
180- <tr>
181- <td>
182- <para style="Table Contents">
183- <font color="white"> </font>
184- </para>
185- </td>
186- <td>
187- <para style="P3">
188- <font color="white"> </font>
189- </para>
190- <para style="P1">[[ formatLang(o.amount_total) ]]</para>
191- </td>
192- </tr>
193- </blockTable>
194- <para style="Standard">
195- <font color="white"> </font>
196- </para>
197- <para style="Standard">
198- <font color="white"> </font>
199- </para>
200- </section>
201- <para style="Standard">
202- <font color="white"> </font>
203- </para>
204- </story>
205-</document>
206-
207+<?xml version="1.0"?>
208+<document filename="test.pdf">
209+ <template pageSize="(595.0,842.0)" title="Test" author="Martin Simon" allowSplitting="20">
210+ <pageTemplate id="first">
211+ <frame id="first" x1="12.0" y1="57.0" width="510" height="764"/>
212+ </pageTemplate>
213+ </template>
214+ <stylesheet>
215+ <blockTableStyle id="Standard_Outline">
216+ <blockAlignment value="LEFT"/>
217+ <blockValign value="TOP"/>
218+ </blockTableStyle>
219+ <blockTableStyle id="Tabla1">
220+ <blockAlignment value="LEFT"/>
221+ <blockValign value="TOP"/>
222+ </blockTableStyle>
223+ <blockTableStyle id="Tabla2">
224+ <blockAlignment value="LEFT"/>
225+ <blockValign value="TOP"/>
226+ </blockTableStyle>
227+ <blockTableStyle id="Tabla3">
228+ <blockAlignment value="LEFT"/>
229+ <blockValign value="TOP"/>
230+ </blockTableStyle>
231+ <blockTableStyle id="Tabla4">
232+ <blockAlignment value="LEFT"/>
233+ <blockValign value="TOP"/>
234+ </blockTableStyle>
235+ <initialize>
236+ <paraStyle name="all" alignment="justify"/>
237+ </initialize>
238+ <paraStyle name="P1" fontName="Helvetica" alignment="RIGHT" spaceBefore="0.0" spaceAfter="6.0"/>
239+ <paraStyle name="P2" fontName="Helvetica" alignment="LEFT" spaceBefore="0.0" spaceAfter="6.0"/>
240+ <paraStyle name="P3" fontName="Helvetica" fontSize="6.0" leading="8" alignment="RIGHT" spaceBefore="0.0" spaceAfter="6.0"/>
241+ <paraStyle name="Standard" fontName="Helvetica"/>
242+ <paraStyle name="Text body" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
243+ <paraStyle name="Heading" fontName="Helvetica" fontSize="14.0" leading="17" spaceBefore="12.0" spaceAfter="6.0"/>
244+ <paraStyle name="List" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
245+ <paraStyle name="Table Contents" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
246+ <paraStyle name="Table Heading" fontName="Helvetica" alignment="CENTER" spaceBefore="0.0" spaceAfter="6.0"/>
247+ <paraStyle name="Caption" fontName="Helvetica" fontSize="12.0" leading="15" spaceBefore="6.0" spaceAfter="6.0"/>
248+ <paraStyle name="Index" fontName="Helvetica"/>
249+ <images/>
250+ </stylesheet>
251+ <story>
252+ <para style="Standard">[[ repeatIn(objects, 'o') ]] [[ set_address( o.partner_id.id ) ]]</para>
253+ <section>
254+ <para style="Standard">
255+ <font color="white"> </font>
256+ </para>
257+ <blockTable colWidths="15.0,350.0,146.0" style="Tabla1">
258+ <tr>
259+ <td>
260+ <para style="Table Contents">
261+ <font color="white"> </font>
262+ </para>
263+ </td>
264+ <td>
265+ <para style="P1">[[ o.date_invoice and time.strftime('%d/%m/%Y', time.strptime( o.date_invoice, '%Y-%m-%d')) or '.' ]]</para>
266+ </td>
267+ <td>
268+ <para style="P1">[[ formatLang(o.amount_total) ]]</para>
269+ </td>
270+ </tr>
271+ </blockTable>
272+ <blockTable colWidths="85.0,425.0" style="Tabla2">
273+ <tr>
274+ <td>
275+ <para style="Table Contents">
276+ <font color="white"> </font>
277+ </para>
278+ </td>
279+ <td>
280+ <para style="P2">( [[ o.partner_id.ref or '']] ) [[ get_address().name or o.partner_id.name or '.' ]] [[ o.partner_id.vat or '.' ]] </para>
281+ </td>
282+ </tr>
283+ <tr>
284+ <td>
285+ <para style="Table Contents">
286+ <font color="white"> </font>
287+ </para>
288+ </td>
289+ <td>
290+ <para style="P2">[[ amount_to_text(o.amount_total, 'es_cheque', 'GTQ') ]]</para>
291+ <para style="P2">[[ get_address().street ]] [[ get_address().street2 ]] [[ get_address().city ]] [[ get_address().state_id and get_address().state_id.name ]] [[ get_address().zip ]] [['.']]</para>
292+ <para style="P2">[[ ', '.join( [line.name for line in o.invoice_line if line.name] ) ]]</para>
293+ <para style="P2">[[ ( o.programa_id and o.programa_id.name!='Administracion' or not o.programa_id) and (o.partner_id.partner_alumno_ids and o.partner_id.partner_alumno_ids[0] and o.partner_id.partner_alumno_ids[0].name) or (o.partner_id.customer and o.partner_id.name) or '' ]] --- [[ o.programa_id and o.programa_id.name!='Administracion' and o.programa_id.name or '' ]]</para>
294+ </td>
295+ </tr>
296+ </blockTable>
297+ <para style="Standard">
298+ <font color="white"> </font>
299+ </para>
300+ <blockTable colWidths="98.0,156.0,156.0,101.0" style="Tabla3">
301+ <tr>
302+ <td>
303+ <para style="Table Contents">
304+ <font color="white"> </font>
305+ </para>
306+ <para style="Table Contents">
307+ <font color="white"> </font>
308+ </para>
309+ <para style="Table Contents">
310+ <font color="white"> </font>
311+ </para>
312+ <para style="Table Contents">
313+ <font color="white"> </font>
314+ </para>
315+ </td>
316+ <td>
317+ <para style="P1">
318+ <font color="white"> </font>
319+ </para>
320+ <para style="P1">
321+ <font color="white"> </font>
322+ </para>
323+ <para style="P1">
324+ <font color="white"> </font>
325+ </para>
326+ <para style="P1">
327+ <font color="white"> </font>
328+ </para>
329+ </td>
330+ <td>
331+ <para style="P1">
332+ <font color="white"> </font>
333+ </para>
334+ <para style="P1">
335+ <font color="white"> </font>
336+ </para>
337+ <para style="P1">[[ formatLang(o.amount_total) ]]</para>
338+ </td>
339+ <td>
340+ <para style="Table Contents">
341+ <font color="white"> </font>
342+ </para>
343+ </td>
344+ </tr>
345+ </blockTable>
346+ <blockTable colWidths="255.0,255.0" style="Tabla4">
347+ <tr>
348+ <td>
349+ <para style="Table Contents">
350+ <font color="white"> </font>
351+ </para>
352+ </td>
353+ <td>
354+ <para style="P3">
355+ <font color="white"> </font>
356+ </para>
357+ <para style="P1">[[ formatLang(o.amount_total) ]]</para>
358+ </td>
359+ </tr>
360+ </blockTable>
361+ <para style="Standard">
362+ <font color="white"> </font>
363+ </para>
364+ <para style="Standard">
365+ <font color="white"> </font>
366+ </para>
367+ </section>
368+ <para style="Standard">
369+ <font color="white"> </font>
370+ </para>
371+ </story>
372+</document>
373+
374
375=== modified file 'account_invoice_receipt/report/voucher_receipt_report.sxw'
376Binary files account_invoice_receipt/report/voucher_receipt_report.sxw 2011-07-13 19:04:04 +0000 and account_invoice_receipt/report/voucher_receipt_report.sxw 2011-12-05 16:27:25 +0000 differ
377=== added directory 'account_invoice_regularization_receipt'
378=== added file 'account_invoice_regularization_receipt/__init__.py'
379--- account_invoice_regularization_receipt/__init__.py 1970-01-01 00:00:00 +0000
380+++ account_invoice_regularization_receipt/__init__.py 2011-12-05 16:27:25 +0000
381@@ -0,0 +1,27 @@
382+# -*- encoding: utf-8 -*-
383+###########################################################################
384+# Module Writen to OpenERP, Open Source Management Solution
385+#
386+# Copyright (c) 2011 Vauxoo - http://www.vauxoo.com
387+# All Rights Reserved.
388+# Info (info@vauxoo.com)
389+############################################################################
390+# Coded by: moylop260 (moylop260@vauxoo.com)
391+# Coded by: isaac (isaac@vauxoo.com)
392+############################################################################
393+#
394+# This program is free software: you can redistribute it and/or modify
395+# it under the terms of the GNU Affero General Public License as
396+# published by the Free Software Foundation, either version 3 of the
397+# License, or (at your option) any later version.
398+#
399+# This program is distributed in the hope that it will be useful,
400+# but WITHOUT ANY WARRANTY; without even the implied warranty of
401+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
402+# GNU Affero General Public License for more details.
403+#
404+# You should have received a copy of the GNU Affero General Public License
405+# along with this program. If not, see <http://www.gnu.org/licenses/>.
406+#
407+##############################################################################
408+import account_invoice_regularization_receipt
409
410=== added file 'account_invoice_regularization_receipt/__openerp__.py'
411--- account_invoice_regularization_receipt/__openerp__.py 1970-01-01 00:00:00 +0000
412+++ account_invoice_regularization_receipt/__openerp__.py 2011-12-05 16:27:25 +0000
413@@ -0,0 +1,45 @@
414+# -*- encoding: utf-8 -*-
415+###########################################################################
416+# Module Writen to OpenERP, Open Source Management Solution
417+#
418+# Copyright (c) 2011 Vauxoo - http://www.vauxoo.com
419+# All Rights Reserved.
420+# Info (info@vauxoo.com)
421+############################################################################
422+# Coded by: moylop260 (moylop260@vauxoo.com)
423+# Coded by: isaac (isaac@vauxoo.com)
424+############################################################################
425+#
426+# This program is free software: you can redistribute it and/or modify
427+# it under the terms of the GNU Affero General Public License as
428+# published by the Free Software Foundation, either version 3 of the
429+# License, or (at your option) any later version.
430+#
431+# This program is distributed in the hope that it will be useful,
432+# but WITHOUT ANY WARRANTY; without even the implied warranty of
433+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
434+# GNU Affero General Public License for more details.
435+#
436+# You should have received a copy of the GNU Affero General Public License
437+# along with this program. If not, see <http://www.gnu.org/licenses/>.
438+#
439+##############################################################################
440+
441+{
442+ "name" : "Partner Custom For FMT",
443+ "version" : "1.0",
444+ "author" : "Vauxoo",
445+ "category" : "Localization/Guatemala",
446+ "description" : """This module add custom fields to account.invoice.
447+ """,
448+ "website" : "http://www.vauxoo.com",
449+ "license" : "AGPL-3",
450+ "depends" : ["base","account","partner_custom_fmt"],
451+ "init_xml" : [],
452+ "demo_xml" : [],
453+ "update_xml" : [
454+ "account_invoice_regularization_receipt_view.xml",
455+ ],
456+ "installable" : True,
457+ "active" : False,
458+}
459
460=== added file 'account_invoice_regularization_receipt/account_invoice_regularization_receipt.py'
461--- account_invoice_regularization_receipt/account_invoice_regularization_receipt.py 1970-01-01 00:00:00 +0000
462+++ account_invoice_regularization_receipt/account_invoice_regularization_receipt.py 2011-12-05 16:27:25 +0000
463@@ -0,0 +1,52 @@
464+# -*- encoding: utf-8 -*-
465+###########################################################################
466+# Module Writen to OpenERP, Open Source Management Solution
467+#
468+# Copyright (c) 2011 Vauxoo - http://www.vauxoo.com
469+# All Rights Reserved.
470+# Info (info@vauxoo.com)
471+############################################################################
472+# Coded by: moylop260 (moylop260@vauxoo.com)
473+# Coded by: isaac (isaac@vauxoo.com)
474+############################################################################
475+#
476+# This program is free software: you can redistribute it and/or modify
477+# it under the terms of the GNU Affero General Public License as
478+# published by the Free Software Foundation, either version 3 of the
479+# License, or (at your option) any later version.
480+#
481+# This program is distributed in the hope that it will be useful,
482+# but WITHOUT ANY WARRANTY; without even the implied warranty of
483+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
484+# GNU Affero General Public License for more details.
485+#
486+# You should have received a copy of the GNU Affero General Public License
487+# along with this program. If not, see <http://www.gnu.org/licenses/>.
488+#
489+##############################################################################
490+
491+from osv import osv
492+from osv import fields
493+
494+class account_invoice(osv.osv):
495+ _inherit = 'account.invoice'
496+
497+ def onchange_partner_id(self, cr, uid, ids, type, partner_id, date_invoice=False, payment_term=False, partner_bank_id=False, company_id=False):
498+ res = super(account_invoice,self).onchange_partner_id(cr, uid, ids, type, partner_id, date_invoice, payment_term, partner_bank_id, company_id)
499+ partner_obj = self.pool.get('res.partner')
500+ if partner_id:
501+ partner_brw = partner_obj.browse(cr, uid, partner_id)
502+
503+ res['value']['visita_id'] = partner_id and partner_brw.visita_id.id or False
504+ res['value']['programa_id'] = partner_id and partner_brw.programa_id.id or False
505+ res['value']['medio_id'] = partner_id and partner_brw.medio_id.id or False
506+ res['value']['frecuencia_id'] = partner_id and partner_brw.frecuencia_id.id or False
507+ return res
508+
509+ _columns = {
510+ 'visita_id': fields.many2one('res.partner.visita', "Fecha de visita"),
511+ 'programa_id': fields.many2one('res.partner.programa', "Programa"),
512+ 'medio_id': fields.many2one('res.partner.medio', "Medio"),
513+ 'frecuencia_id': fields.many2one('res.partner.frecuencia', "Frecuencia"),
514+ }
515+account_invoice()
516
517=== added file 'account_invoice_regularization_receipt/account_invoice_regularization_receipt_view.xml'
518--- account_invoice_regularization_receipt/account_invoice_regularization_receipt_view.xml 1970-01-01 00:00:00 +0000
519+++ account_invoice_regularization_receipt/account_invoice_regularization_receipt_view.xml 2011-12-05 16:27:25 +0000
520@@ -0,0 +1,23 @@
521+<?xml version="1.0" encoding="utf-8"?>
522+<openerp>
523+ <data>
524+
525+ <record model="ir.ui.view" id="view_account_invoice_form_inh_custom_fmt">
526+ <field name="name">view.account.invoice.form.inh.custom.fmt</field>
527+ <field name="type">form</field>
528+ <field name="model">account.invoice</field>
529+ <field name="inherit_id" ref="account.invoice_form"/>
530+ <field name="arch" type="xml">
531+ <xpath expr="/form/notebook/page[@string='Payments']" position="after">
532+ <page string="FMT">
533+ <field name="programa_id"/>
534+ <field name="medio_id"/>
535+ <field name="frecuencia_id"/>
536+ <field name="visita_id"/>
537+ </page>
538+ </xpath>
539+ </field>
540+ </record>
541+
542+ </data>
543+</openerp>

Subscribers

People subscribed via source and target branches