Notes |
|
|
Test plan:
As F&B Admin:
- Create an Attribute Set. Check only Lot flag.
- Create another Attribute Set. Check Lot and Require At Least One Value flags.
- Create a product and assign the first attribute set to it.
- Create another product and assign the second attribute set to it.
- Create a Goods Receipt.
Add a line with first product, quantity = 1.
Add a line with second product, quantity = 2.
Add another line with second product, quantity = 3.
- Create a Goods Shipment and add three lines in order to leave the stock of created products to 0
- Create a Physical Inventory header and launch the Create Inventory Count Process, leaving Inventory Quantity option empty.
Check a line is created for the first product (non mandatory attribute) but not for the second product (mandatory attribute).
Increase the quantity count of the line created for the first product to 1 and process the inventory.
- Move to the created Goods Receipt and click on Close button. Select Void and click Ok.
Realize Create Physical Inventory popup is shown with a grid with two lines (one for each receipt line with a mandatory attribute and without stock)
Click on Cancel. Realize no stock error message is shown.
Click on Close button. Select Void and click Ok.
Realize a completed succesfully message is shown.
- Go to Physical Inventory window.
Realize an inventory has been created with previous two lines, each one with receipt movement quantity. |
|
|
(0080329)
|
hgbot
|
2015-09-11 09:32
|
|
Repository: erp/devel/pi
Changeset: 17eb51a4c06e4c52758955c846be5a7b91c4edcb
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Thu Sep 10 10:08:39 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/17eb51a4c06e4c52758955c846be5a7b91c4edcb [^]
Fixes issue 30033: Can't create stock for product with attribute without stock
We will not be able to void a receipt with a product with a mandatory attribute set value and without stock, if client does not allow negative stock. We will also not be able to create an inventory to increase the stock of this product because we can not select this attribute set value with a selector, and Create Inventory Count List process does not insert lines with products without stock if product has a mandatory attribute.
Now, if we are voiding a Goods Receipt with any line with mandatory attribute set value and without stock, a new popup will allow us to automatically create a Physical Inventory to generate stock for this product and then void the receipt.
---
M src-db/database/sourcedata/AD_TEXTINTERFACES.xml
M src/org/openbravo/erpCommon/ad_actionButton/ProcessGoods.java
A src/org/openbravo/erpCommon/ad_actionButton/PhysicalInventory.html
A src/org/openbravo/erpCommon/ad_actionButton/PhysicalInventory.xml
A src/org/openbravo/erpCommon/ad_actionButton/PhysicalInventoryGrid.srpt
A src/org/openbravo/erpCommon/ad_actionButton/PhysicalInventoryGrid.xml
---
|
|
|
(0080330)
|
hgbot
|
2015-09-11 09:32
|
|
Repository: erp/devel/pi
Changeset: 9a27b30560fc64f9e5de24d25011310889f867ce
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Fri Sep 11 09:30:57 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9a27b30560fc64f9e5de24d25011310889f867ce [^]
Related to Issue 30033: Code Review Changes.
Removed global variables and transformed them into local ones.
---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/erpCommon/ad_actionButton/PhysicalInventory.html
M src/org/openbravo/erpCommon/ad_actionButton/PhysicalInventory.xml
M src/org/openbravo/erpCommon/ad_actionButton/ProcessGoods.java
---
|
|
|
|
|
|
(0080332)
|
dmiguelez
|
2015-09-11 09:36
(edited on: 2015-09-11 10:08) |
|
The fix to this issue has not been to modify the Create Inventory Count Process.
In order to do so it is needed to be able to differentiate one Attribute Set Instance from another from a user perspective, and it is not possible right now.
What it has been done is to allow to create an Inventory Regularization while Voiding a Goods Receipt for the Products that might rise a problem. This has been done to solve the issue the Client was facing.
The proposed and more general solution would be implemented when possible.
|
|
|
|
|
|
|
|