Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 3 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 9 Odoo series since 10.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.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

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 3

XML IDNameModelTypeStatus
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_method Selection
    default='percentage' required=True string='What do you want to invoice?' args: [('percentage', 'Deposit payment (percentage)'), ('fixed', 'Deposit payment (fixed amount)')]
  • amount Float
    help='The amount to be invoiced in advance, taxes excluded.' required=True string='Deposit Payment Amount'
  • deposit_account_id Many2one → account.account
    comodel_name='account.account' compute='_compute_deposit_account_id' domain=[('active', '=', True)] help='Account used for deposits' readonly=False store=True string='Expense Account'
  • deposit_taxes_id Many2many → account.tax
    comodel_name='account.tax' compute='_compute_deposit_account_id' help='Taxes used for deposits' readonly=False store=True string='Vendor Taxes'
  • purchase_deposit_product_id Many2one → product.product
    comodel_name='product.product' default=<expr> domain=[('type', '=', 'service')] string='Deposit Payment Product'
Public methods (1)
  • create_invoices(self)

New fields (0)

No new fields.

Public methods (1)
  • copy_data(self, default=None)

New fields (1)
  • is_deposit Boolean
    help='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'
Public methods (0)

No public methods.

New fields (2)
  • purchase_deposit_limit_order_total Boolean
    help='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_id Many2one → product.product
    comodel_name='product.product' domain=[('type', '=', 'service')] help='Default product used for payment advances.'
Public methods (0)

No public methods.

New fields (2)
  • purchase_deposit_limit_order_total Boolean
    readonly=False related='company_id.purchase_deposit_limit_order_total'
  • purchase_deposit_product_id Many2one
    readonly=False related='company_id.purchase_deposit_product_id'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…