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

14.0 add barcodes regex group #1

Open
wants to merge 443 commits into
base: 14.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
443 commits
Select commit Hold shift + click to select a range
f6eec78
[FIX] stock_barcodes: Another non resilient test
pedrobaeza Jul 26, 2020
73a7ecf
Update translation files
oca-transbot Aug 16, 2020
bc0ea39
[IMP] stock_barcodes: Add barcode field to location view in same grou…
sergio-teruel Sep 3, 2020
5cf1fb4
[UPD] Update stock_barcodes.pot
oca-travis Sep 3, 2020
6b84d34
stock_barcodes 13.0.1.1.0
OCA-git-bot Sep 3, 2020
8ebfe17
Update translation files
oca-transbot Sep 3, 2020
ccfdf31
[ADD] stock_barcodes: Add option to get lots automatically in invento…
sergio-teruel Feb 6, 2021
f75519e
[UPD] Update stock_barcodes.pot
oca-travis Mar 4, 2021
9733c9c
[UPD] README.rst
OCA-git-bot Mar 4, 2021
f69562e
stock_barcodes 13.0.1.2.0
OCA-git-bot Mar 4, 2021
8c56c10
Update translation files
oca-transbot Mar 4, 2021
19a6845
[IMP] stock_barcodes: black, isort, prettier
fshah-initos Apr 5, 2021
2d371ef
[14.0][MIG]stock_barcodes
fshah-initos Apr 5, 2021
8892699
[IMP] stock_barcodes: Apply putaway strategy
etobella Jun 7, 2021
c5b7af2
[FIX] stock_barcodes: use the uom of the package if defined
etobella Jun 2, 2021
4e40373
Merge PR #331 into 14.0
OCA-git-bot Sep 30, 2021
c60682f
[UPD] Update stock_barcodes_automatic_entry.pot
oca-travis Sep 30, 2021
5ed96d8
[UPD] addons table in README.md
OCA-git-bot Sep 30, 2021
b47fc41
[UPD] README.rst
OCA-git-bot Sep 30, 2021
c3936ad
[ADD] setup.py
OCA-git-bot Sep 30, 2021
0df7509
Merge PR #330 into 14.0
OCA-git-bot Oct 1, 2021
b4f5a55
[UPD] Update stock_barcodes.pot
oca-travis Oct 1, 2021
0673379
[UPD] addons table in README.md
OCA-git-bot Oct 1, 2021
7000b88
[UPD] README.rst
OCA-git-bot Oct 1, 2021
d559342
[ADD] setup.py
OCA-git-bot Oct 1, 2021
7b36f06
Merge PR #354 into 14.0
OCA-git-bot Oct 4, 2021
ab94465
[UPD] Update product_supplierinfo_barcode.pot
oca-travis Oct 4, 2021
25f6b78
[UPD] addons table in README.md
OCA-git-bot Oct 4, 2021
8db6ab5
[UPD] README.rst
OCA-git-bot Oct 4, 2021
b195bd6
[ADD] setup.py
OCA-git-bot Oct 4, 2021
7275786
Initial checkin of the module stock_inventory_barcode
alexis-via Dec 23, 2015
b45310e
OCA Transbot updated translations from Transifex
oca-transbot May 8, 2016
a6b160b
[MIG] stock_inventory_barcode from v8 to v10
alexis-via Jan 12, 2018
5806bc7
[MIG] stock_inventory_barcode from v10 to v12
alexis-via Oct 18, 2020
0622fa9
stock_inventory_barcode: Better display of uom in wizard
alexis-via Oct 20, 2020
eead208
stock_inventory_barcode: add domain on product
alexis-via Oct 20, 2020
e063dec
[MIG] stock_inventory_barcode from v12 to v14
alexis-via Aug 25, 2021
f531cc0
stock_inventory_barcode: black, isort, prettier, etc.
alexis-via Aug 25, 2021
7b70021
[ADD] setup.py
OCA-git-bot Oct 16, 2021
6605788
[IMP] update dotfiles [ci skip]
OCA-git-bot Oct 21, 2021
44bd742
[IMP] stock_barcodes: allow to add lines even if not qtys reserved
chienandalu Dec 4, 2020
b6ffbe2
[FIX] stock_barcodes: avoid mixing tracked and untracked quants
chienandalu Aug 9, 2021
59180ca
[FIX] stock_barcodes: reset lot id if we change the product manually
chienandalu Aug 12, 2021
f2d1dce
Merge PR #372 into 14.0
OCA-git-bot Nov 4, 2021
57e3c3c
stock_barcodes 14.0.1.1.0
OCA-git-bot Nov 4, 2021
1cf1c0d
[UPD] addons table in README.md
OCA-git-bot Nov 4, 2021
f42d048
[IMP] update dotfiles [ci skip]
OCA-git-bot Nov 10, 2021
48b859b
Merge PR #339 into 14.0
OCA-git-bot Nov 20, 2021
5f166f7
[UPD] Update barcodes_generator_location.pot
oca-travis Nov 20, 2021
e6b0abb
[UPD] addons table in README.md
OCA-git-bot Nov 20, 2021
a610313
[UPD] README.rst
OCA-git-bot Nov 20, 2021
9937bb7
[ADD] setup.py
OCA-git-bot Nov 20, 2021
e76e31a
Merge PR #359 into 14.0
OCA-git-bot Nov 27, 2021
7e62d68
[UPD] Update stock_inventory_barcode.pot
oca-travis Nov 27, 2021
c8a2489
[UPD] addons table in README.md
OCA-git-bot Nov 27, 2021
3b0ca21
[UPD] README.rst
OCA-git-bot Nov 27, 2021
0e979c7
[ADD] icon.png
OCA-git-bot Nov 27, 2021
0f5bbce
[ADD] setup.py
OCA-git-bot Nov 27, 2021
1e27030
[FIX] fix UI, hide barcode field on template when having variants
sebastienbeau Jan 6, 2022
3de9b65
[FIX] add missing view on product easy form view
sebastienbeau Jan 7, 2022
5ae2561
[FIX] product_supplierinfo_barcode: barcode field not available on a …
eantones Jan 28, 2022
59a3ed7
[FIX] stock_barcodes: make available the action to read barcodes
mariadforgeflow Feb 23, 2022
148801e
Merge PR #391 into 14.0
OCA-git-bot Feb 24, 2022
166e502
stock_barcodes 14.0.1.2.0
OCA-git-bot Feb 24, 2022
55ad18c
[UPD] addons table in README.md
OCA-git-bot Feb 24, 2022
ff83b70
[FIX] product_multi_barcode: missing else on a condition
olgamarcocb Sep 14, 2021
9739225
Merge PR #394 into 14.0
OCA-git-bot Mar 8, 2022
076967e
product_multi_barcode 14.0.1.0.1
OCA-git-bot Mar 8, 2022
190b9e4
[UPD] addons table in README.md
OCA-git-bot Mar 8, 2022
7f2fc84
[ADD] stock_barcodes_gs1: Add support to stock_barcodes module to rea…
oca-travis Aug 7, 2019
fb3c49d
[UPD] Update stock_barcodes_gs1.pot
oca-travis Oct 3, 2019
a8bd492
[UPD] README.rst
OCA-git-bot Oct 3, 2019
5cf546d
Sometimes the product does not yet have a GTIN. In this case
JordiBForgeFlow Nov 14, 2019
45f87fb
[UPD] Update stock_barcodes_gs1.pot
oca-travis Nov 25, 2019
3e67afe
stock_barcodes_gs1 11.0.1.0.1
OCA-git-bot Nov 25, 2019
3365396
Update translation files
oca-transbot Nov 25, 2019
4785c3b
[MIG] stock_barcodes_gs1: Migration to 12.0
JoanSForgeFlow Dec 17, 2019
fb68730
[UPD] Update stock_barcodes_gs1.pot
oca-travis Jan 9, 2020
bca16dd
[UPD] README.rst
OCA-git-bot Jan 9, 2020
66fd057
[IMP] stock_barcodes_gs1: black, isort
sergio-teruel Feb 13, 2020
f15dc41
[MIG] stock_barcodes_gs1: Migration to v13.0
sergio-teruel Feb 13, 2020
bef2634
[UPD] Update stock_barcodes_gs1.pot
oca-travis Jul 26, 2020
4e76f9e
Update translation files
oca-transbot Jul 26, 2020
d7e55da
[FIX] stock_barcodes_gs1: Continue reading barcode if can not read it…
sergio-teruel Jul 31, 2020
e654e66
[UPD] Update stock_barcodes_gs1.pot
oca-travis Jul 31, 2020
f19c8a3
stock_barcodes_gs1 13.0.1.0.1
OCA-git-bot Jul 31, 2020
4d915c0
Update translation files
oca-transbot Jul 31, 2020
2f08668
[FIX] stock_barcodes_gs1: Pass argument to super
pedrobaeza Jul 31, 2020
f92acdf
[IMP] stock_barcodes_gs1: Allow the use of double GS1-128 barcodes
etobella Sep 21, 2020
a703c49
stock_barcodes_gs1 13.0.1.0.3
OCA-git-bot Mar 5, 2021
0064073
Added translation using Weblate (Catalan)
May 11, 2021
51a2d67
Translated using Weblate (Spanish)
May 11, 2021
47dd53c
Translated using Weblate (Catalan)
May 11, 2021
2767ecc
[FIX] stock_barcodes_gs1
etobella Jun 2, 2021
e852417
stock_barcodes_gs1 13.0.1.1.0
OCA-git-bot Sep 14, 2021
7186f06
[IMP] stock_barcodes_gs1: black, isort, prettier
JasminSForgeFlow Feb 16, 2022
3cb8e60
[MIG] stock_barcodes_gs1: Migration to 14.0
JasminSForgeFlow Feb 16, 2022
abf375d
Merge PR #388 into 14.0
OCA-git-bot Mar 8, 2022
d37f246
[UPD] Update stock_barcodes_gs1.pot
oca-travis Mar 8, 2022
706cfb8
[UPD] addons table in README.md
OCA-git-bot Mar 8, 2022
e8e3e98
[UPD] README.rst
OCA-git-bot Mar 8, 2022
7ba9dde
[ADD] setup.py
OCA-git-bot Mar 8, 2022
13c2e91
[ADD] stock_barcodes_gs1_expiry: Manage expiry date and use date from…
sergio-teruel Jul 30, 2019
491db9b
[UPD] Update stock_barcodes_gs1_expiry.pot
oca-travis Nov 12, 2019
9a1c692
[UPD] README.rst
OCA-git-bot Nov 12, 2019
909f67a
[UPD] Update stock_barcodes_gs1_expiry.pot
oca-travis Dec 5, 2019
f375d7b
[MIG] stock_barcodes_gs1_expiry: Migration to 12.0
JoanSForgeFlow Dec 17, 2019
bd17d93
[UPD] Update stock_barcodes_gs1_expiry.pot
oca-travis Jan 13, 2020
03b5735
[UPD] README.rst
OCA-git-bot Jan 14, 2020
b1fa3f7
[IMP] stock_barcodes_gs1_expiry: black, isort
jimhoefnagels Apr 9, 2020
68c2f83
[MIG] stock_barcodes_gs1_expiry: Migration to 13.0
jimhoefnagels Apr 9, 2020
4dbc45d
[UPD] Update stock_barcodes_gs1_expiry.pot
oca-travis May 17, 2021
6e054b8
[UPD] README.rst
OCA-git-bot May 17, 2021
45ae7aa
Added translation using Weblate (Spanish)
olgamarcocb Feb 14, 2022
e732d2f
[IMP] stock_barcodes_gs1_expiry: black, isort, prettier
JoanMForgeFlow Feb 17, 2022
3b07629
[MIG] stock_barcodes_gs1_expiry: Migration to 14.0
JoanMForgeFlow Feb 17, 2022
b0cd3c6
Merge PR #390 into 14.0
OCA-git-bot Mar 14, 2022
7a25693
[UPD] Update stock_barcodes_gs1_expiry.pot
oca-travis Mar 14, 2022
0eebf59
[UPD] addons table in README.md
OCA-git-bot Mar 14, 2022
716da20
[UPD] README.rst
OCA-git-bot Mar 14, 2022
13b4c43
[ADD] setup.py
OCA-git-bot Mar 14, 2022
dca8d25
stock_barcodes_gs1_expiry 14.0.1.0.1
OCA-git-bot Mar 14, 2022
7ddb07e
[UPD] addons table in README.md
OCA-git-bot Mar 14, 2022
805e9bd
[FIX] stock_barcodes: take company from env not from user
LoisRForgeFlow Mar 15, 2022
d53b4b3
[FIX] stock_barcodes_gs1: take company from env
LoisRForgeFlow Mar 15, 2022
06c873c
Merge PR #397 into 14.0
OCA-git-bot Mar 15, 2022
6154c39
stock_barcodes_gs1 14.0.1.0.1
OCA-git-bot Mar 15, 2022
3729169
stock_barcodes 14.0.1.2.1
OCA-git-bot Mar 15, 2022
aa75b08
[UPD] addons table in README.md
OCA-git-bot Mar 15, 2022
bac5aa3
[FIX] stock_barcodes: read act windows permission issue
LoisRForgeFlow Mar 16, 2022
3031936
Merge PR #399 into 14.0
OCA-git-bot Mar 16, 2022
8927a5c
stock_barcodes 14.0.1.2.2
OCA-git-bot Mar 16, 2022
0fb9614
[UPD] addons table in README.md
OCA-git-bot Mar 16, 2022
a18b49f
ADD module sale_input_barcode
bealdav Mar 21, 2022
86102d7
Merge PR #396 into 14.0
OCA-git-bot Mar 28, 2022
55853db
[UPD] Update sale_input_barcode.pot
oca-travis Mar 28, 2022
d42a19c
[UPD] addons table in README.md
OCA-git-bot Mar 28, 2022
820ce6f
[UPD] README.rst
OCA-git-bot Mar 28, 2022
67c4baf
[ADD] icon.png
OCA-git-bot Mar 28, 2022
6023bd7
[ADD] setup.py
OCA-git-bot Mar 28, 2022
1624dd7
sale_input_barcode 14.0.1.0.1
OCA-git-bot Mar 28, 2022
3925ceb
[UPD] addons table in README.md
OCA-git-bot Mar 28, 2022
6b737b8
Added translation using Weblate (French (France))
bealdav Mar 28, 2022
e3b5aa6
Translated using Weblate (French (France))
LESTRAT21 Mar 28, 2022
7d18da2
Updated from template
rousseldenis Mar 31, 2022
a75cbe6
Updated from template - Switch to Github actions
rousseldenis Mar 31, 2022
754892f
Merge pull request #403 from acsone/14.0-upd-template-dro
rousseldenis Mar 31, 2022
bb7533c
Translated using Weblate (French (France))
LESTRAT21 Mar 31, 2022
2718a61
Merge PR #381 into 14.0
OCA-git-bot Apr 15, 2022
5eb385e
[UPD] Update barcodes_generator_product.pot
Apr 15, 2022
a89fa36
[UPD] addons table in README.md
OCA-git-bot Apr 15, 2022
4276b56
[UPD] README.rst
OCA-git-bot Apr 15, 2022
fc470fb
barcodes_generator_product 14.0.1.1.0
OCA-git-bot Apr 15, 2022
d371b55
[UPD] addons table in README.md
OCA-git-bot Apr 15, 2022
c817121
Update translation files
oca-transbot Apr 15, 2022
d1dd489
[ADD] product_gs1_barcode
olgamarcocb Feb 11, 2022
f7e5113
Translated using Weblate (Italian)
francesco-ooops May 25, 2022
178e87b
Translated using Weblate (Italian)
SicurSam May 30, 2022
a3df3ba
Translated using Weblate (Italian)
SicurSam May 30, 2022
2799184
[14.0][UPD] product_multi_barcode: Updated product variant easy edit …
ilyasProgrammer Jun 30, 2022
66f9d6d
[14.0][ADD] product_multi_barcode_menu
ilyasProgrammer Jul 6, 2022
f049db0
[14.0][REF] product_multi_barcode_stock_menu - rename
ilyasProgrammer Jul 7, 2022
265553d
Merge PR #412 into 14.0
OCA-git-bot Jul 7, 2022
4c34848
[UPD] Update product_multi_barcode.pot
Jul 7, 2022
4881386
[UPD] README.rst
OCA-git-bot Jul 7, 2022
85166a8
product_multi_barcode 14.0.1.1.0
OCA-git-bot Jul 7, 2022
587ab1e
[UPD] addons table in README.md
OCA-git-bot Jul 7, 2022
baa9d7b
Update translation files
oca-transbot Jul 8, 2022
addc42e
[IMP] stock_barcodes: Refactoring code and improvements
sergio-teruel Oct 27, 2021
ff59b18
[FIX] stock_barcodes: set option to create lot to true in test
LoisRForgeFlow Jul 7, 2022
16085bd
[IMP] stock_barcodes_gs1: improvements after refactor of stock_barcodes
LoisRForgeFlow Jul 7, 2022
072972d
[FIX] stock_barcodes: several small adjustments.
LoisRForgeFlow Jul 8, 2022
a43e976
[IMP] stock_barcodes: show quantity even when not editable.
LoisRForgeFlow Jul 8, 2022
f3dccc4
[MIG] stock_barcodes: clean warnings and adapt to v14.
LoisRForgeFlow Jul 11, 2022
43ebb55
[14.0][FIX] #416
ilyasProgrammer Jul 12, 2022
c0d7e39
Merge PR #413 into 14.0
OCA-git-bot Jul 15, 2022
60056c9
[UPD] Update product_multi_barcode_stock_menu.pot
Jul 15, 2022
ecb6ad9
[UPD] addons table in README.md
OCA-git-bot Jul 15, 2022
64f6930
[UPD] README.rst
OCA-git-bot Jul 15, 2022
e94617d
[ADD] setup.py
OCA-git-bot Jul 15, 2022
f43f7a1
Added translation using Weblate (Italian)
francesco-ooops Jul 22, 2022
d148c3c
Translated using Weblate (Italian)
francesco-ooops Jul 22, 2022
7ff6373
Merge PR #418 into 14.0
OCA-git-bot Aug 16, 2022
d452bd6
product_multi_barcode 14.0.1.1.1
OCA-git-bot Aug 16, 2022
affa81b
[UPD] addons table in README.md
OCA-git-bot Aug 16, 2022
b239b0a
Merge PR #417 into 14.0
OCA-git-bot Aug 20, 2022
f2fca5b
[UPD] Update stock_barcodes.pot
Aug 20, 2022
f155bf7
[UPD] README.rst
OCA-git-bot Aug 20, 2022
f545498
stock_barcodes 14.0.2.0.0
OCA-git-bot Aug 20, 2022
1aef9b3
stock_barcodes_gs1 14.0.2.0.0
OCA-git-bot Aug 20, 2022
94cd8d7
[UPD] addons table in README.md
OCA-git-bot Aug 20, 2022
af330f5
Update translation files
oca-transbot Aug 20, 2022
4d75635
Added translation using Weblate (Italian)
francesco-ooops Aug 22, 2022
b3c05d2
Added translation using Weblate (Italian)
francesco-ooops Aug 22, 2022
853f0a2
Translated using Weblate (Italian)
SicurSam Aug 22, 2022
428a348
Translated using Weblate (Italian)
francesco-ooops Aug 23, 2022
75ce455
Translated using Weblate (Italian)
francesco-ooops Aug 23, 2022
089e6e2
[FIX] stock_barcodes_gs1: Do action_confirm after gs1 is readed inste…
sergio-teruel Aug 5, 2022
4ca81b7
Merge PR #429 into 14.0
OCA-git-bot Sep 1, 2022
0fdd36a
stock_barcodes_gs1 14.0.2.0.1
OCA-git-bot Sep 1, 2022
fa70895
[UPD] addons table in README.md
OCA-git-bot Sep 1, 2022
b3690c1
[FIX] stock_barcodes: make actions readable by non-admin users.
LoisRForgeFlow Sep 1, 2022
aadc9cc
[FIX] stock_barcodes: do not use PO UoM by default
LoisRForgeFlow Sep 1, 2022
382ba99
Merge PR #430 into 14.0
OCA-git-bot Sep 2, 2022
794d913
stock_barcodes 14.0.2.0.1
OCA-git-bot Sep 2, 2022
8c63537
[UPD] addons table in README.md
OCA-git-bot Sep 2, 2022
c5d67a4
[FIX] stock_barcodes: remove last scan do not revert last action.
LoisRForgeFlow Sep 2, 2022
57d0a8c
[FIX] stock_barcodes: use float_compare to avoid rounding issues
LoisRForgeFlow Sep 6, 2022
a6e57e6
Merge PR #432 into 14.0
OCA-git-bot Sep 6, 2022
e59f53e
[UPD] Update stock_barcodes.pot
Sep 6, 2022
72722c4
stock_barcodes 14.0.2.0.2
OCA-git-bot Sep 6, 2022
7aa9cd5
[UPD] addons table in README.md
OCA-git-bot Sep 6, 2022
670de34
Update translation files
oca-transbot Sep 6, 2022
0d29a15
[IMP] stock_barcodes: Clean wizard values after the move to do has be…
sergio-teruel Sep 26, 2022
abf4a9f
Merge PR #439 into 14.0
OCA-git-bot Sep 27, 2022
76cf18c
stock_barcodes 14.0.2.0.3
OCA-git-bot Sep 27, 2022
229fce6
[UPD] addons table in README.md
OCA-git-bot Sep 27, 2022
e58f7b6
Merge PR #387 into 14.0
OCA-git-bot Oct 1, 2022
268aa9c
[UPD] Update base_gs1_barcode.pot
Oct 1, 2022
b685d5a
[UPD] Update product_gs1_barcode.pot
Oct 1, 2022
44334a9
[UPD] addons table in README.md
OCA-git-bot Oct 1, 2022
1cb05f3
[UPD] README.rst
OCA-git-bot Oct 1, 2022
8cc2965
[ADD] icon.png
OCA-git-bot Oct 1, 2022
818c2e4
[ADD] setup.py
OCA-git-bot Oct 1, 2022
4172570
Update translation files
oca-transbot Oct 1, 2022
10d326e
[IMP][14.0] barcodes_generator_abstract
AshishHirapara Oct 5, 2022
38dbbc3
Merge PR #441 into 14.0
OCA-git-bot Oct 5, 2022
8a57380
[UPD] README.rst
OCA-git-bot Oct 5, 2022
23adca1
barcodes_generator_abstract 14.0.1.0.2
OCA-git-bot Oct 5, 2022
acb983c
[UPD] addons table in README.md
OCA-git-bot Oct 5, 2022
da441c9
Translated using Weblate (Italian)
primes2h Oct 19, 2022
8da6e4a
[IMP] stock_barcodes: function to calculate lot domain
mariadforgeflow Oct 20, 2022
68fbe0d
Merge PR #447 into 14.0
OCA-git-bot Oct 20, 2022
994aef9
stock_barcodes 14.0.2.0.4
OCA-git-bot Oct 20, 2022
9ad4e0d
[UPD] addons table in README.md
OCA-git-bot Oct 20, 2022
11e6a78
[IMP] stock_barcodes: add Barcode Option Group for not planned pickings
mariadforgeflow Oct 27, 2022
54758e2
Merge PR #384 into 14.0
OCA-git-bot Oct 27, 2022
95df2d6
[UPD] README.rst
OCA-git-bot Oct 27, 2022
7657b24
product_supplierinfo_barcode 14.0.1.1.0
OCA-git-bot Oct 27, 2022
c300beb
[UPD] addons table in README.md
OCA-git-bot Oct 27, 2022
ced6af6
Added translation using Weblate (French)
TumbaoJu Nov 1, 2022
606aeff
Translated using Weblate (French)
TumbaoJu Nov 1, 2022
e3c4560
[FIX] pre-commit
mariadforgeflow Nov 7, 2022
c0c587d
Merge PR #457 into 14.0
OCA-git-bot Nov 7, 2022
982c04b
Merge PR #452 into 14.0
OCA-git-bot Nov 9, 2022
884e45a
[UPD] Update stock_barcodes.pot
Nov 9, 2022
102b3fd
stock_barcodes 14.0.2.1.0
OCA-git-bot Nov 9, 2022
d25b51c
[UPD] addons table in README.md
OCA-git-bot Nov 9, 2022
2011eb8
Update translation files
weblate Nov 9, 2022
6327714
[ADD] barcodes_regex_group: Migrated from 10 to 14
ddejong-therp Dec 8, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 12 additions & 2 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
# Do NOT update manually; changes here will be overwritten by Copier
_commit: v1.0.2
_commit: v1.11.0
_src_path: gh:oca/oca-addons-repo-template
ci: GitHub
dependency_installation_mode: PIP
generate_requirements_txt: true
github_check_license: true
github_enable_codecov: true
github_enable_makepot: true
github_enable_stale_action: true
github_enforce_dev_status_compatibility: true
include_wkhtmltopdf: false
odoo_version: 14.0
org_name: Odoo Community Association (OCA)
org_slug: OCA
rebel_module_groups: []
repo_description: "TODO: add repo description."
repo_description: 'TODO: add repo description.'
repo_name: stock-logistics-barcode
repo_slug: stock-logistics-barcode
repo_website: https://github.com/OCA/stock-logistics-barcode
travis_apt_packages: []
travis_apt_sources: []
11 changes: 9 additions & 2 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
env:
browser: true
es6: true

