Repository
OCA/purchase-workflow · module folder · Try on Runboat
Module version
1.0.2
Category
Warehouse Management
Folder size
0.08 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/purchase-workflow
Last tracking update
2026-08-07 08:09:24
Authors
Camptocamp, Odoo Community Association (OCA), BCIM
Maintainers
Camptocamp, Odoo Community Association (OCA), BCIM
Committers
Weblate, OCA-git-bot, oca-ci, Telmo Santos
Odoo dependencies
Python dependencies
openupgradelib
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
product_packaging_form_view_inherit product.packaging.form.view.inherit product.packaging form Inherits product.product_packaging_form_view
product_packaging_tree_view_inherit product.packaging.tree.view.inherit product.packaging tree Inherits product.product_packaging_tree_view
product_product_tree_view product.product.tree.inherit product.product tree Inherits product.product_product_tree_view
product_template_form_view product.template.form.view product.template form Inherits product.product_template_form_view
product_template_tree_view product.template.tree.inherit product.template tree Inherits product.product_template_tree_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (5)

New fields (1)
  • force_purchase_qty Boolean
    help='Determine if during the creation of a purchase order line, the quantity should be forced with a multiple of the packaging.\nExample:\nYou purchase a product by packaging of 5 products.\nWhen the user will put 3 as quantity, the system can force the quantity to the superior unit (5 for this example).' string='Force purchase quantity'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • min_purchasable_qty Float
    compute='_compute_variant_min_purchasable_qty' help='Minimum purchasable quantity, according to the available packagings, if Only Purchase by Packaging is set.'
Public methods (0)

No public methods.

New fields (2)
  • min_purchasable_qty Float
    compute='_compute_template_min_purchasable_qty' help='Minimum purchasable quantity, according to the available packagings, if Only Purchase by Packaging is set.'
  • purchase_only_by_packaging Boolean
    company_dependent=True default=False help='Restrict the usage of this product on purchase order lines without packaging defined' string='Only purchase by packaging'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

Status
Open migration PR — not merged yet for this version
CI status
checks running
Open since
423 days ago
Last activity
422 days ago
Repository
OCA/purchase-workflow
Pull request
[MIG] purchase_only_by_packaging: Migration to 18.0 (#2729)