← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 669903] Re: Bank Statement : write-off with secondary currency

 

Vincent,

This seems a bit critical for us.

if (not currency_obj.is_zero(cr, uid, account.company_id.currency_id, writeoff)) or \
           (account.currency_id and (not currency_obj.is_zero(cr, uid, account.currency_id, currency))):


I have 2 proposed solutions:

1. Improve the mentioned condition in reconcile() method to avoid the check of secondary currency.(I am investigating the use of it elsewhere).
2. Adding a little check in condition if writeoff is zero. ( add another if - if writeoff:)


Please share your views.
Thanks.

-- 
Bank Statement : write-off with secondary currency
https://bugs.launchpad.net/bugs/669903
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: Invalid
Status in OpenObject Addons 5.0 series: Confirmed
Status in OpenObject Addons trunk series: Invalid

Bug description:
Hello,

We have a problem with write-off if you follow this use case :

- You create a new database, with company currency set to EURO
- you create an invoice in CHF
- you specified in third party account linked to the invoice CHF as secondary currency,
- You create the invoice.
- You create an bank statement
- you select an bank journal in CHF in the bank statement
- You import the previously created invoice
- You check in the Reconcile, that the balance is equal to 0.0
- You confirmed it
- You will reach the error :
       You have to provide an account for the write off entry !

The system require an write-off line in the reconcile part of the bank statement even if the balance is already equal to 0.0

Thanks for your precious help,

Vincent





References