# See https://github.com/OCA/odoo-community.org/issues/37#issuecomment-470686449
parserOptions:
ecmaVersion: 2017
ecmaVersion: 2019

overrides:
- files:
- "**/*.esm.js"
parserOptions:
sourceType: module

# Globals available in Odoo that shouldn't produce errorings
globals:
Expand All @@ -14,7 +21,7 @@ globals:
moment: readonly
odoo: readonly
openerp: readonly
Promise: readonly
owl: readonly

# Styling is handled by Prettier, so we only need to enable AST rules;
# see https://github.com/OCA/maintainer-quality-tools/pull/618#issuecomment-558576890
Expand Down
4 changes: 3 additions & 1 deletion .flake8
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[flake8]
max-line-length = 80
max-line-length = 88
max-complexity = 16
# B = bugbear
# B9 = bugbear opinionated (incl line length)
Expand All @@ -8,3 +8,5 @@ select = C,E,F,W,B,B9
# E501: flake8 line length (covered by bugbear B950)
# W503: line break before binary operator (black behaviour)
ignore = E203,E501,W503
per-file-ignores=
__init__.py:F401
35 changes: 35 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: pre-commit

on:
pull_request:
branches:
- "14.0*"
push:
branches:
- "14.0"
- "14.0-ocabot-*"

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Get python version
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
- uses: actions/cache@v1
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
- name: Install pre-commit
run: pip install pre-commit
- name: Run pre-commit
run: pre-commit run --all-files --show-diff-on-failure --color=always
- name: Check that all files generated by pre-commit are in git
run: |
newfiles="$(git ls-files --others --exclude-from=.gitignore)"
if [ "$newfiles" != "" ] ; then
echo "Please check-in the following files:"
echo "$newfiles"
exit 1
fi
69 changes: 69 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Mark stale issues and pull requests

