Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In ZK quantities entered in "quantity" field are added instead of replaced #126

Open
marcalwestf opened this issue May 20, 2016 · 3 comments

Comments

@marcalwestf
Copy link
Contributor

If in ZK a number is entered in the "quantity" field and the ENTER key is hit, the result in the orderline is that the quantity entered is added to the existing quantity.
This is an error. The existing quantity should be replaced with the entered quantity, as it happens in Swing.

@yamelsenih
Copy link
Member

Hi @marcalwestf it issue already create in ADempiere own 306

@yamelsenih
Copy link
Member

Sorry..... it is not the correct response

@marcalwestf
Copy link
Contributor Author

the underlying problem is that Swing and ZK behave differently right now:

  • In Swing, if you type in a quantity and hit ENTER, the quantity replaces the orderline. TAB moves to the price field.
  • in ZK, if you type in a quantity and hit ENTER, it sums this quantity to the one existent in the orderline. TAB replaces it.

yamelsenih added a commit that referenced this issue Jun 25, 2016
e-Evolution added a commit that referenced this issue Aug 12, 2016
* develop: (320 commits)
  update eclipse setting
  Update Scala setting for IntelliJ
  Update setting IntelliJ
  Move directory src to integrate adempiere core
  #475 The table selection and instances for selection are overwrite with table id used to start process adempiere/adempiere#475
  #475 The table selection and instances for selection are overwrite with table id used to start process adempiere/adempiere#475 Sincroniza with adempiere core
  Solve issue with migration script
  Fix the migration script names and small errors
  Add validation when there is no line on the order in zk. #140
  Solved error when use the key layout for entering products in the order. #139
  It was added  key and values orderly from the smart product search combo box #137
  solved error when the products added by the smart search. Now quantity = 1 #138
  Set the space between letter the smart product search combo box
  Solved error the select a product from the smart product search combo box #137
  Solved error in zk when search product with lookup #136
  Add or update Quantity on product quantity Reference to issue: #126
  #130 Error when try complete new customer return order #130 #131 The wait dialog not hide when got an exception #131 #132 NPE Process Info when execute Command Complete Return Material #132 improve remove duplicate code
  #129 Internationalization of command names to support of language user
  #128 Setup Garden World POS data for new POS
  Update build setting and add code page to build based UTF8
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants