Merge lp:~javieredm/openerp-venezuela-localization/javy-bug907121 into lp:~openerp-venezuela/openerp-venezuela-localization/6.0-trunk

Proposed by Javier Duran
Status: Merged
Merged at revision: 491
Proposed branch: lp:~javieredm/openerp-venezuela-localization/javy-bug907121
Merge into: lp:~openerp-venezuela/openerp-venezuela-localization/6.0-trunk
Diff against target: 15 lines (+7/-0)
1 file modified
l10n_ve_fiscal_requirements/invoice.py (+7/-0)
To merge this branch: bzr merge lp:~javieredm/openerp-venezuela-localization/javy-bug907121
Reviewer Review Type Date Requested Status
Javier Duran (community) Approve
Review via email: mp+86621@code.launchpad.net

Description of the change

Corrección bug 907121

To post a comment you must log in.
Revision history for this message
Javier Duran (javieredm) wrote :

Unido al trunk en:
revno: 491 [merge]
revision-id: javier@squezee-vir-20111221211401-vhoq0kvuc67u1ees

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'l10n_ve_fiscal_requirements/invoice.py'
2--- l10n_ve_fiscal_requirements/invoice.py 2011-12-20 23:15:34 +0000
3+++ l10n_ve_fiscal_requirements/invoice.py 2011-12-21 21:08:24 +0000
4@@ -52,6 +52,13 @@
5 line['invoice_line_tax_id'] = [(6,0, line.get('invoice_line_tax_id', [])) ]
6 return map(lambda x: (0,0,x), lines)
7
8+ def copy(self, cr, uid, id, default={}, context=None):
9+ if context is None:
10+ context = {}
11+ default.update({
12+ 'child_ids':[]
13+ })
14+ return super(account_invoice, self).copy(cr, uid, id, default, context)
15 account_invoice()
16
17