Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022665Openbravo ERP03. Procurement managementpublic2012-12-24 08:322013-01-04 09:53
sureshbabu 
pramakrishnan 
highmajoralways
closedfixed 
30Professional Appliance
3.0MP18 
 
Sandrahuguet
Google Chrome
Openbravo 3.0
QA functional test
 https://code.openbravo.com/erp/devel/pi/rev/a3cfaac930ae [^]
No
0022665: In goods receipt, system throws error when i complete the receipt document when there is no lines associated with it.
In Goods Receipt, when i insert new record using Ctrl + I option and after entering BP Details and with out saving the record click complete button, then confirm it by clicking the OK button.
 i am getting the below error.

Error:
The organization of the lines is different and does not depend on the organization associated with the header.
Login as Openbravo/openbravo
Change the role to QA admin role
Navigate to Goods receipt window
create new record by clicking Ctrl + I keys
Then enter Bp Details(Bp: vendor A) and click save button
Then click Complete button
And confirm it by clicking Ok Button

System throws the below error

Error:
The organization of the lines is different and does not depend on the organization associated with the header.

Note 1: Also i am getting the above error message in
Return to vendor shipment
Goods Shipment
Return Material Receipt



Note 2: Actually till MP17.2, system throws error as

"Error: The document cannot be completed because it has no lines"

only from MP18.1, i am getting error as

Error: The organization of the lines is different and does not depend on the organization associated with the header.

No tags attached.
Issue History
2012-12-24 08:32sureshbabuNew Issue
2012-12-24 08:32sureshbabuAssigned To => dmiguelez
2012-12-24 08:32sureshbabuWeb browser => Google Chrome
2012-12-24 08:32sureshbabuModules => Openbravo 3.0
2012-12-24 08:32sureshbabuTriggers an Emergency Pack => No
2012-12-24 08:55sureshbabuWeb browserGoogle Chrome => Google Chrome
2012-12-24 08:55sureshbabuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=4209#r4209
2013-01-02 05:57sureshbabuWeb browserGoogle Chrome => Google Chrome
2013-01-02 05:57sureshbabuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=4240#r4240
2013-01-02 07:29sureshbabuWeb browserGoogle Chrome => Google Chrome
2013-01-02 07:29sureshbabuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=4241#r4241
2013-01-02 12:11sureshbabuWeb browserGoogle Chrome => Google Chrome
2013-01-02 12:11sureshbabuRegression level => QA functional test
2013-01-02 12:11sureshbabuRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/a3cfaac930ae [^]
2013-01-03 07:36pramakrishnanAssigned Todmiguelez => pramakrishnan
2013-01-03 07:44pramakrishnanNote Added: 0055311
2013-01-03 10:44hgbotCheckin
2013-01-03 10:44hgbotNote Added: 0055313
2013-01-03 10:44hgbotStatusnew => resolved
2013-01-03 10:44hgbotResolutionopen => fixed
2013-01-03 10:44hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ae1c846b6f3f35d4089a4a7bffaba12c2a8686e7 [^]
2013-01-03 10:44hgbotCheckin
2013-01-03 10:44hgbotNote Added: 0055314
2013-01-03 10:46SandrahuguetReview Assigned To => Sandrahuguet
2013-01-03 10:46SandrahuguetNote Added: 0055315
2013-01-03 10:46SandrahuguetStatusresolved => closed
2013-01-04 09:53hudsonbotCheckin
2013-01-04 09:53hudsonbotNote Added: 0055351
2013-01-04 09:53hudsonbotCheckin
2013-01-04 09:53hudsonbotNote Added: 0055352

Notes
(0055311)
pramakrishnan   
2013-01-03 07:44   
Test Plan:

Login as Openbravo/openbravo
Navigate to Goods Receipt window
Create header
"Organization" : F&B España - Región Norte
"Business Partner" :Alimentos y Supermercados, S.A
Save the record
Click the "Complete" Button
Notice that it throws the error "Error: The document cannot be completed because it has no lines"
(0055313)
hgbot   
2013-01-03 10:44   
Repository: erp/devel/pi
Changeset: ae1c846b6f3f35d4089a4a7bffaba12c2a8686e7
Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com>
Date: Thu Jan 03 12:02:52 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/ae1c846b6f3f35d4089a4a7bffaba12c2a8686e7 [^]

Fixes Issue 22665 : Wrong error when completing the shipment without lines

---
M src-db/database/model/functions/M_INOUT_POST.xml
---
(0055314)
hgbot   
2013-01-03 10:44   
Repository: erp/devel/pi
Changeset: f6193ba3eb101e929d150635bd4af233c83c1d8c
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Thu Jan 03 10:42:10 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/f6193ba3eb101e929d150635bd4af233c83c1d8c [^]

Related to issue 22665 Code Review

---
M src-db/database/model/functions/M_INOUT_POST.xml
---
(0055315)
Sandrahuguet   
2013-01-03 10:46   
Code review + testing OK
(0055351)
hudsonbot   
2013-01-04 09:53   
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/eea37a82abc2 [^]

Maturity status: Test
(0055352)
hudsonbot   
2013-01-04 09:53   
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/eea37a82abc2 [^]

Maturity status: Test