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

Security findings

Repository
OCA/stock-logistics-workflow · module folder · Try on Runboat
Module version
1.0.0
Category
Stock
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/stock-logistics-workflow
Last tracking update
2026-10-03 23:56:57
Authors
Odoo Community Association (OCA), Jarsa
Maintainers
Odoo Community Association (OCA), Jarsa
Committers
OCA-git-bot, oca-ci, hitrosol
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module extends the functionality of Stock Scrap to support a tier
validation process.

Code Analysis info_outline

Views touched (2)
XML IDNameModelTypeStatus
stock_scrap_form_view2 stock.scrap form Inherits stock.stock_scrap_form_view2
view_stock_scrap_filter stock.scrap.select - sale_tier_validation stock.scrap search Inherits stock.stock_scrap_search_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • button_scrap(self)
    Fix compatibility with stock_scrap_tier_validation. The way that super opens the scrap form in a popup window prevents the tier validation UI elements from being effective. The record is only saved when closing the popup. Given that it's only possible to check if the record needs validation after saving, the popup will always raise the 'validation required' error which blocks saving it. As a workaround, we open the unsaved scrap record in the main window so that it can be saved first and then be requested validation for in the usual way.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…