Stock Move Line Expiration Date Required
stock_move_line_expiration_date_required · OCA/stock-logistics-workflow
-
Security25/25No findings
-
Activity25/25Human commit this month
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Description
This module causes Stock Move Lines with products that have been configured to use an expiration date and have the expiration time set to 0 days after receipt to have their expiration date filled in manually and not be auto-calculated.
Expiration date on product that have been configured to use an expiration date will be a required field.
If you configure a product to use an expiration date and you do not set the expiration time (0 days after receipt) then you will be required to manually enter the expiration date on the stock move line, otherwise, expiration date will be auto-calculated as usual.
Pickings with products configured with an expiration date will not be allowed to be confirmed if any of his stock move lines (related to products with expiration date) have an empty expiration date.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_stock_move_line_operation_tree_expiry |
stock.move.line.inherit.tree | stock.move.line | tree | Inherits product_expiry.view_stock_move_line_operation_tree_expiry |
view_stock_move_operations |
stock.move.form | stock.move | form | Inherits stock.view_stock_move_operations |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
-
all_expiry_dates_setBooleancompute='_compute_all_expiry_dates_set'
No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…