TIP: You can type at any time to perform a new search.

Security findings

Repository
OCA/purchase-workflow · module folder · Try on Runboat
Module version
Category
Purchase Management
Folder size
0.14 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/purchase-workflow
Last tracking update
2026-09-25 23:31:47
Authors
Odoo Community Association (OCA), Elico Corp, Ecosoft
Maintainers
Odoo Community Association (OCA), Elico Corp, Ecosoft
Committers
David Vidal, Weblate, Franco Leyes, OCA-git-bot, oca-ci, mav-adhoc, rahu-dynapps
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module allow purchase order to register deposit similar to that in
sales order

Code Analysis info_outline

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…