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] migrate pos_tare to 16.0 #1224

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

Conversation

robinkeunen
Copy link

This is a first pass at the migration from version 12 through 14 (#1206 ).

I'm having trouble testing the barcode behavior, how do you find out the check digit for an encoded tare barcode ?

Refactoring suggestion

The parameter iface_gross_weight_method lets you choose wether to input gross weight manually (manual) or through the scale (scale).

  1. if manual is selected and iface_electronic_scale is false : you can enter the weight and tare through the numpad widget
  2. if manual is selected and iface_electronic_scale is true : scale screen opens and you can input weight manually in the screen. The scale will never be read. => why open the scale screen if the scale is not read and everything can be done through the product screen
  3. if scale is selected and iface_electronic_scale is false : the scale screen does not open and you can input the weight and tare through the widget => this seems inconsistent to me
  4. if scale is selected and iface_electronic_scale is true : the scale screen opens, the scale is read.

I want to remove the iface_gross_weight_method altogether to simplify the configuration and the code. @legalsylvain what do you think about it ?

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 <francois.kawala@gmail.com>
Co-authored-by: Sylvain LE GAL <sylvain.legal@grap.coop>
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/
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.

8 participants