Repository
OCA/purchase-workflow · module folder · Try on Runboat
Module version
1.0.0
Category
Purchase
Folder size
0.06 MB
License
AGPL-3
Application
No
Auto-installable
Yes
Website
https://github.com/OCA/purchase-workflow
Last tracking update
2026-08-07 07:47:42
Authors
Odoo Community Association (OCA), Ecosoft
Maintainers
Odoo Community Association (OCA), Ecosoft
Committers
Saran440, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_purchase_create_invoice_plan Create Invoice Plan purchase.create.invoice.plan Inherits purchase_invoice_plan.view_purchase_create_invoice_plan
view_purchase_order_form_inherit view.purchase.order.inherit purchase.order form Inherits purchase_deposit.view_purchase_order_form_inherit
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (5)

New fields (0)

No new fields.

Public methods (2)
  • create_invoices(self)
  • default_get(self, fields_list)
    @api.model

New fields (2)
  • advance Boolean
    default=False string='Deposit on 1st Invoice'
  • advance_percent Float
    default=1 required=True string='Percent Deposit'
Public methods (1)
  • purchase_create_invoice_plan(self)

New fields (1)
  • invoice_type Selection
    ondelete={'advance': 'cascade'} selection_add=[('advance', 'Deposit')]
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • create_invoices_by_plan(self)

New fields (1)
  • need_advance Boolean
    compute='_compute_need_advance' help='True if use 1st deposit invoice plan, but no deposit yet'
Public methods (2)
  • action_create_invoice(self)
    If there is deposit installment, and no invoice is_deposit yet. Give user a warning.
  • create_invoice_plan(self, num_installment, installment_date, interval, interval_type)

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
81 days ago
Last activity
70 days ago
Repository
OCA/purchase-workflow
Pull request
[18.0][MIG] purchase_invoice_plan_deposit (#3083)