There are not problems when you pay an invoice that create only one
"account.move.line" during the validation, but my example is a bit more
complex:
1.My company currency is in USD.
2.I create a cash journal, with a journal currency in EUR.
3.I create a new payment term like this ( Payment term: "Advance Payment" , with
a computation sequence where
the first row is (sequence:1,line name:Advance, valuation:Percent, Value amount:
0.5,number of days:0, day of the month:0)
and second row is(sequence:5,line name:30 Days End of Month,
valuation:Balance,number of days:30, day of the month:-1)
Now lets create an invoice, ( the currency of invoice will be in USD by
default), choose like a payment term : "Advance Payment"
In this case after the validation of the invoice the system will generate two
account.move.line connected with this invoice.
Now if you try to pay the invoice by the "Payment" button in the invoice form,
choosing like a Payment method "Cash (EUR)" and
inserting in the "paid amount" field an amount smaller than the half of the
total amount of the invoice, i expected that the system will
pay only one of the two "account.move.line" created for this invoice, but the
system change both of them.
Hellp Vinay,
There are not problems when you pay an invoice that create only one Balance, number of days:30, day of the month:-1)
"account.move.line" during the validation, but my example is a bit more
complex:
1.My company currency is in USD.
2.I create a cash journal, with a journal currency in EUR.
3.I create a new payment term like this ( Payment term: "Advance Payment" , with
a computation sequence where
the first row is (sequence:1,line name:Advance, valuation:Percent, Value amount:
0.5,number of days:0, day of the month:0)
and second row is(sequence:5,line name:30 Days End of Month,
valuation:
Now lets create an invoice, ( the currency of invoice will be in USD by
default), choose like a payment term : "Advance Payment"
In this case after the validation of the invoice the system will generate two
account.move.line connected with this invoice.
Now if you try to pay the invoice by the "Payment" button in the invoice form,
choosing like a Payment method "Cash (EUR)" and
inserting in the "paid amount" field an amount smaller than the half of the
total amount of the invoice, i expected that the system will
pay only one of the two "account.move.line" created for this invoice, but the
system change both of them.
Thanks
Salvi