Openbravo Issue Tracking System - Modules
View Issue Details
0031394ModulesReservations modulepublic2015-11-06 13:542015-11-06 13:54
ngarcia 
Triage Omni OMS 
highminoralways
newopen 
5
 
 
0031394: Cannot book a resource if the Freight Management module is installed
Cannot book a resource if the Freight Management module is installed
As group admin role:
   You can follow the steps in the documentation:
      http://wiki.openbravo.com/wiki/Resources_and_Reservations [^] [^] [^]
   Add the Local Timezone ID preference with the timezone of the client:
http://wiki.openbravo.com/wiki/Coworking:Preferences_for_Resources_and_reservations#Local_Timezone_ID [^] [^] [^]
   Create a reservation calendar
   Create a Resource Bookable by All Users and assign that reservation calendar
   Assign a product to the resource
   Create a User assign a Business partner to it and assign the Member Portal User role to it
   Add the Resource Reservation widget to the workspace
   Login with that user
   Select the resource in the widget and try to book it
   Check an error message is shown
   The logs shows:
java.lang.NullPointerException
    at org.openbravo.materialmgmt.freightmgmt.event.SalesOrderEventHandler.onGenericEvent(SalesOrderEventHandler.java:69)
    at org.openbravo.materialmgmt.freightmgmt.event.SalesOrderEventHandler.onNew(SalesOrderEventHandler.java:49)
Add the following line in the createSalesOrderHeader of ReservationUtilities.java file:

order.setSalesTransaction(true);
No tags attached.
Issue History
2015-11-06 13:54ngarciaNew Issue
2015-11-06 13:54ngarciaAssigned To => Triage Finance

There are no notes attached to this issue.