Confirm about payment button.

98 views
Skip to first unread message

Hiep Lq

unread,
Feb 14, 2014, 2:59:12 AM2/14/14
to idem...@googlegroups.com

I play with payment button in invoice (vendor) window.
I see something is strange with me. anyone can help me figure out it.

* system config cash as payment = true
* make invoice with payment rule is "cash"
* complete invoice.

1. in http://wiki.idempiere.org/en/NF1.0_PaymentField i see, payment create after close payment dialog
but in practice, payment is create after complete invoice. => document is out date?

2. In payment dialog I change amount value, but it's not use anywhere.
because I think, in this case, should change amount field to read only?

3. when I change Account date then account date of invoice is update flow by this value.
but account fact is not report. because exist a consistent data between invoice and account fact?

Carlos Antonio Ruiz Gomez

unread,
Feb 15, 2014, 9:17:07 AM2/15/14
to idem...@googlegroups.com
1. That's a special case for Cash payment rule not related to the button.

2. Seems weird - it's also showing the amount negative and creating the
payment with the invoice amt positive
Also the button keeps enabled after the invoice is paid and allows me to
change things but apparently it does nothing.

Another test - I created the invoice, made a partial payment and then
the button opened the window but didn't work at all, so, it seems if
there are partial payments it does nothing.

Agree showing that field is misleading.

3. Didn't understand the test case.

Regards,

Carlos Ruiz
> --

Hiep Lq

unread,
Feb 20, 2014, 8:46:45 AM2/20/14
to idem...@googlegroups.com
Thanks carlos.
I want confirm more with you.

1. ok.
new case: make new invoice with payment rule diff "cash"
               complete this invoice.
               change payment rule to "cash", save.
I think when save, process make new payment document as when compleate with payment rule is "cash"

2. "it's also showing the amount negative and creating the 
payment with the invoice amt positive"
=> should fix to display amount with positive?


"Also the button keeps enabled after the invoice is paid and allows me to 
change things but apparently it does nothing"

=> I think we should disable button when invoice is paid. ok?
=> I also think that. we should change value of "payment rule" flow by "payment rule" of payment associate. ok?

3. let me make test case clear.
make new invoice set payment rule = cash
complete invoice, a account fact is post with date account  = now.
use button payment to show payment dialog.
change value of account date to "1/1/2010"
save dialog.
at the moment value of account date in invoice set to "1/1/2010"
but account date of account fact associate is not change.
I think it make data isn't consistent.
Reply all
Reply to author
Forward
0 new messages