- fix a wrong raise of exception when no organization (add throws keyword)
- when creating the allocation is taking the organization of log in, and it must take precedence the organization chosen by the user on the allocation window (login org still used in case no org is selected by user)
===========> APanel.actionPerformed: Copy [11]
java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.get(ArrayList.java:324)
at org.compiere.model.GridTable.getDataAtRow(GridTable.java:1020)
at org.compiere.model.GridTable.getDataAtRow(GridTable.java:1015)
at org.compiere.model.GridTable.dataNew(GridTable.java:2483)
at org.compiere.model.GridTab.dataNew(GridTab.java:1131)
at org.compiere.apps.APanel.cmd_new(APanel.java:1879)
at org.compiere.apps.APanel.actionPerformed(APanel.java:1690)
this means this bug is still open in swing and zkwebui, but requires a better approach to solve it:
BF [2987605] - Attribute Set Instance dialog: select existing ASI
Although I like the new presentation of the touchscreen POS it removed some basic functionality.
* In previous POS you could select the business partner, here it assign the "Standard" partner and it cannot be changed (not sure if there is a "hidden" button to do it).
* The button "Preferences" do nothing.
* Credit Card Expiration cannot be set to 0911 - it's changed to 911 and then complaining about the format.
* The order was completed with an incomplete payment - an order of 200 - I entered a cash payment of 50 and it was completed with a change of -190