Carlos Eduardo Sotelo Pinto
2018-01-30 19:16:13 UTC
Dear comunity
I have an issue related with rounding payments. Let me explain it.
The requirement is, when a customer want to pay an invoice, he could pay on
two different ways
1. If the payment is a litle different than the invoice, like just cents,
the system must be round it on the following ways
- If it is 5 cents to 9, must be rounding to up
- If it is 1 cents to 4, must be rounding to low
On both cases, the invoice must be changed to paid
2. If the payment is the same as the invoice amount,
then all is ok.
I could find the way on solve when the payment amount is greater than
invoice amount, but when it is lower, there is no way to set invoice as
payed since there is a difference on the amounts
Any sugest
Bests
--
Carlos Eduardo Sotelo Pinto
Agile Coach | Python Software Developer | Tryton ERP Consultant
Claro RPC +51 989550602 <989%20550%20602>
Skype: csotelop
GNULinux RU #379182 | GNULinux RM #277661
*Please consider the environment before printing this email*
*Join the campaign at http://thinkBeforePrinting.org
<http://thinkBeforePrinting.org>*
I have an issue related with rounding payments. Let me explain it.
The requirement is, when a customer want to pay an invoice, he could pay on
two different ways
1. If the payment is a litle different than the invoice, like just cents,
the system must be round it on the following ways
- If it is 5 cents to 9, must be rounding to up
- If it is 1 cents to 4, must be rounding to low
On both cases, the invoice must be changed to paid
2. If the payment is the same as the invoice amount,
then all is ok.
I could find the way on solve when the payment amount is greater than
invoice amount, but when it is lower, there is no way to set invoice as
payed since there is a difference on the amounts
Any sugest
Bests
--
Carlos Eduardo Sotelo Pinto
Agile Coach | Python Software Developer | Tryton ERP Consultant
Claro RPC +51 989550602 <989%20550%20602>
Skype: csotelop
GNULinux RU #379182 | GNULinux RM #277661
*Please consider the environment before printing this email*
*Join the campaign at http://thinkBeforePrinting.org
<http://thinkBeforePrinting.org>*
--
You received this message because you are subscribed to the Google Groups "tryton" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/CAEhw%3DE_dWmHmeJq9qjvSXUTBJCjejoSa%3DSfVsMDQ0pcQYO%3DWZA%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "tryton" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/CAEhw%3DE_dWmHmeJq9qjvSXUTBJCjejoSa%3DSfVsMDQ0pcQYO%3DWZA%40mail.gmail.com.