Merge lp:~sbi/openobject-addons/trunk-bug1101811 into lp:openobject-addons

Proposed by Stéphane Bidoul (Acsone)
Status: Superseded
Proposed branch: lp:~sbi/openobject-addons/trunk-bug1101811
Merge into: lp:openobject-addons
Diff against target: 21 lines (+2/-2)
1 file modified
account/report/account_financial_report.py (+2/-2)
To merge this branch: bzr merge lp:~sbi/openobject-addons/trunk-bug1101811
Reviewer Review Type Date Requested Status
qdp (OpenERP) Pending
OpenERP Core Team Pending
Review via email: mp+143991@code.launchpad.net

This proposal has been superseded by a proposal from 2013-02-25.

Description of the change

[FIX] account_financial_report: use sign in comparison column

To post a comment you must log in.
Revision history for this message
qdp (OpenERP) (qdp) wrote :

Hello Stéphane,

unfortunatelly, it seems that something went wrong when you did the merge proposal, as while i' trying to merge your branch i'm getting a lot of conflicts. Maybe you solve a conflicts by pushing with --overwrite?

anyway, as the diff in launchpad was clear enough and very short i copied that by the hand.

thanks for the bug spotting and its fixing :-)
Quentin

Revision history for this message
Stéphane Bidoul (Acsone) (sbi) wrote :

Strange enough. On my side

bzr branch lp:openobject-addons

followsed by

bzr merge lp:~sbi/openobject-addons/trunk-bug1101811

works fine.

-sbi

Stéphane Bidoul
Operations Director | Acsone sa/nv | http://acsone.eu/
m +32 498 72 46 54 | t +32 2 888 3124 | f +32 2 888 3159

On Mon, Feb 25, 2013 at 7:06 PM, qdp (OpenERP) <email address hidden>wrote:

> Hello Stéphane,
>
> unfortunatelly, it seems that something went wrong when you did the merge
> proposal, as while i' trying to merge your branch i'm getting a lot of
> conflicts. Maybe you solve a conflicts by pushing with --overwrite?
>
>
> anyway, as the diff in launchpad was clear enough and very short i copied
> that by the hand.
>
>
> thanks for the bug spotting and its fixing :-)
> Quentin
> --
>
> https://code.launchpad.net/~sbi/openobject-addons/trunk-bug1101811/+merge/143991
> You are the owner of lp:~sbi/openobject-addons/trunk-bug1101811.
>

Revision history for this message
qdp (OpenERP) (qdp) wrote :

ho i know... the target branch is the trunk... not the v7

Revision history for this message
qdp (OpenERP) (qdp) wrote :

anyway, it's merged by now

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'account/report/account_financial_report.py'
--- account/report/account_financial_report.py 2013-01-07 10:28:57 +0000
+++ account/report/account_financial_report.py 2013-02-24 22:41:24 +0000
@@ -65,7 +65,7 @@
65 vals['debit'] = report.debit65 vals['debit'] = report.debit
66 vals['credit'] = report.credit66 vals['credit'] = report.credit
67 if data['form']['enable_filter']:67 if data['form']['enable_filter']:
68 vals['balance_cmp'] = self.pool.get('account.financial.report').browse(self.cr, self.uid, report.id, context=data['form']['comparison_context']).balance68 vals['balance_cmp'] = self.pool.get('account.financial.report').browse(self.cr, self.uid, report.id, context=data['form']['comparison_context']).balance * report.sign or 0.0
69 lines.append(vals)69 lines.append(vals)
70 account_ids = []70 account_ids = []
71 if report.display_detail == 'no_detail':71 if report.display_detail == 'no_detail':
@@ -97,7 +97,7 @@
97 if not currency_obj.is_zero(self.cr, self.uid, account.company_id.currency_id, vals['balance']):97 if not currency_obj.is_zero(self.cr, self.uid, account.company_id.currency_id, vals['balance']):
98 flag = True98 flag = True
99 if data['form']['enable_filter']:99 if data['form']['enable_filter']:
100 vals['balance_cmp'] = account_obj.browse(self.cr, self.uid, account.id, context=data['form']['comparison_context']).balance100 vals['balance_cmp'] = account_obj.browse(self.cr, self.uid, account.id, context=data['form']['comparison_context']).balance * report.sign or 0.0
101 if not currency_obj.is_zero(self.cr, self.uid, account.company_id.currency_id, vals['balance_cmp']):101 if not currency_obj.is_zero(self.cr, self.uid, account.company_id.currency_id, vals['balance_cmp']):
102 flag = True102 flag = True
103 if flag:103 if flag:

Subscribers

People subscribed via source and target branches

to all changes: