Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022015Openbravo ERPA. Platformpublic2012-10-20 17:022013-02-01 12:26
pjuvara 
AugustoMauch 
normalminoralways
closedno change required 
5
3.0MP15.1 
3.0MP20 
Core
No
0022015: Purchase invoice window is not functional after user attempts to create invoice in grid mode for vendor with no location
In order to create an invoice, the business partner must be a vendor with a valid location.

If you create a vendor and you forget to add the location, if you try to create a vendor invoice for that vendor in the Purchase Invoice screen using the grid mode, you get an error when saving.

After that error, the window is no longer working as it does not default any of the fields that it is supposed to default.

To recover users have to logout and login again.
This defect reproduces in any environment, including demo.openbravo.com.

1) Create a new business partner in organization US West.
2) In the vendor tab, click the Vendor box and populate the rest of the fields.
3) DO NOT CREATE a location
4) Navigate to the Purchase Invoice window
5) In grid mode, create a new row and enter Organization US West, and your business partner.
6) Save -> You get an error.
7) Cancel changes.
8) Create a new record in Form view
9) You can see that Transaction Document is now empty and the field does not contain any value.
In form window it checks if all mandatory fields are filled to be able to save. The grid does not therefore, after trying to save it fails. If the grid form would check that too, this would not happen.
Coworking
Issue History
2012-10-20 17:02pjuvaraNew Issue
2012-10-20 17:02pjuvaraAssigned To => dmiguelez
2012-10-20 17:02pjuvaraModules => Core
2012-10-20 17:03pjuvaraTag Attached: Coworking
2012-10-20 17:03pjuvaraSeveritymajor => minor
2012-10-22 15:17naiaramartinezAssigned Todmiguelez => jonalegriaesarte
2012-11-14 14:04jonalegriaesarteAssigned Tojonalegriaesarte => ioritzCia
2012-11-14 14:04jonalegriaesarteTarget Version => 3.0MP18
2012-12-04 11:50jonalegriaesarteTarget Version3.0MP18 => 3.0MP19
2013-01-09 11:29jonalegriaesarteTriggers an Emergency Pack => No
2013-01-09 11:29jonalegriaesarteTarget Version3.0MP19 => 3.0MP20
2013-01-16 18:25ioritzCiaAssigned ToioritzCia => AugustoMauch
2013-01-16 18:25ioritzCiaCategory03. Procurement management => A. Platform
2013-01-16 18:25ioritzCiaProposed Solution updated
2013-01-18 06:35shankarbAssigned ToAugustoMauch => shankarb
2013-01-18 11:37shankarbAssigned Toshankarb => AugustoMauch
2013-02-01 12:26AugustoMauchNote Added: 0056050
2013-02-01 12:26AugustoMauchStatusnew => closed
2013-02-01 12:26AugustoMauchResolutionopen => no change required

Notes
(0056050)
AugustoMauch   
2013-02-01 12:26   
This issue gets fixed with the patch prepared for issue 22766 (https://issues.openbravo.com/view.php?id=22766 [^]).

That fix will be pushed in MP21, because it is a little risky, and we want to have in pi for a few weeks before publishing it.