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

Maximum width of products combo list is too restrictive #12473

Closed
openthink-laurent opened this issue Nov 20, 2019 · 0 comments
Closed

Maximum width of products combo list is too restrictive #12473

openthink-laurent opened this issue Nov 20, 2019 · 0 comments
Assignees
Labels
Bug This is a bug (something does not work as expected)

Comments

@openthink-laurent
Copy link
Contributor

openthink-laurent commented Nov 20, 2019

Bug

The width of the products combo list is limited to a maximum of 300px, which is too restrictive.

Environment

  • Version: 10.0.3
  • OS: All
  • Web server: All
  • PHP: All
  • Database: All
  • URL(s): /comm/propal/card.php, /commande/card.php, /compta/facture/card.php...

Expected and actual behavior

The width of the products combo list is limited to a maximum of 300px, which is too restrictive. This causes the products to be forced to display on multiple lines while the majority of the configurations could allow a single-line display.

Removing the "maxwidth300" class passed as a parameter to the "select_produits()" function in the "objectline_create.tpl.php" file fixes the problem. In addition, the product label is already truncated by default to 48 characters.

However, a solution should be found to allow use with narrower screens or a larger number of columns.

Steps to reproduce the behavior

  • Add products
  • Use a feature that displays the products combo lists (eg. edit a commercial proposal in draft status)
@openthink-laurent openthink-laurent added the Bug This is a bug (something does not work as expected) label Nov 20, 2019
@inoveaconseil inoveaconseil self-assigned this Nov 30, 2019
@eldy eldy closed this as completed in fd7a18c Dec 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected)
Projects
None yet
Development

No branches or pull requests

2 participants