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

[16.0][MIG] pos_tare: migration to 16.0 #1323

Open
wants to merge 51 commits into
base: 16.0
Choose a base branch
from

Conversation

huguesdk
Copy link
Member

@huguesdk huguesdk commented Feb 28, 2025

this is a follow-up on #1224. it contains all of its commits (as it’s the same branch), as well as several commits to restore features present in version 12.0 but that disappeared during the migration to 14.0, with also some fixes and improvements.

the readme must still be improved and updated (especially the screenshots). if someone is up to it, please create a pull request against the coopiteasy:16.0-mig-pos_tare branch if this has not been merged yet.

legalsylvain and others added 30 commits June 20, 2024 15:13
[ADD] barcode nomenclature for tare
[ADD] tare field on pos.order.line model
[ADD] Tare button in PoS numpad
[IMP] handle correctly different UoM
[IMP] add warning at checkout if qty <=0
[IMP] display gross and tare weight for each line

Co-authored-by: François Kawala <[email protected]>
Co-authored-by: Sylvain LE GAL <[email protected]>
Currently translated at 100.0% (46 of 46 strings)

Translation: pos-12.0/pos-12.0-pos_tare
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_tare/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pos-12.0/pos-12.0-pos_tare
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_tare/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pos-12.0/pos-12.0-pos_tare
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_tare/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pos-12.0/pos-12.0-pos_tare
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_tare/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pos-12.0/pos-12.0-pos_tare
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_tare/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pos-12.0/pos-12.0-pos_tare
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_tare/
Currently translated at 100.0% (55 of 55 strings)

Translation: pos-12.0/pos-12.0-pos_tare
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_tare/it/
robinkeunen and others added 21 commits July 18, 2024 16:51
* set placeholders to 0 instead of 0.000, as a 0 value is formatted like
  that.
* set fields empty when the value is 0, to make manual input easier (no
  need to select or delete the existing value first).
* focus on the first editable field and select its input.
* evaluate the input values at each input event (as was done previously)
  instead of when leaving the field.
re-add lost red background on invalid entry in the scale screen fields.
make sure inputting a quantity sets the gross weight (like how it was
previously) instead of the net weight.
when the scale is disabled, ensure that the default product tare is also
set on the order line.
enable or disable barcode action according to the value of
iface_tare_method (like it was done previously).
* always display the gross and tare weight values regardless of gross
  and tare weight input methods, but make them editable or not depending
  on these input methods.
* improve style: make it more consistent by reusing existing css classes
  and adapt them where needed.
* automatically focus on the first editable field.
* display the correct gross weight uom.
compute the net weight correctly on the scale screen by taking the
product and tare weight uom into account and converting between them if
needed.
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

Successfully merging this pull request may close these issues.

9 participants