Sale Order Payment Status

by
Odoo

86.89

v 13.0 Third Party 39
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Invoicing (account)
Lines of code 379
Technical Name sale_order_payment_status
LicenseOPL-1
Versions 17.0 13.0 11.0 12.0 15.0 14.0 16.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Invoicing (account)
Lines of code 379
Technical Name sale_order_payment_status
LicenseOPL-1
Versions 17.0 13.0 11.0 12.0 15.0 14.0 16.0

With this app, it will be easy to manage sale order payment status.


Sale order payment status will be showed on Sale Order Tree and Sale Order Form. Do a payment on Sale Order Form.

List features:

1. Show Sale Order Payment status on Sale Order Tree and Form.

2. Automatically calculate amount due of sale order and show it on sale order form.

3. Show payment info on sale order.

4. Do Payment on sale order form. Automatically reconcile invoice and re-calculate amount due.

5. Filters by Payment Status on Sale Order Tree.


List Payment Status:

1. No Invoice: The Sale Order hasn't any invoice. The status will be changed to "Not Paid" when one invoice is created.

2. Not Paid: The Sale Order has some invoices, and no invoice is overdue.
The status will be changed to "Fully Paid" automatically, when all of invoices was paid.
The status will be changed to "Partial Paid" automatically, when one of invoices was partial paid.
The status will be changed to "Overdue" automatically, when one of invoices was overdue.

3. Partial Paid: The Sale Order has some invoices, one of them was partial paid and all of them haven't been overdue.
The status will be changed to "Fully Paid" automatically, when all of invoices was paid.
The status will be changed to "Overdue" automatically, when one of invoices was overdue.

4. Overdue: The Sale Order has some invoices, one of them was overdue. The status will be changed to "Fully Paid" automatically, when all of invoices was paid.

5. Fully Paid: The Sale Order has some invoices, all of them was paid.


List Example:

1. Example 1: "No invoice" status will be updated to "Not Paid" status.

2. Example 2: "Not Paid" status will be updated to "Partial Paid" status and from "Partial Paid" to "Fully Paid".

3. Example 3: Do payment for sale order that has some invoices.

4. Example 4: Filter Sale Order Payment Status.



Example 1: "No invoice" status will be updated to "Not Paid" status

Sale order payment Status is "No invoice".


After one invoice was created. The payment status was changed to "Not Paid", and amount due was showed on the form
if User is belong to Billing group (group_account_invoice) the "Register Payment" button will be showed.


Back To List Example


Example 2: "Not Paid" status will be updated to "Partial Paid" status and from "Partial Paid" to "Fully Paid"

Click on "Register Payment" button to do a payment from sale order form.


In put Amount less than Sale order amount due, and then click on "Create Payment" button
After create payment. The payment status was changed to "Partial Paid", and payment detail was showed.

Click on "Register Payment" button again to do a payment for rest amount.

After create payment. The payment status was changed to "Fully Paid", and payment detail was showed.

Back To List Example


Example 3: Do payment for sale order that has some invoices

This sale order has 3 invoices, amount due of each invoice is $174.04, and total amount due of 3 invoices is $522.12

Invoice INV/2021/10/0035
Invoice INV/2021/10/0036
Invoice INV/2021/10/0037


From sale order form, do a frist payment by click on "Register Payment" button, and input amount $100.12


Frist payment was reconciled for INV/2021/10/0037 invoice

Back to sale order form and do a second payment by click on "Register Payment" button, and input amount $300.00


Second payment was reconciled $73.92 for INV/2021/10/0037 invoice

And was reconciled $174.04 for INV/2021/10/0036 invoice

And was reconciled $52.04 for INV/2021/10/0035 invoice

Back to sale order form and do a third payment by click on "Register Payment" button, and input the rest amount


Third payment was reconciled $122.00 for INV/2021/10/0035 invoice

Back To List Example


Example 4: Filter Sale Order Payment Status


Back To List Example


Email Support: huynh.giang.son.gs@gmail.com

Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
by
MIKEHSU
on 8/26/22, 2:17 AM

When I want to update, an error is generated Error: Odoo Server Error Traceback (most recent call last): File "C:\Program Files (x86)\Odoo 13.0\server\odoo\addons\base\models\ir_ui_view.py", line 394, in _check_xml self.postprocess_and_fields(view.model, view_doc, view.id) File "C:\Program Files (x86)\Odoo 13.0\server\odoo\addons\base\models\ir_ui_view.py", line 987, in postprocess_and_fields self.raise_view_error(message, view_id) File "C:\Program Files (x86)\Odoo 13.0\server\odoo\addons\base\models\ir_ui_view.py", line 614, in raise_view_error raise ValueError(message) ValueError: Field `warehouse_id` does not exist


