OCA / l10n-thailand

Thai localization
GNU Affero General Public License v3.0
50 stars 65 forks source link

[16.0][ADD] l10n_th_account_payment_register_order #444

Open kittiu opened 6 months ago

kittiu commented 6 months ago

By standard Odoo, from an invoice, user make payment by click on Register Payment which launch a Payment Wizard.

This module change Payment Register Wizard which was models.TransientModel into a permanent menu Payment Register models.Model

The way the payment works is still the same as before, but it gives extra benefits,

Configuration

To use the new persistent payment register document, go to Invoice Settings.

image

image

kittiu commented 6 months ago

Usage example,

Create 2 invoices 100 USD, both has withholding tax 3 USD

image

Click Register Payment, now the Payment Register wizard become a new document by itself.

  1. Amount auto deducted as usual = 200 - 6 = 194 USD
  2. As Withholding Tax = 6 USD

image

User can chang, amount, change to multi deduct and add another deduct

image

Create Payment (1 payment). It is also possible to cancel it (payment will be set to draft and reconciled from invoices)

image

Re-reconcile the same invoice and payment again.

image

kittiu commented 6 months ago

I think it is normal, because the Journal Entry is already created, and it won't allow changing Journal. @Nantikan23 The point is, the Journal Number is also ran. So I think we shouldn't change Journal.

Saran440 commented 5 months ago

Change this PR following: