Repository
OCA/account-invoicing · module folder · Try on Runboat
Module version
1.0.0
Category
Purchases
Folder size
0.21 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/account-invoicing
Last tracking update
2026-08-07 08:42:46
Authors
Odoo Community Association (OCA), Tecnativa, ForgeFlow
Maintainers
Odoo Community Association (OCA), Tecnativa, ForgeFlow
Committers
Carlos Lopez, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module extends the functionality of purchase orders to better
manage supplier returns and refunds.

In the purchase order you are able to display, for each line:

- Billed Quantity and Refunded Quantity, as separate fields.
- Received Quantity and Returned Refundable Quantity, as separate
  fields.

You have the option to create a vendor bill or a refund. In the bill or
refund the correct quantity will be proposed, based on those fields.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
purchase_order_view_form_inherit purchase.order.form purchase.order form Inherits purchase_stock.purchase_order_view_form_inherit
view_invoice_supplier_purchase_form account.move form Inherits purchase.view_move_form_inherit_purchase
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • invoice_refund_count Integer
    compute='_compute_invoice_refund_count' string='# of Invoice Refunds'
Public methods (3)
  • action_create_invoice_refund(self)
    Create the refund associated to the PO.
  • action_view_invoice(self, invoices=False)
    Change super action for displaying only normal invoices.
  • action_view_invoice_refund(self, invoices=False)
    This function returns an action that display existing vendor refund bills of given purchase order ids. When only one found, show the vendor bill immediately.

New fields (2)
  • qty_refunded Float
    compute='_compute_qty_refunded' digits='Product Unit of Measure' string='Refunded Qty'
  • qty_returned Float
    compute='_compute_qty_returned' digits='Product Unit of Measure' help='This is ONLY the returned quantity that is refundable.' store=True string='Returned* Qty'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
114 days ago
Last activity
59 days ago
Repository
OCA/account-invoicing
Pull request
[19.0][MIG] purchase_stock_picking_return_invoicing: Migration to 19.0 (#2337)