by
huynh.giang.son.gs@gmail.com
on 8/27/22, 1:09 AM Author

Hi Mikehsu,

I tried to upgrade "sale_order_payment_status" app normally. I also checked your error message and recognized I didn't use 'warehouse_id' field in /sale_order_payment_status/views/view_order_form.xml

Did you have any change in /sale_order_payment_status/views/view_order_form.xml

If you have, can you send me "sale_order_payment_status" app to my email "huynh.giang.son.gs@gmail.com", I will help you to check this issue.


Regards,

Sonny


by
MIKEHSU
on 8/26/22, 8:07 AM Confirmed Purchase

ODOO 13.0


by
MIKEHSU
on 8/26/22, 8:06 AM Confirmed Purchase

upgrade  app


by
MIKEHSU
on 8/26/22, 8:05 AM Confirmed Purchase

When I want to update, an error is generated

Error: Odoo Server

Error Traceback (most recent call last): File "C:\Program Files (x86)\Odoo 13.0\server\odoo\addons\base\models\ir_ui_view.py", line 394, in _check_xml self.postprocess_and_fields(view.model, view_doc, view.id) File "C:\Program Files (x86)\Odoo 13.0\server\odoo\addons\base\models\ir_ui_view.py", line 987, in postprocess_and_fields self.raise_view_error(message, view_id) File "C:\Program Files (x86)\Odoo 13.0\server\odoo\addons\base\models\ir_ui_view.py", line 614, in raise_view_error raise ValueError(message) ValueError: Field `warehouse_id` does not exist


by
MIKEHSU
on 8/26/22, 2:17 AM Confirmed Purchase
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\tools\convert.py", line 712, in parse
    self._tag_root(de)
  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\tools\convert.py", line 674, in _tag_root
    f(rec)
  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\tools\convert.py", line 674, in _tag_root
    f(rec)
  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\tools\convert.py", line 577, in _tag_record
    record = model._load_records([data], self.mode == 'update')
  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\models.py", line 4053, in _load_records
    data['record']._load_records_write(data['values'])
  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\addons\base\models\ir_ui_view.py", line 1374, in _load_records_write
    super(View, self)._load_records_write(values)
  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\models.py", line 3991, in _load_records_write
    self.write(values)
  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\addons\base\models\ir_ui_view.py", line 493, in write
    res = super(View, self).write(self._compute_defaults(vals))
  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\models.py", line 3569, in write
    fields[0].determine_inverse(real_recs)
  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\fields.py", line 1120, in determine_inverse
    getattr(records, self.inverse)()
  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\addons\base\models\ir_ui_view.py", line 299, in _inverse_arch
    view.write(data)
  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\addons\base\models\ir_ui_view.py", line 493, in write
    res = super(View, self).write(self._compute_defaults(vals))
  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\models.py", line 3564, in write
    real_recs._validate_fields(set(vals) - set(inverse_fields))
  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\models.py", line 1176, in _validate_fields
    check(self)
  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\addons\base\models\ir_ui_view.py", line 396, in _check_xml
    raise ValidationError("%s\n\n%s" % (_("Error while validating view"), tools.ustr(e)))
odoo.exceptions.ValidationError: ('Error while validating view\n\nField `warehouse_id` does not exist\n\nError context:\nView `sale.order.form`\n[view_id: 2521, xml_id: sale_order_payment_status.view_order_form, model: sale.order, parent_id: 1034]', None)

Re:
by
huynh.giang.son.gs@gmail.com
on 8/26/22, 4:59 AM Author

Hi MIKEHSU

Thanks for your rating.

Could you please give me further details.
You mentioned about the update. You meant update was upgrade my app or you update sale order form view. 

Regrads,
Sonny

by
MIKEHSU
on 8/26/22, 2:17 AM Confirmed Purchase
Error context:
View `sale.order.form`
[view_id: 2521, xml_id: sale_order_payment_status.view_order_form, model: sale.order, parent_id: 1034]


by
MIKEHSU
on 8/26/22, 2:14 AM Confirmed Purchase

When I want to update, an error is generated

 

Error:

Odoo Server Error

 

Traceback (most recent call last):

  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\addons\base\models\ir_ui_view.py", line 394, in _check_xml

    self.postprocess_and_fields(view.model, view_doc, view.id)

  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\addons\base\models\ir_ui_view.py", line 987, in postprocess_and_fields

    self.raise_view_error(message, view_id)

  File "C:\Program Files (x86)\Odoo 13.0\server\odoo\addons\base\models\ir_ui_view.py", line 614, in raise_view_error

    raise ValueError(message)

ValueError: Field `warehouse_id` does not exist


by
MIKEHSU
on 12/22/21, 11:55 PM Confirmed Purchase

GOOD!