Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0043215 | Openbravo ERP | 02. Master data management | public | 2020-02-13 11:05 | 2020-03-03 11:24 | |||||||
Reporter | salvador_campanella | |||||||||||
Assigned To | AtulOpenbravo | |||||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | 3.0PR20Q2 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | dmiguelez | |||||||||||
OBNetwork customer | OBPS | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | 14590 | |||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0043215: IIt is impossible to delete products because of dependency with m_store_pending table | |||||||||||
Description | It is impossible to delete products because of dependency with m_store_pending table | |||||||||||
Steps To Reproduce | Tested on Livebuilds - Go to the product window and create a new product - Assign a new price for the price list "Tarifa Bebidas Alegres" - Assing a new price for the price list "Tarifa de ventas" - Go to the Sales Order Window - Create a new order - On the lines tab add the product created before - Book the order clicking the book button - Click on the close button and reactivate the order - Edit the line created before changing the product for another one - Book the order clicking the book button - Go to the product window and select the product created before - Delete the lines from the prince and accounting tabs - Try to delete the product Result: it's not possible - try to delete the product directly from the database and the following message appears ------------------------------------------ '''ERROR: update or delete on table "m_product" violates foreign key constraint "m_storage_pending_m_product" on table "m_storage_pending" DETAIL: Key (m_product_id)=(44C8B4AFBB764515994726F4E3EC66DF) is still referenced from table "m_storage_pending". ********* Error ********* ERROR: update or delete on table "m_product" violates foreign key constraint "m_storage_pending_m_product" on table "m_storage_pending" SQL state: 23503 Detail: Key (m_product_id)=(44C8B4AFBB764515994726F4E3EC66DF) is still referenced from table "m_storage_pending". ------------------------------------------ - If you check this line in m_storage_pending the qtyreserved column value is 0 and should be possible delete the product | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2020-02-13 11:05 | salvador_campanella | New Issue | ||||||||||
2020-02-13 11:05 | salvador_campanella | Assigned To | => Triage Finance | |||||||||
2020-02-13 11:05 | salvador_campanella | OBNetwork customer | => OBPS | |||||||||
2020-02-13 11:05 | salvador_campanella | Modules | => Core | |||||||||
2020-02-13 11:05 | salvador_campanella | Support ticket | => 14590 | |||||||||
2020-02-13 11:05 | salvador_campanella | Triggers an Emergency Pack | => No | |||||||||
2020-02-18 15:48 | Practics | Issue Monitored: Practics | ||||||||||
2020-02-25 07:58 | AtulOpenbravo | Status | new => scheduled | |||||||||
2020-02-25 07:58 | AtulOpenbravo | Note Added: 0118066 | ||||||||||
2020-02-28 11:17 | AtulOpenbravo | Assigned To | Triage Finance => AtulOpenbravo | |||||||||
2020-02-28 11:29 | AtulOpenbravo | Relationship added | depends on 0043368 | |||||||||
2020-03-02 10:16 | hgbot | Checkin | ||||||||||
2020-03-02 10:16 | hgbot | Note Added: 0118226 | ||||||||||
2020-03-02 10:16 | hgbot | Status | scheduled => resolved | |||||||||
2020-03-02 10:16 | hgbot | Resolution | open => fixed | |||||||||
2020-03-02 10:16 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/595393125a8968a8b8025b82244b2209a325649f [^] | |||||||||
2020-03-02 10:16 | hgbot | Checkin | ||||||||||
2020-03-02 10:16 | hgbot | Note Added: 0118227 | ||||||||||
2020-03-02 10:16 | hgbot | Checkin | ||||||||||
2020-03-02 10:16 | hgbot | Note Added: 0118228 | ||||||||||
2020-03-03 11:24 | dmiguelez | Review Assigned To | => dmiguelez | |||||||||
2020-03-03 11:24 | dmiguelez | Note Added: 0118289 | ||||||||||
2020-03-03 11:24 | dmiguelez | Status | resolved => closed | |||||||||
2020-03-03 11:24 | dmiguelez | Fixed in Version | => 3.0PR20Q2 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|