← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 684832] Re: advance payment in point of sale

 

Hello Aline,

I have tested it with latest revision.

First, in make payment wizard, amount field is calculated by (total -
paid). Right ?

Currently what happens is when you ticked advance from 'make payment'
wizard, It will ask you for product (type: service) which is required.
There is on change method on this product(advance) that will calculate
amount by subtracting list price of that product(advance) from current
amount and after that, by clicking on make payment button, it will
create an order line for that product with negative quantity. Then it
will calculate total of order according to order lines. It will also
update paid field. You can check it by putting it in view file.

Now when you clicked on make payment wizard again, it will show you
amount (current total - current paid).

So according to me, it shows right value in amount. What should be the
right flow? Your suggestions please ......

Thanks.

-- 
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/684832

Title:
  advance payment in point of sale

Status in OpenObject Addons Modules:
  In Progress

Bug description:
  in point of sale (trunk)

if the "advance payment" check box is selected, when you make the total payment, the advance should be deducted from the total amount 

example :

1) I sell 1 pc at 250 
2) i make an advance of 150 (clicking make payment)
3) i make the final payment (clicking twice make payment)
-> the amount should be 100 because the customer has already paid 150 => total amount is well 250





References