Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0038822Openbravo ERP03. Procurement managementpublic2018-06-22 21:242019-02-15 10:14
gsuarez 
AtulOpenbravo 
highminorrandom
closedno change required 
5
3.0PR18Q1.3 
3.0PR18Q4 
Sandrahuguet
Core
No
0038822: Create lines from does not work properly if the business partner's address is not visible
In the purchase invoice when clicking on the process of creating lines from, it works in an inappropriate way in grid mode and in form mode, when the third party's address parameter is loaded as "undefined"

In version PR17Q3.3 : works
In version PR18Q1.3 :It doesn't work
Steps:
1.Open Purchase invoice in grid mode
2. make sure that the bussines parter location field is hidden
3. click "Create Lines from " ad select receipt and process
4. make sure the parameter inpcBpartnerLocationId is undefined (attach image, used network tab in the chrome developers tools)
5.the lines created have no tax and line net amt=0
6.Repeat step 3 and 4 in form mode and the created lines have tax and line net amt is correct
No tags attached.
depends on design defect 0038519pi closed markmm82 It is needed to refactor the Create Lines From process on Invoice windows 
png pr17q3.3.png (231,077) 2018-06-22 21:24
https://issues.openbravo.com/file_download.php?file_id=11894&type=bug
png

png Screenshot from 2018-06-25 17-56-57.png (104,795) 2018-06-25 17:57
https://issues.openbravo.com/file_download.php?file_id=11898&type=bug
png
Issue History
2018-06-22 21:24gsuarezNew Issue
2018-06-22 21:24gsuarezAssigned To => Triage Finance
2018-06-22 21:24gsuarezFile Added: pr17q3.3.png
2018-06-22 21:24gsuarezModules => Core
2018-06-22 21:24gsuarezResolution time => 1531692000
2018-06-22 21:24gsuarezTriggers an Emergency Pack => No
2018-06-22 21:40gsuarezRegression introduced in release => 3.0PR17Q3.3
2018-06-22 21:40gsuarezDescription Updatedbug_revision_view_page.php?rev_id=17335#r17335
2018-06-25 08:20SandrahuguetAssigned ToTriage Finance => AtulOpenbravo
2018-06-25 08:39SandrahuguetSeveritymajor => minor
2018-06-25 17:56SandrahuguetReview Assigned To => Sandrahuguet
2018-06-25 17:56SandrahuguetNote Added: 0105365
2018-06-25 17:56SandrahuguetStatusnew => closed
2018-06-25 17:56SandrahuguetResolutionopen => unable to reproduce
2018-06-25 17:57SandrahuguetFile Added: Screenshot from 2018-06-25 17-56-57.png
2018-06-25 20:52gsuarezResolutionunable to reproduce => open
2018-06-26 08:34SandrahuguetResolutionopen => unable to reproduce
2018-06-26 10:02SandrahuguetStatusclosed => new
2018-06-26 10:02SandrahuguetResolutionunable to reproduce => open
2018-06-26 10:02SandrahuguetRegression introduced in release3.0PR17Q3.3 =>
2018-06-26 10:02SandrahuguetReproducibilitysometimes => random
2018-06-26 10:06SandrahuguetNote Added: 0105379
2018-06-27 13:24AtulOpenbravoNote Added: 0105476
2018-06-27 13:41AtulOpenbravoNote Edited: 0105476bug_revision_view_page.php?bugnote_id=0105476#r17350
2018-06-27 13:41AtulOpenbravoNote Edited: 0105476bug_revision_view_page.php?bugnote_id=0105476#r17351
2018-06-27 13:43AtulOpenbravoNote Edited: 0105476bug_revision_view_page.php?bugnote_id=0105476#r17352
2018-06-27 14:02SandrahuguetResolution time1531692000 =>
2018-06-28 08:44SandrahuguetRelationship addeddepends on 0038519
2018-07-03 10:30SandrahuguetStatusnew => acknowledged
2018-07-03 10:30SandrahuguetStatusacknowledged => scheduled
2018-07-03 10:30SandrahuguetStatusscheduled => acknowledged
2019-02-15 10:14SandrahuguetStatusacknowledged => scheduled
2019-02-15 10:14SandrahuguetNote Added: 0109853
2019-02-15 10:14SandrahuguetStatusscheduled => closed
2019-02-15 10:14SandrahuguetResolutionopen => no change required
2019-02-15 10:14SandrahuguetFixed in Version => 3.0PR18Q4

Notes
(0105365)
Sandrahuguet   
2018-06-25 17:56   
Closed because of unable to reproduce.

Partner Address field is mandatory, but if you hide this field, the partner address in the purchase invoice is the default address of the business partner.
If the business partner has not a default address the header can not be saved. See attached image.
(0105379)
Sandrahuguet   
2018-06-26 10:06   
Testing in more detail we have been able to reproduce the issue but in a random way. We have also been able to reproduce in 3.0PR17Q3.3 , version in which it is said in issue description that works . For this reason we consider that it is not regression
(0105476)
AtulOpenbravo   
2018-06-27 13:24   
(edited on: 2018-06-27 13:43)
Steps when inpcBpartnerLocationId is set as undefined

- Login as System Administrator
- Make sure that Partner Address field in Purchase Invoice Header is set as Displayed = No.
- Logout and Login as F&B International Group Admin.
- Open Purchase invoice in Grid view.
- Create a record for business partner "Bebidas Alegres, S.L." in Grid View.
- Click "Create Lines from".
- Realize that the parameter inpcBpartnerLocationId is undefined (attach image, used network tab in the chrome developers tools)
- Close "Create Lines from" and reopen it for the same invoice record.
- Realize that the parameter inpcBpartnerLocationId is set properly with id.
- To reproduce it again, close Purchase Invoice window and open again it in Grid View.
- Click "Create Lines from".
- Realize that the parameter inpcBpartnerLocationId is undefined (attach image, used network tab in the chrome developers tools)

Note: inpcBpartnerLocationId is set undefined only when Purchase Invoice record is created or open in Grid view only for the first time. Next time closing and re-opening the Create Lines from, inpcBpartnerLocationId is set with proper id.

If there is any Goods Receipt / Order for business partner pending to be invoiced and inpcBpartnerLocationId is found to be set as undefined then the line is created with tax and line net amount.

(0109853)
Sandrahuguet   
2019-02-15 10:14   
Issue fixed in the Create Lines From refactor
https://issues.openbravo.com/view.php?id=38519 [^]