on:
schedule:
- cron: "0 12 * * 0"

jobs:
stale:
runs-on: ubuntu-latest
steps:
- name: Stale PRs and issues policy
uses: actions/stale@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# General settings.
ascending: true
remove-stale-when-updated: true
# Pull Requests settings.
# 120+30 day stale policy for PRs
# * Except PRs marked as "no stale"
days-before-pr-stale: 120
days-before-pr-close: 30
exempt-pr-labels: "no stale"
stale-pr-label: "stale"
stale-pr-message: >
There hasn't been any activity on this pull request in the past 4 months, so
it has been marked as stale and it will be closed automatically if no
further activity occurs in the next 30 days.

If you want this PR to never become stale, please ask a PSC member to apply
the "no stale" label.
# Issues settings.
# 180+30 day stale policy for open issues
# * Except Issues marked as "no stale"
days-before-issue-stale: 180
days-before-issue-close: 30
exempt-issue-labels: "no stale,needs more information"
stale-issue-label: "stale"
stale-issue-message: >
There hasn't been any activity on this issue in the past 6 months, so it has
been marked as stale and it will be closed automatically if no further
activity occurs in the next 30 days.

If you want this issue to never become stale, please ask a PSC member to
apply the "no stale" label.

# 15+30 day stale policy for issues pending more information
# * Issues that are pending more information
# * Except Issues marked as "no stale"
- name: Needs more information stale issues policy
uses: actions/stale@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
ascending: true
only-labels: "needs more information"
exempt-issue-labels: "no stale"
days-before-stale: 15
days-before-close: 30
days-before-pr-stale: -1
days-before-pr-close: -1
remove-stale-when-updated: true
stale-issue-label: "stale"
stale-issue-message: >
This issue needs more information and there hasn't been any activity
recently, so it has been marked as stale and it will be closed automatically
if no further activity occurs in the next 30 days.

