Purchase Deposit
purchase_deposit · OCA/purchase-workflow
Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 3 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 9 Odoo series since 10.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.14 MB
Module directory on disk
Code analysis
0 migration notes
6 models
3 views
0 HTTP endpoints
Description
This module allow purchase order to register deposit similar to that in sales order
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
res_config_settings_view_form_purchase |
res.config.settings.view.form.inherit.purchase | res.config.settings | form | Inherits purchase.res_config_settings_view_form_purchase |
view_purchase_advance_payment_inv |
Invoice Orders | purchase.advance.payment.inv | form | New |
view_purchase_order_form_inherit |
view.purchase.order.inherit | purchase.order | form | Inherits purchase.purchase_order_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 6
New fields (0)
No new fields.
Public methods (1)-
action_post(self)
New fields (5)
-
advance_payment_methodSelectiondefault='percentage'required=Truestring='What do you want to invoice?' args: [('percentage', 'Deposit payment (percentage)'), ('fixed', 'Deposit payment (fixed amount)')] -
amountFloathelp='The amount to be invoiced in advance, taxes excluded.'required=Truestring='Deposit Payment Amount' -
deposit_account_idMany2one → account.accountcomodel_name='account.account'compute='_compute_deposit_account_id'domain=[('active', '=', True)]help='Account used for deposits'readonly=Falsestore=Truestring='Expense Account' -
deposit_taxes_idMany2many → account.taxcomodel_name='account.tax'compute='_compute_deposit_account_id'help='Taxes used for deposits'readonly=Falsestore=Truestring='Vendor Taxes' -
purchase_deposit_product_idMany2one → product.productcomodel_name='product.product'default=<expr>domain=[('type', '=', 'service')]string='Deposit Payment Product'
-
create_invoices(self)
New fields (0)
No new fields.
Public methods (1)-
copy_data(self, default=None)
New fields (1)
-
is_depositBooleanhelp='Deposit payments are made when creating bills from a purchase order. They are not copied when duplicating a purchase order.'string='Is a deposit payment'
No public methods.
New fields (2)
-
purchase_deposit_limit_order_totalBooleanhelp='Refuse a deposit when the deposits already invoiced, plus the one being registered, exceed the purchase order total.'string='Limit Deposits to Order Total' -
purchase_deposit_product_idMany2one → product.productcomodel_name='product.product'domain=[('type', '=', 'service')]help='Default product used for payment advances.'
No public methods.
New fields (2)
-
purchase_deposit_limit_order_totalBooleanreadonly=Falserelated='company_id.purchase_deposit_limit_order_total' -
purchase_deposit_product_idMany2onereadonly=Falserelated='company_id.purchase_deposit_product_id'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…