Skip to content
Health
67/100
fair
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 21 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 10 Odoo series since 9.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.21 MB
Module directory on disk
Code analysis 0 migration notes 3 models 2 views 0 HTTP endpoints

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.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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…

Loading…