If you think this is a mistake, please ask a PSC member to remove the "needs
more information" label.
69 changes: 69 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: tests

on:
pull_request:
branches:
- "14.0*"
push:
branches:
- "14.0"
- "14.0-ocabot-*"

jobs:
unreleased-deps:
runs-on: ubuntu-latest
name: Detect unreleased dependencies
steps:
- uses: actions/checkout@v2
- run: |
for reqfile in requirements.txt test-requirements.txt ; do
if [ -f ${reqfile} ] ; then
result=0
# reject non-comment lines that contain a / (i.e. URLs, relative paths)
grep "^[^#].*/" ${reqfile} || result=$?
if [ $result -eq 0 ] ; then
echo "Unreleased dependencies found in ${reqfile}."
exit 1
fi
fi
done
test:
runs-on: ubuntu-latest
container: ${{ matrix.container }}
name: ${{ matrix.name }}
strategy:
fail-fast: false
matrix:
include:
- container: ghcr.io/oca/oca-ci/py3.6-odoo14.0:latest
makepot: "true"
name: test with Odoo
- container: ghcr.io/oca/oca-ci/py3.6-ocb14.0:latest
name: test with OCB
services:
postgres:
image: postgres:9.6
env:
POSTGRES_USER: odoo
POSTGRES_PASSWORD: odoo
POSTGRES_DB: odoo
ports:
- 5432:5432
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Install addons and dependencies
run: oca_install_addons
- name: Check licenses
run: manifestoo -d . check-licenses
- name: Check development status
run: manifestoo -d . check-dev-status --default-dev-status=Beta
- name: Initialize test db
run: oca_init_test_database
- name: Run tests
run: oca_run_tests
- uses: codecov/codecov-action@v1
- name: Update .pot files
run: oca_export_and_push_pot https://x-access-token:${{ secrets.GIT_PUSH_TOKEN }}@github.com/${{ github.repository }}
if: ${{ matrix.makepot == 'true' && github.event_name == 'push' && github.repository_owner == 'OCA' }}
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ build/
develop-eggs/
dist/
eggs/
lib/
lib64/
parts/
sdist/
Expand Down
1 change: 1 addition & 0 deletions .isort.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ known_odoo=odoo
known_odoo_addons=odoo.addons
sections=FUTURE,STDLIB,THIRDPARTY,ODOO,ODOO_ADDONS,FIRSTPARTY,LOCALFOLDER
default_section=THIRDPARTY
ensure_newline_before_comments = True
53 changes: 31 additions & 22 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ exclude: |
# END NOT INSTALLABLE ADDONS
# Files and folders generated by bots, to avoid loops
^setup/|/static/description/index\.html$|
# We don't want to mess with tool-generated files
.svg$|/tests/([^/]+/)?cassettes/|^.copier-answers.yml$|^.github/|
# Maybe reactivate this when all README files include prettier ignore tags?
^README\.md$|
# Library files can have extraneous formatting (even minimized)
Expand All @@ -26,28 +28,38 @@ repos:
language: fail
files: "\\.rej$"
- repo: https://github.com/oca/maintainer-tools
rev: 2c66e72
rev: ab1d7f6
hooks:
# update the NOT INSTALLABLE ADDONS section above
- id: oca-update-pre-commit-excluded-addons
- id: oca-fix-manifest-website
args: ["https://github.com/OCA/stock-logistics-barcode"]
- repo: https://github.com/myint/autoflake
rev: v1.4
hooks:
- id: autoflake
args: ["-i", "--ignore-init-module-imports"]
args:
- --expand-star-imports
- --ignore-init-module-imports
- --in-place
- --remove-all-unused-imports
- --remove-duplicate-keys
- --remove-unused-variables
- repo: https://github.com/psf/black
rev: 20.8b1
rev: 22.3.0
hooks:
- id: black
- repo: https://github.com/prettier/prettier
rev: 2.1.2
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.1.2
hooks:
- id: prettier
name: prettier + plugin-xml
name: prettier (with plugin-xml)
additional_dependencies:
- "[email protected]"
- "@prettier/[email protected]"
args:
- --plugin=@prettier/plugin-xml
files: \.(css|htm|html|js|json|jsx|less|md|scss|toml|ts|xml|yaml|yml)$
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v7.8.1
hooks:
Expand Down Expand Up @@ -82,6 +94,7 @@ repos:
rev: v2.7.2
hooks:
- id: pyupgrade
args: ["--keep-percent-format"]
- repo: https://github.com/PyCQA/isort
rev: 5.5.1
hooks:
Expand All @@ -91,34 +104,30 @@ repos:
- --settings=.
exclude: /__init__\.py$
- repo: https://github.com/acsone/setuptools-odoo
rev: 2.5.10
rev: 2.6.0
hooks:
- id: setuptools-odoo-make-default
- id: setuptools-odoo-get-requirements
args:
- --output
- requirements.txt
- --header
- "# generated from manifests external_dependencies"
- repo: https://gitlab.com/PyCQA/flake8
rev: 3.8.3
hooks:
- id: flake8
name: flake8 except __init__.py
exclude: /__init__\.py$
additional_dependencies: ["flake8-bugbear==20.1.4"]
- id: flake8
name: flake8 only __init__.py
args: ["--extend-ignore=F401"] # ignore unused imports in __init__.py
files: /__init__\.py$
name: flake8
additional_dependencies: ["flake8-bugbear==20.1.4"]
- repo: https://github.com/PyCQA/pylint
rev: pylint-2.5.3
- repo: https://github.com/OCA/pylint-odoo
rev: 7.0.2
hooks:
- id: pylint
- id: pylint_odoo
name: pylint with optional checks
args:
- --rcfile=.pylintrc
- --exit-zero
verbose: true
additional_dependencies: &pylint_deps
- pylint-odoo==3.5.0
- id: pylint
name: pylint with mandatory checks
- id: pylint_odoo
args:
- --rcfile=.pylintrc-mandatory
additional_dependencies: *pylint_deps
2 changes: 1 addition & 1 deletion .prettierrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ printWidth: 88
proseWrap: always
semi: true
trailingComma: "es5"
xmlWhitespaceSensitivity: "ignore"
xmlWhitespaceSensitivity: "strict"
3 changes: 3 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@


[MASTER]
load-plugins=pylint_odoo
score=n
Expand Down Expand Up @@ -28,6 +30,7 @@ enable=anomalous-backslash-in-string,
class-camelcase,
dangerous-default-value,
dangerous-view-replace-wo-priority,
development-status-allowed,
duplicate-id-csv,
duplicate-key,
duplicate-xml-fields,
Expand Down
2 changes: 2 additions & 0 deletions .pylintrc-mandatory
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

[MASTER]
load-plugins=pylint_odoo
score=n
Expand All @@ -21,6 +22,7 @@ enable=anomalous-backslash-in-string,
class-camelcase,
dangerous-default-value,
dangerous-view-replace-wo-priority,
development-status-allowed,
duplicate-id-csv,
duplicate-key,
duplicate-xml-fields,
Expand Down
Loading