Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011981Openbravo ERP07. Sales managementpublic2010-01-15 18:122010-01-20 00:01
networkb 
rafaroda 
urgentmajoralways
closedno change required 
5
2.50MP9 
2.50MP11 
Core
No
0011981: Create lines from in Good Shipment does not filter by Organization
A sales order is created for Organization A.
A Good shipment is created (just header) for Organization B. If "Create lines from" is used, Sales Order is shown, although it was created in Organization A.

It should not appear.

In fact, if this sales order (its line) is select, the process will create a line with Organization A, and its header is for B.
After completing the Good Shipment, the process modifies line Organization to B.
That is not correct.
Go to Sales Management > Transactions > Sales Order.
Create a new order for Organization A, and BP, IE, Mcgiver.
Create a line for product Beer.
Go back to Header and complete it.
Go to Sales Management > Transactions > Good Shipment.
Create its header, for Organization B, and same BP as order.
Press "Create lines from". See proposed Sales Order. It shows the previous sales order although it belongs to other Organization.
Show only sales orders/invoices from the organization sub-tree in "Create Lines From" in the Goods Shipment/receipt window.

Review the "Create Lines From" buttons in Sales/Purchase Orders and invoices also.
No tags attached.
related to defect 00119752.50MP11 closed harikrishnan Create Lines From Goods Receipt does not update secondary unit 
related to defect 00119432.50MP11 closed harikrishnan the quantity of line is rounded when it is created by "create from lines" in goods receipt 
Issue History
2010-01-15 18:12networkbNew Issue
2010-01-15 18:12networkbAssigned To => rafaroda
2010-01-17 16:50rafarodaRelationship addedrelated to 0011975
2010-01-17 16:53rafarodaRelationship addedrelated to 0011943
2010-01-18 09:21rafarodaPriorityimmediate => urgent
2010-01-18 09:21rafarodaStatusnew => scheduled
2010-01-18 09:21rafarodaSteps to Reproduce Updated
2010-01-19 18:23rafarodaNote Added: 0023575
2010-01-19 18:23rafarodaStatusscheduled => closed
2010-01-19 18:23rafarodaResolutionopen => no change required
2010-01-20 00:01anonymoussf_bug_id0 => 2935294

Notes
(0023575)
rafaroda   
2010-01-19 18:23   
The ability to select or not an Order (or an Invoice) in the "Create Lines From" pop-up inside "Goods Receipt" or "Goods Shipment" window depends on the organization(s) that the role of the logged user has access to.

That said, the ability to select or not an Order (or an Invoice) in the "Create Lines From" pop-up inside "Goods Receipt" or "Goods Shipment" window does NOT depend on the "Goods Receipt" or "Goods Shipment" organization.

See an example:
1) Log in as:
* User = Openbravo
* Role = Openbravo Admin (Org Access of this role is *, Main, A, A1, A2, B, B1, ...)
* Organization = Main
2) Create a new Sales Order in Organization A for Business Partner = Red Bunny, add some lines and complete it.
3) Create a new Sales Invoice in Organization B for Business Partner = Red Bunny, add some lines and complete it.
4) Create a new Goods Shipment header in Organization A for Business Partner = Red Bunny and click on "Create Lines From": you can select both the Sales Order in A and the Sales Invoice in B (since Org Access of Openbravo Admin role is *, Main, A, A1, A2, B, B1, ...).
5) Log in as:
* User = Openbravo
* Role = Openbravo Admin (Org Access of this role is *, Main, A, A1, A2, B, B1, ...)
* Organization = A
6) Navigate to the Goods Shipment header in Organization A for Business Partner = Red Bunny and click on "Create Lines From": you can select both the Sales Order in A and the Sales Invoice in B (since Org Access of Openbravo Admin role is *, Main, A, A1, A2, B, B1, ...).
7) Create a new role:
* Name = Sales Manager Org A
* User Level = Client + Organization
8) Click on Grant Access button and select:
* Module = Sales Management
* Access = All
9) In Org Access tab create a new record for Organization A.
10) Navigate to User = Openbravo and give add a new User Role = Sales Manager Org A
10) Log in as:
* User = Openbravo
* Role = Sales Manager Org A (Org Access of this role is A)
* Organization = A
11) Navigate to the Goods Shipment header in Organization A for Business Partner = Red Bunny and click on "Create Lines From": you can select the Sales Order in A but NOT the Sales Invoice in B (since Org Access of Sales Manager Org A role is only A).