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] stock_barcodes: Migration to 16.0 #610

Open
wants to merge 203 commits into
base: 16.0
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
203 commits
Select commit Hold shift + click to select a range
b049f90
[ADD] stock_barcodes: New module to read barcodes on stocks operation…
sergio-teruel Aug 7, 2019
6b7a35f
[UPD] README.rst
OCA-git-bot Aug 7, 2019
121f48c
[UPD] Update stock_barcodes.pot
oca-travis Aug 7, 2019
ab3e408
[FIX] stock_barcodes: Fix ES translation
pedrobaeza Sep 16, 2019
da8a9e2
[ADD] stock_barcodes: Allow to read barcodes from pickings
sergio-teruel Sep 9, 2019
20fcbe6
[ADD] stock_barcodes: Allow to read barcodes from pickings. Last changes
sergio-teruel Sep 24, 2019
b13f045
[FIX] stock_barcodes: Fix validate picking from candidate picking kan…
sergio-teruel Oct 11, 2019
b93d8c2
[IMP] stock_barcodes: Hidden lot for non tracking products.
sergio-teruel Oct 12, 2019
2441861
[UPD] Update stock_barcodes.pot
oca-travis Oct 12, 2019
9e4c44d
[UPD] README.rst
OCA-git-bot Oct 12, 2019
c55d0ea
Update translation files
oca-transbot Oct 12, 2019
3386f47
[12.0][MIG] stock_barcodes
astirpe Sep 3, 2019
cb7f6ce
[UPD] Update stock_barcodes.pot
oca-travis Nov 9, 2019
300159f
[UPD] README.rst
OCA-git-bot Nov 9, 2019
bba6bfa
Update translation files
oca-transbot Nov 19, 2019
8f7e391
[FIX] stock_barcodes: out picking location workflow
chienandalu Jan 28, 2020
74e3d38
[UPD] Update stock_barcodes.pot
oca-travis Jan 30, 2020
37396d2
stock_barcodes 12.0.1.1.0
OCA-git-bot Jan 30, 2020
08070e3
Update translation files
oca-transbot Jan 30, 2020
ef881cf
[FIX] stock_barcodes: location_dest_id
chienandalu Jan 31, 2020
3957c21
stock_barcodes 12.0.1.1.1
OCA-git-bot Jan 31, 2020
9994784
[IMP] stock_barcodes: black, isort
sergio-teruel Feb 13, 2020
63c63f4
[MIG] stock_barcodes: Migration to v13.0
sergio-teruel Feb 13, 2020
05d85dc
[UPD] Update stock_barcodes.pot
oca-travis Apr 16, 2020
48d2f85
Update translation files
oca-transbot Apr 17, 2020
f1a81ff
[FIX] stock_barcodes: Make tests more resilient
pedrobaeza Jul 26, 2020
0479ef1
[FIX] stock_barcodes: Another non resilient test
pedrobaeza Jul 26, 2020
f553458
Update translation files
oca-transbot Aug 16, 2020
510f678
[IMP] stock_barcodes: Add barcode field to location view in same grou…
sergio-teruel Sep 3, 2020
0ace03b
[UPD] Update stock_barcodes.pot
oca-travis Sep 3, 2020
f86577c
stock_barcodes 13.0.1.1.0
OCA-git-bot Sep 3, 2020
06a9547
Update translation files
oca-transbot Sep 3, 2020
ff6ffcd
[ADD] stock_barcodes: Add option to get lots automatically in invento…
sergio-teruel Feb 6, 2021
62bf647
[UPD] Update stock_barcodes.pot
oca-travis Mar 4, 2021
5a9cc7f
[UPD] README.rst
OCA-git-bot Mar 4, 2021
077ee00
stock_barcodes 13.0.1.2.0
OCA-git-bot Mar 4, 2021
9e44336
Update translation files
oca-transbot Mar 4, 2021
20046f5
[IMP] stock_barcodes: black, isort, prettier
fshah-initos Apr 5, 2021
75a82e7
[14.0][MIG]stock_barcodes
fshah-initos Apr 5, 2021
87b7cb7
[IMP] stock_barcodes: Apply putaway strategy
etobella Jun 7, 2021
d39e661
[FIX] stock_barcodes: use the uom of the package if defined
etobella Jun 2, 2021
7257292
[UPD] Update stock_barcodes.pot
oca-travis Oct 1, 2021
4ffc00c
[UPD] README.rst
OCA-git-bot Oct 1, 2021
b3d7188
[IMP] stock_barcodes: allow to add lines even if not qtys reserved
chienandalu Dec 4, 2020
1152989
[FIX] stock_barcodes: avoid mixing tracked and untracked quants
chienandalu Aug 9, 2021
540e648
[FIX] stock_barcodes: reset lot id if we change the product manually
chienandalu Aug 12, 2021
2f9d76b
stock_barcodes 14.0.1.1.0
OCA-git-bot Nov 4, 2021
37de34b
[FIX] stock_barcodes: make available the action to read barcodes
mariadforgeflow Feb 23, 2022
3243419
stock_barcodes 14.0.1.2.0
OCA-git-bot Feb 24, 2022
6107d7d
[FIX] stock_barcodes: take company from env not from user
LoisRForgeFlow Mar 15, 2022
cf3d5b2
stock_barcodes 14.0.1.2.1
OCA-git-bot Mar 15, 2022
eb17d53
[FIX] stock_barcodes: read act windows permission issue
LoisRForgeFlow Mar 16, 2022
a1316b7
stock_barcodes 14.0.1.2.2
OCA-git-bot Mar 16, 2022
f879944
[IMP] stock_barcodes: Refactoring code and improvements
sergio-teruel Oct 27, 2021
0d01296
[FIX] stock_barcodes: set option to create lot to true in test
LoisRForgeFlow Jul 7, 2022
0312f30
[FIX] stock_barcodes: several small adjustments.
LoisRForgeFlow Jul 8, 2022
110b223
[IMP] stock_barcodes: show quantity even when not editable.
LoisRForgeFlow Jul 8, 2022
c3fef46
[MIG] stock_barcodes: clean warnings and adapt to v14.
LoisRForgeFlow Jul 11, 2022
233bf68
[UPD] Update stock_barcodes.pot
Aug 20, 2022
7a8a126
[UPD] README.rst
OCA-git-bot Aug 20, 2022
09ffe48
stock_barcodes 14.0.2.0.0
OCA-git-bot Aug 20, 2022
4bc6b07
Update translation files
oca-transbot Aug 20, 2022
6cdd48c
Added translation using Weblate (Italian)
francesco-ooops Aug 22, 2022
7a496b3
Translated using Weblate (Italian)
SicurSam Aug 22, 2022
bc4bbaa
Translated using Weblate (Italian)
francesco-ooops Aug 23, 2022
75deeda
Translated using Weblate (Italian)
francesco-ooops Aug 23, 2022
cb5ebbd
[FIX] stock_barcodes: make actions readable by non-admin users.
LoisRForgeFlow Sep 1, 2022
9dbce9c
[FIX] stock_barcodes: do not use PO UoM by default
LoisRForgeFlow Sep 1, 2022
1c20b04
stock_barcodes 14.0.2.0.1
OCA-git-bot Sep 2, 2022
dfd0604
[FIX] stock_barcodes: remove last scan do not revert last action.
LoisRForgeFlow Sep 2, 2022
d900a0e
[FIX] stock_barcodes: use float_compare to avoid rounding issues
LoisRForgeFlow Sep 6, 2022
443f77d
[UPD] Update stock_barcodes.pot
Sep 6, 2022
aa1668c
stock_barcodes 14.0.2.0.2
OCA-git-bot Sep 6, 2022
fb8dbaa
Update translation files
oca-transbot Sep 6, 2022
7505c44
[IMP] stock_barcodes: Clean wizard values after the move to do has be…
sergio-teruel Sep 26, 2022
741b4ad
stock_barcodes 14.0.2.0.3
OCA-git-bot Sep 27, 2022
661b25d
[IMP] stock_barcodes: black, isort, prettier
etobella Oct 10, 2022
e10aaf0
[MIG] stock_barcodes: Migration to 15.0
etobella Oct 11, 2022
11d7fcf
[MIG/FIX] stock_barcodes: fix notification usage to adapt to v15.
LoisRForgeFlow Nov 29, 2022
afc8297
[IMP] stock_barcodes: attend new pylint mandatory checks
LoisRForgeFlow Nov 29, 2022
fee03cd
[UPD] Update stock_barcodes.pot
Dec 14, 2022
0cb3874
[UPD] README.rst
OCA-git-bot Dec 14, 2022
feab632
Update translation files
weblate Dec 14, 2022
2057f09
[IMP] stock_barcodes: add Barcode Option Group for not planned pickings
mariadforgeflow Oct 27, 2022
e95102c
[UPD] Update stock_barcodes.pot
Dec 23, 2022
25f874e
stock_barcodes 15.0.1.1.0
OCA-git-bot Dec 23, 2022
0d3636c
Update translation files
weblate Dec 23, 2022
294849a
Translated using Weblate (Italian)
francesco-ooops Dec 29, 2022
f379a17
Translated using Weblate (Italian)
francesco-ooops Jan 2, 2023
701397a
[FIX] stock_barcodes: add migration script
MiquelRForgeFlow Jan 12, 2023
d132bd6
[FIX] stock_barcodes: Do not create a lot with create lot option enab…
sergio-teruel Jan 24, 2023
3c28089
[FIX] stock_barcodes: Pending moves are not displayed when moves orig…
sergio-teruel Jan 25, 2023
0d3e18d
stock_barcodes 15.0.1.2.0
OCA-git-bot Feb 7, 2023
7d0fe14
[FIX] stock_barcodes: put in pack call method fails
sergio-teruel Feb 10, 2023
f775108
stock_barcodes 15.0.1.2.1
OCA-git-bot Feb 10, 2023
fe5f3fa
[FIX] stock_barcodes: Not pending moves when origin pending moves is …
sergio-teruel Feb 20, 2023
84710ed
stock_barcodes 15.0.1.2.2
OCA-git-bot Feb 22, 2023
2d589b2
Translated using Weblate (Spanish)
pere-aquarian Mar 16, 2023
f81a15c
Translated using Weblate (Italian)
mymage Apr 10, 2023
83db387
Translated using Weblate (Italian)
mymage May 3, 2023
87e3a11
Translated using Weblate (Italian)
mymage May 9, 2023
e6bf5b5
Translated using Weblate (Italian)
mymage May 11, 2023
1ca1518
Translated using Weblate (Italian)
francesco-ooops May 12, 2023
6e4aec0
Translated using Weblate (Italian)
mymage May 22, 2023
7dd8a77
Translated using Weblate (Italian)
mymage Jun 14, 2023
bb1c6a4
Translated using Weblate (Italian)
mymage Jul 4, 2023
1925e7a
Translated using Weblate (Italian)
francesco-ooops Jul 10, 2023
833ec7b
Translated using Weblate (Italian)
francesco-ooops Jul 12, 2023
b3b894d
Translated using Weblate (Italian)
francesco-ooops Jul 17, 2023
4585de2
[UPD] README.rst
OCA-git-bot Sep 3, 2023
1aae7be
Translated using Weblate (Italian)
francesco-ooops Sep 1, 2023
4bc526a
Translated using Weblate (Italian)
mymage Oct 6, 2023
ff8bd4a
Update translation files
weblate Oct 9, 2023
aa262f3
[IMP] stock_barcodes: take into account package fields when scan barc…
sergio-teruel Feb 16, 2023
3287f2c
[IMP] stock_barcodes: Add prepare method to set wizard values from pi…
sergio-teruel Mar 1, 2023
a3399b1
[IMP] stock_barcodes: Allow display detailed operations in barcode wi…
sergio-teruel May 9, 2023
d9cfe7e
[IMP] stock_barcodes: Display partner on wizard
sergio-teruel May 29, 2023
d8660b4
[IMP] stock_barcodes: Do not clean values forced in an action done
sergio-teruel May 30, 2023
81eff45
[IMP] stock_barcodes: add package to moves todo group key
sergio-teruel May 30, 2023
38e61fe
[IMP] stock_barcodes: display picking notes in wizard barcode
sergio-teruel May 31, 2023
5837224
[IMP] stock_barcodes: display improvements
sergio-teruel Jun 12, 2023
dda8359
[IMP] stock_barcodes: Show same type ready pickings tree after valida…
carlosdauden Jul 6, 2023
57ec43b
[IMP] stock_barcodes: Allow make inventories
sergio-teruel Jul 11, 2023
0ae7fb1
[FIX] stock_barcodes: Check serial product tracking for inventory whe…
sergio-teruel Jul 25, 2023
3b863f3
[IMP] stock_barcodes: Improve heritability of write on stock move lines
sergio-teruel Aug 3, 2023
78d3075
[IMP] stock_barcodes: Better inheritance of qty focus
sergio-teruel Sep 4, 2023
c581f22
Translated using Weblate (Italian)
mymage Oct 16, 2023
2c5879c
[IMP] stock_barcodes: Add hook to process values when moves todo have…
sergio-teruel Oct 16, 2023
303b944
[IMP] stock_barcodes: Test improvements and create lots in confirm ac…
sergio-teruel Oct 25, 2023
4a21fec
[UPD] Update stock_barcodes.pot
Oct 25, 2023
c825fc4
[BOT] post-merge updates
OCA-git-bot Oct 25, 2023
0731ec7
[UPD] Update stock_barcodes.pot
Oct 28, 2023
936bfab
Translated using Weblate (Spanish)
Ivorra78 Oct 26, 2023
da2400b
Translated using Weblate (Italian)
mymage Oct 20, 2023
37c66f0
Update translation files
weblate Oct 29, 2023
984f68b
Translated using Weblate (Italian)
mymage Oct 29, 2023
ed905bd
Translated using Weblate (Spanish)
Ivorra78 Oct 30, 2023
eff5f65
Translated using Weblate (Italian)
mymage Nov 6, 2023
186f522
Translated using Weblate (Italian)
mymage Nov 22, 2023
451eecd
Translated using Weblate (Italian)
mymage Nov 22, 2023
cff633f
Translated using Weblate (Italian)
mymage Dec 6, 2023
385df82
Translated using Weblate (Italian)
mymage Jan 18, 2024
363ade3
[IMP] stock_barcodes: Filled all fields if they is defined in options…
sergio-teruel Oct 31, 2023
8d07d2a
[FIX] stock_barcodes: Incorrect order of detailed operations fixed
sergio-teruel Nov 3, 2023
8991f4f
[IMP] Add security group to barcodes main menu
sergio-teruel Nov 8, 2023
1e91561
[IMP] stock_barcodes: Allow skip clean values when a sml is created o…
sergio-teruel Nov 8, 2023
9b2e480
[IMP] stock_barcodes: Filter sml lines bby complete packages
sergio-teruel Nov 16, 2023
a53a467
[IMP] stock_barcodes: Display only the quants pending to read. Allow …
sergio-teruel Nov 17, 2023
b34b08c
[IMP] stock_barcodes: Add option to keep wizard values until the pend…
sergio-teruel Nov 22, 2023
e31e787
[IMP] stock_barcodes: Try fill wizard data after product is read if f…
sergio-teruel Nov 22, 2023
c5f15c7
[IMP] stock_barcodes: Add total product qty without lot, package, etc
sergio-teruel Nov 22, 2023
eab6eb4
[IMP] stock_barcodes: Set order in inventory quants
sergio-teruel Nov 23, 2023
cd03dea
[IMP] stock_barcodes: Visual improvements on footer
CarlosRoca13 Nov 24, 2023
4b4de8b
[FIX] stock_barcodes: Reload todo action after unlink sml done
sergio-teruel Nov 24, 2023
2da909b
[IMP] stock_barcodes: Return stock move line created or updated after…
sergio-teruel Dec 3, 2023
f985dfd
[IMP] stock_barcodes Set to readonly total qty fields
sergio-teruel Nov 24, 2023
1c3cb3f
[IMP] stock_barcodes: Recompute fill_todo_records after unlink sml.
sergio-teruel Nov 28, 2023
2c79417
[IMP] stock_barcodes: make todo qty_done compute readonly to better c…
sergio-teruel Nov 28, 2023
cac4c66
[IMP] stock_barcodes: Responsive dropdown
CarlosRoca13 Nov 29, 2023
b28c8f7
[IMP] stock_barcodes: Ignore rest instead of Done to avoid that user …
carlosdauden Dec 4, 2023
01e50ba
[IMP] stock_barcodes: Inject a context to know when a picking is vali…
sergio-teruel Dec 6, 2023
bc8325d
[FIX] stock_barcodes: Set incorrect package and owner in set info fro…
sergio-teruel Dec 11, 2023
057b02f
[FIX] stock_barcodes: create new lines when qty_done is greather than…
sergio-teruel Dec 13, 2023
baa7849
[FIX] stock_barcodes: qty_done is increased if user scan a package twice
sergio-teruel Dec 14, 2023
7febdad
[FIX] stock_barcodes: Link to correct move whe a sml is created
sergio-teruel Dec 19, 2023
b286b9a
[FIX] stock_barcodes: Apply locations domain in pickings and inventory
sergio-teruel Dec 20, 2023
c5dc03b
[FIX] stock_barcodes: Always re-write las location scanned is not can…
sergio-teruel Dec 20, 2023
6e19893
[IMP] stock_barcodes: Add context to avoid update quantities from lot…
sergio-teruel Dec 21, 2023
5b97e79
[IMP] stock_barcodes: Search packages in all internal locations is fo…
sergio-teruel Dec 21, 2023
e49d773
[FIX] stock_barcodes: The package is not taken into account when user…
sergio-teruel Jan 4, 2024
a2ab5bd
[IMP] stock_barcodes: Add accumulate_read_quantity option to be used …
carlosdauden Jan 5, 2024
56e334c
[IMP] stock_barcodes: Allow find package in external locations. Add b…
carlosdauden Jan 10, 2024
1964141
[IMP] stock_barcodes: Fill inventory quantity when scan package
carlosdauden Jan 12, 2024
42ab125
[IMP] stock_barcodes: Add option ignore_quant_location
carlosdauden Feb 1, 2024
eefd05b
[FIX] stock_barcodes: product not take into account to search quants.
sergio-teruel Feb 8, 2024
53269f7
[IMP] stock_barcodes: Limit product quantities entry to avoid barcode…
sergio-teruel Feb 27, 2024
84cae1a
[IMP] stock_barcodes: Allow prefill product_qty when not in manual en…
sergio-teruel Feb 28, 2024
22bd56e
[IMP] stock_barcodes: Add context to skip set info from quants althou…
sergio-teruel Mar 10, 2024
56d3780
[IMP] stock_barcodes: Allow display notifications to web client
sergio-teruel Mar 10, 2024
172f159
[IMP] stock_barcodes: Allow apply putaway strategy as screen option
sergio-teruel Mar 20, 2024
edb8e13
[UPD] Update stock_barcodes.pot
Apr 1, 2024
886e6ef
[BOT] post-merge updates
OCA-git-bot Apr 1, 2024
e75ea9e
Update translation files
weblate Apr 1, 2024
12d95f6
[FIX] stock_barcodes: Required lot_id although lot_name is set withou…
sergio-teruel Apr 3, 2024
76dcb07
[UPD] Update stock_barcodes.pot
Apr 3, 2024
a29d81a
[BOT] post-merge updates
OCA-git-bot Apr 3, 2024
6813043
Update translation files
weblate Apr 3, 2024
0bc4d8e
[IMP] stock_barcodes: Add option group to allow to select if you want…
sergio-teruel Apr 11, 2024
0a97dde
[UPD] Update stock_barcodes.pot
Apr 12, 2024
cadcb0b
[BOT] post-merge updates
OCA-git-bot Apr 12, 2024
b416602
Update translation files
weblate Apr 12, 2024
a3008c9
[FIX] stock_barcodes: Do not search quant when a only lot is scanned
sergio-teruel May 1, 2024
1d737ee
[IMP] stock_barcodes: Skip backorder creation for pickings with all m…
sergio-teruel Apr 5, 2024
9453aa0
[IMP] stock_barcodes: black, isort, prettier
FranzPoize Apr 19, 2024
086bbf1
[MIG] stock_barcodes: Migration to 16.0
FranzPoize Feb 28, 2024
adf6e67
[MIG] stock_barcodes: followup migration
chienandalu Apr 24, 2024
030fd4e
[MIG] stock_barcodes: more migrating
FranzPoize Apr 26, 2024
11c42f5
[MIG] stock_barcodes: continue migration
chienandalu May 7, 2024
b91b228
[IMP] stock_barcodes: Refresh data. Change dependencies and call bus …
sergio-teruel May 23, 2024
9965dbe
[FIX] stock_barcodes: todo lines not refresh data for automatic mode …
sergio-teruel May 23, 2024
51cbce4
[FIX] stock_barcodes: The field state from stock move line compared i…
sergio-teruel May 28, 2024
023f994
[FIX] stock_barcodes: Notify events not managed by resource
sergio-teruel Jun 4, 2024
3352d88
[FIX] stock_barcodes: Crash if user defines an option to scan with a …
sergio-teruel Aug 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 9 additions & 13 deletions stock_barcodes/wizard/stock_barcodes_read_picking.py
Original file line number Diff line number Diff line change
Expand Up @@ -610,19 +610,15 @@ def _process_stock_move_line(self): # noqa: C901
).state = "assigned"
# When create new stock move lines and we are in guided mode we need
# link this new lines to the todo line details
if self.option_group_id.barcode_guided_mode == "guided":
# If user scan a product distinct of the todo line we need link to other
# alternative move
if move_to_link_in_todo_line:
todo_line = self.todo_line_id
else:
todo_line = self.todo_line_ids.filtered(
lambda ln: ln.product_id == self.product_id
)
todo_line.line_ids = [(4, sml.id) for sml in stock_move_lines]
elif self.option_group_id.show_pending_moves:
# TODO: Check performance with a lot records
self.fill_todo_records()
# If user scan a product distinct of the todo line we need link to other
# alternative move
if move_to_link_in_todo_line and self.todo_line_id:
todo_line = self.todo_line_id
else:
todo_line = self.todo_line_ids.filtered(
lambda ln: ln.product_id == self.product_id
)
todo_line.line_ids = [(4, sml.id) for sml in stock_move_lines]
self.update_fields_after_process_stock(moves_todo)
return move_lines_dic

Expand Down
Loading