Merge lp:~jsancho/openerp-spain/bugfix-period-duplicated into lp:~txerpa-openerp/openerp-spain/7.0-l10n_es_aeat_modelo303

Proposed by Javier Sancho
Status: Merged
Approved by: Biel - txerpa.com
Approved revision: 449
Merged at revision: 449
Proposed branch: lp:~jsancho/openerp-spain/bugfix-period-duplicated
Merge into: lp:~txerpa-openerp/openerp-spain/7.0-l10n_es_aeat_modelo303
Diff against target: 18 lines (+1/-2)
1 file modified
l10n_es_aeat_modelo303/modelo303.py (+1/-2)
To merge this branch: bzr merge lp:~jsancho/openerp-spain/bugfix-period-duplicated
Reviewer Review Type Date Requested Status
Biel - txerpa.com Approve
Review via email: mp+214277@code.launchpad.net

Description of the change

Cuando se espcifica periodo de inicio y de fin, repite el periodo de inicio

To post a comment you must log in.
Revision history for this message
Biel - txerpa.com (txerpa) wrote :

Hola Javier, muchas gracias por reportar el bug!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'l10n_es_aeat_modelo303/modelo303.py'
2--- l10n_es_aeat_modelo303/modelo303.py 2014-03-20 13:07:20 +0000
3+++ l10n_es_aeat_modelo303/modelo303.py 2014-04-04 15:07:00 +0000
4@@ -174,7 +174,6 @@
5 if mod303.period_start_id.date_start > mod303.period_end_id.date_start:
6 raise orm.except_orm('', _('El periodo inicial debe ser inferior o igual periodo final.'))
7
8- account_period_id.append(mod303.period_start_id.id)
9 if mod303.period_start_id.id <> mod303.period_end_id.id:
10 account_period_id.append(mod303.period_end_id.id)
11 account_period_id += period_obj.search(cr, uid,
12@@ -349,4 +348,4 @@
13 if msg:
14 raise orm.except_orm("", msg)
15 return super(l10n_es_aeat_modelo303_report, self).button_confirm(cr, uid,
16- ids, context=context)
17\ No newline at end of file
18+ ids, context=context)

Subscribers

People subscribed via source and target branches