← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 783496] Re: Account_voucher : Onchange of amount removes all manually added lines

 

Hey Priyesh

Thanks for description.
I made some tests with multi invoice payment and it looks good.

There is one bug that show this error:
Traceback (most recent call last):

  File "/opt/openerp/production/server/bin/service/netrpc_server.py",
line 69, in run

    msg = ts.myreceive()

  File "/opt/openerp/production/server/bin/tiny_socket.py", line 88, in
myreceive

    res = unpickler.load()

UnpicklingError: Global and instance pickles are not supported.


How to reproduce:
1. pay any invoice
2. enter all data: Paid Amount, Payment Method, Date
3. press new "Invoices and outstanding transactions"
4. add any other open invoice (don't need to)
5. let the new, empty "Invoices and outstanding transactions" line as it is
6. change one of this: date, paid amount, payment method
7. above error message appears

Video demo: http://db.tt/TCrpi4M

Workaround:
> close/ESC the empty "Invoices and outstanding transactions" line

I think if that is fixed too, we got it ;).. and can update production
instance of customers..

Thanks a lot for treatment

kind regards
thomi

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

Title:
  Account_voucher : Onchange of amount removes all manually added lines

Status in OpenERP Modules (addons):
  Fix Committed

Bug description:
  Reference from https://bugs.launchpad.net/openobject-
  addons/+bug/767058

  Check the video to demonstrate:

  1. create some invoices for the same partner and validate them
  2. select one of them and make the payment for that invoice
  3. enter all data that are needed: Paid Amount (maybe partner pay's 500.--), Payment Method and Date
  3.1 the selected invoice before will now be listed
  4. press "New" (invoices and outstanding transactions)
  4.1 select invoices that are also paid
  4.2 save each single line, edit it again and enter the amount (where the invoice amount should be auto inserted, please!)
  4.3 repeat that for other open invoices of this partner
  5 check now the total open balance and total amount
  6. change now the paid amount to another amount (maybe if the total amount don't fit paid amount or only for test)
  6.1 lines are gone!!!

  You can repeat that and maybe change Payment Method or Date... same
  happens

  Btw. if you press "New" (invoices and outstanding transactions) the
  list always have all invoices instead of only those that arn't in the
  list of invoices and outstanding transactions...

  video demonstration:
  http://dl.dropbox.com/u/5636258/openerp-multi-invoice-payment.ogv (5MB)

  Thanks.


References