← Back to team overview

openerp-india team mailing list archive

[Bug 963113] Re: [6.0]Invoice payment "Entry ... is not valid"

 

Looks like I got a workaround.

In the payment line the Original Amount (OA), the Open Balance (OB) is shown with 2 decimals, but  the Amount (A) is with 4 decimals. I have account's decimal accuracy is set to 4.
The invoices value shown in OA and OB is rounded to 2 decimals, and the Amount shows the same rounded value but in 4 decimals.
If I edit the line and enter in the Amount the correct value, the invoice can be payed, and I don't get the error message.

Here is an example to be more clear:
I have an invoice with 55,2776 EUR total value.  OA shows 55,28, OB shows 55,28, and Amount shows 55,2800 . 
Now if I change the value in Amount from 55,28 to 55,2776 the invoice can be payed.

Best regards
TArpi

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/963113

Title:
  [6.0]Invoice payment "Entry ... is not valid"

Status in OpenERP Addons (modules):
  Invalid

Bug description:
  Sys. OErp 6.0.2 on Ubuntu 10.10

  I have some invoices at which when I want to pay I get the above error message. 
  I mean when I enter in payment and (I set the payment method, the date) I push the Validate button. I get "Error Entry ... is not valid", with the invoice name instead of the points.

  I tried with the web client and GTK client and no success.

  I watched with debug (pdb) and as I saw it can not create a new record
  in the account_move_line.

  Thanks for any help.

  Best regards,
  TArpi

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


References