Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||||
View Issue Details | |||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||||
0044622 | Openbravo ERP | 04. Warehouse management | public | 2020-07-16 14:21 | 2020-11-23 12:22 | ||||||||||||||||
Reporter | gorkaion | ||||||||||||||||||||
Assigned To | inigo_lerga | ||||||||||||||||||||
Priority | high | Severity | major | Reproducibility | always | ||||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||||
Product Version | |||||||||||||||||||||
Target Version | Fixed in Version | PR20Q4 | |||||||||||||||||||
Merge Request Status | |||||||||||||||||||||
Review Assigned To | |||||||||||||||||||||
OBNetwork customer | |||||||||||||||||||||
Web browser | |||||||||||||||||||||
Modules | Core | ||||||||||||||||||||
Support ticket | |||||||||||||||||||||
Regression level | |||||||||||||||||||||
Regression date | |||||||||||||||||||||
Regression introduced in release | |||||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||||
Summary | 0044622: Attribute required check in M_TRANSACTION_TRG trigger should be relaxed | ||||||||||||||||||||
Description | In the M_Transaction_TRG trigger there is a check to enforce that an attribute set instance is defined for products that requires attributes This check already has an exception to regularize stock with Physical Inventories. There are known scenarios that require new exceptions to this check. Most of them involve creating transactions when there is no stock of the product. Known cases: 1. POS selling products with no available stock and the Use Attributes preference disabled. 2. AutoBOM executing a production with the preference to consume all the required ingredients quantity even if there is no stock available. 3. BOM Production with the flag to consume all required products when there is not enough stock. | ||||||||||||||||||||
Steps To Reproduce | POS Case. It is working because it throws the triggers. 1. Ensure use attributes preferences is not enabled. 2. Sell a item that uses attributes and that does not have stock. AutoBOM Case. It is required to use an old version, in latest triggers are disabled so it does not fail. 1. Create a BOM with ingredients that use attributes. 2. Ensure that there is not enougth stock of those ingredients. 3. Enable preference to allow negative stock on ingredients. 4. Sell the autobom. BOM Production. 1. Create a BOM Product using parts that require attributes 2. Ensure that parts do not have enough stock 3. Create a new production and check the flag to consume all the required part quantities. 4. It creates production lines with no attributes for the parts with no stock. 5. Process it and check failure. | ||||||||||||||||||||
Proposed Solution | Relax the check to allow no attributes when there is no stock of the product on the transaction storage bin. | ||||||||||||||||||||
Additional Information | |||||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||||
Relationships |
| ||||||||||||||||||||
Attached Files | |||||||||||||||||||||
Issue History | |||||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||||
2020-07-16 14:21 | gorkaion | New Issue | |||||||||||||||||||
2020-07-16 14:21 | gorkaion | Assigned To | => Triage Finance | ||||||||||||||||||
2020-07-16 14:21 | gorkaion | Modules | => Core | ||||||||||||||||||
2020-07-16 14:21 | gorkaion | Resolution time | => 1596664800 | ||||||||||||||||||
2020-07-16 14:21 | gorkaion | Triggers an Emergency Pack | => No | ||||||||||||||||||
2020-07-16 14:24 | gorkaion | Relationship added | blocks 0044596 | ||||||||||||||||||
2020-07-20 12:21 | ngarcia | Issue Monitored: ngarcia | |||||||||||||||||||
2020-07-22 10:15 | dmiguelez | Assigned To | Triage Finance => inigo_lerga | ||||||||||||||||||
2020-07-23 10:00 | inigo_lerga | Status | new => scheduled | ||||||||||||||||||
2020-07-27 15:56 | hgbot | Note Added: 0121643 | |||||||||||||||||||
2020-07-27 16:36 | inigo_lerga | Note Added: 0121648 | |||||||||||||||||||
2020-07-28 09:52 | inigo_lerga | Note Edited: 0121648 | bug_revision_view_page.php?bugnote_id=0121648#r21404 | ||||||||||||||||||
2020-07-28 12:59 | inigo_lerga | Note Edited: 0121648 | bug_revision_view_page.php?bugnote_id=0121648#r21405 | ||||||||||||||||||
2020-07-28 13:00 | inigo_lerga | Note Edited: 0121648 | bug_revision_view_page.php?bugnote_id=0121648#r21406 | ||||||||||||||||||
2020-07-31 10:47 | hgbot | Note Added: 0121735 | |||||||||||||||||||
2020-07-31 10:47 | hgbot | Resolution | open => fixed | ||||||||||||||||||
2020-07-31 10:47 | hgbot | Status | scheduled => closed | ||||||||||||||||||
2020-07-31 10:47 | hgbot | Fixed in Version | => PR20Q4 | ||||||||||||||||||
2020-07-31 10:47 | hgbot | Note Added: 0121736 | |||||||||||||||||||
2020-11-23 12:22 | gorkaion | Issue cloned | 0045477 | ||||||||||||||||||
2020-11-23 12:22 | gorkaion | Relationship added | related to 0045477 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|