Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0031835 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 02. Master data management | major | always | 2016-01-08 08:55 | 2016-03-17 10:54 | |||
Reporter | VictorVillar | View Status | public | |||||
Assigned To | aferraz | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | e3220d26e44f | ||||
Projection | none | ETA | none | Target Version | 3.0PR16Q2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Review Assigned To | vmromanos | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0031835: Not possible to change the product definition to Stocked under some circumstancies | |||||||
Description | Not possible to change the product definition to Stocked under some circumstancies | |||||||
Steps To Reproduce | As group admin role, Go to Product window: Create a new one. Item and stocked = Y Org: * Price list: Bebidas alegres Go to physical inventory: add 1 unit of this product Process it. Go to Goods Shipment window and add 1 unit of this product. Process it. Change the definition of the product as Service. Try to change the definition to Item and Stocked again. You can not do that. Error: You cannot change the product to stocked because it has completed documents which would generate inventory transactions | |||||||
Proposed Solution | If there is a warehouse/sales order document related with a product it should not be possible to change the stocked flag. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||||||||||||||||||||||||||||||
|
Notes | |
(0083225) aferraz (manager) 2016-01-13 11:16 |
Test plan I: - Create a stocked product. - Create a purchase order for that product but do not book it. - Try to change the product to no stocked. An error is shown: "You cannot change the product stocked flag because it has related documents" - Book the purchase order. - Try to change the product to no stocked. An error is shown: "You cannot change the product stocked flag because it has related documents" Test plan II: - Create a no stocked product. - Create a purchase order for that product but do not book it. - Try to change the product to stocked. An error is shown: "You cannot change the product stocked flag because it has related documents" - Book the purchase order. - Try to change the product to stocked. An error is shown: "You cannot change the product stocked flag because it has related documents" Repeat test I and II using sales order, purchase invoice, sales invoice, goods receipt, goods shipment, goods movement, internal consumption, physical inventory and bill of materials production instead of purchase order. |
(0083249) hgbot (developer) 2016-01-13 16:22 |
Repository: erp/devel/pi Changeset: e3220d26e44f380077a80496a883e07c7f4a1b9e Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com> Date: Mon Jan 11 17:23:56 2016 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/e3220d26e44f380077a80496a883e07c7f4a1b9e [^] Fixes issue 31835: Not possible to change product to stocked Stocked flag in Product window will not be updatable in case product is present in any order, invoice or warehouse document. --- M src-db/database/model/triggers/M_PRODUCT_TRG.xml M src-db/database/sourcedata/AD_MESSAGE.xml --- |
(0083250) hgbot (developer) 2016-01-13 16:22 |
Repository: erp/devel/pi Changeset: 8d9510cd867e959b53fec9be671e3370bc33050f Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com> Date: Wed Jan 13 15:31:26 2016 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/8d9510cd867e959b53fec9be671e3370bc33050f [^] Related to issue 31835: code review improvements The old messages have been reverted because it could be used by external modules, so it could be considered as a functional API Change. Create a new message instead and improve it to be more descriptive. Modified pl/sql comment to reflect the new behavior and to avoid confusions in the future --- M src-db/database/model/triggers/M_PRODUCT_TRG.xml M src-db/database/sourcedata/AD_MESSAGE.xml --- |
(0083254) vmromanos (manager) 2016-01-13 16:32 |
Code review + testing OK |
(0085037) hudsonbot (developer) 2016-03-17 10:54 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/b22fb0500156 [^] Maturity status: Test |
(0085038) hudsonbot (developer) 2016-03-17 10:54 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/b22fb0500156 [^] Maturity status: Test |
Issue History | |||
Date Modified | Username | Field | Change |
2016-01-08 08:55 | VictorVillar | New Issue | |
2016-01-08 08:55 | VictorVillar | Assigned To | => Triage Finance |
2016-01-08 08:55 | VictorVillar | Modules | => Core |
2016-01-08 08:55 | VictorVillar | Resolution time | => 1452812400 |
2016-01-08 08:55 | VictorVillar | Triggers an Emergency Pack | => No |
2016-01-08 08:56 | VictorVillar | Relationship added | caused by 0025930 |
2016-01-08 08:56 | VictorVillar | Issue Monitored: networkb | |
2016-01-08 09:05 | aferraz | Assigned To | Triage Finance => aferraz |
2016-01-08 15:03 | aferraz | Status | new => scheduled |
2016-01-11 13:39 | aferraz | Relationship added | related to 0031833 |
2016-01-12 18:22 | gorka_gil | Target Version | 3.0PR15Q4.2 => 3.0PR16Q2 |
2016-01-13 10:19 | ngarcia | Issue Monitored: ngarcia | |
2016-01-13 11:16 | aferraz | Note Added: 0083225 | |
2016-01-13 16:22 | hgbot | Checkin | |
2016-01-13 16:22 | hgbot | Note Added: 0083249 | |
2016-01-13 16:22 | hgbot | Status | scheduled => resolved |
2016-01-13 16:22 | hgbot | Resolution | open => fixed |
2016-01-13 16:22 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/e3220d26e44f380077a80496a883e07c7f4a1b9e [^] |
2016-01-13 16:22 | hgbot | Checkin | |
2016-01-13 16:22 | hgbot | Note Added: 0083250 | |
2016-01-13 16:32 | vmromanos | Review Assigned To | => vmromanos |
2016-01-13 16:32 | vmromanos | Note Added: 0083254 | |
2016-01-13 16:32 | vmromanos | Status | resolved => closed |
2016-02-26 14:00 | ngarcia | Relationship added | related to 0032364 |
2016-03-17 10:54 | hudsonbot | Checkin | |
2016-03-17 10:54 | hudsonbot | Note Added: 0085037 | |
2016-03-17 10:54 | hudsonbot | Checkin | |
2016-03-17 10:54 | hudsonbot | Note Added: 0085038 |
Copyright © 2000 - 2009 MantisBT Group |