← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 842431] Re: [trunk] voucher - rounding issue {FCL}

 

Hello Frederic,

I have completely check your scenario at my end.
When I have loaded your yml in account_voucher module I have faced the following assertion error. 

ERROR:tests.account_voucher:AssertionError in Python code : Writeoff
amount is 60.000000 insteed of -84.290000.

I have trace your yml also you have create a one voucher of 170 EUR for
two different invoices and enter the 80 EUR for 1st invoice, 30EUR for
2nd invoice that means the reconcile(Writeoff) amount will be 60.00
(170-(80+30)). So how can you calculated a Writeoff amount is 84.290000.

One more thing after your bug reported there are lots of changes done in
latest trunk for account_voucher as well as for this type of scenario.

So would you please check again with the latest trunk and please
elaborate more information on this.

Thanks and waiting for your reply!

** Changed in: openobject-addons
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/842431

Title:
  [trunk] voucher - rounding issue {FCL}

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  In the new reworked account_voucher, we still have a serious rouding
  issue which generate unbalanced accounting entry (then impossible to
  validate voucher)

  Please find attached a yaml test showing the bug.

  Thank you

  Frederic Clementi

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/842431/+subscriptions


References