Purchase Invoice Plan - Deposit on 1st invoice
purchase_invoice_plan_deposit · OCA/purchase-workflow
Health
42/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 45 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
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.06 MB
Module directory on disk
Code analysis
2 migration notes
5 models
2 views
0 HTTP endpoints
Migration considerations
view_purchase_create_invoice_plan— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceview_purchase_order_form_inherit— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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)
-
advanceBooleandefault=Falsestring='Deposit on 1st Invoice' -
advance_percentFloatdefault=1required=Truestring='Percent Deposit'
-
purchase_create_invoice_plan(self)
New fields (1)
-
invoice_typeSelectionondelete={'advance': 'cascade'}selection_add=[('advance', 'Deposit')]
No public methods.
New fields (0)
No new fields.
Public methods (1)-
create_invoices_by_plan(self)
New fields (1)
-
need_advanceBooleancompute='_compute_need_advance'help='True if use 1st deposit invoice plan, but no deposit yet'
-
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…
Loading…