Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
325 commits
Select commit Hold shift + click to select a range
550bea3
[FIX] dms: Prevent CacheMis error from count_total_files in some NewI…
victoralmau Jan 24, 2022
9b5d0ff
[FIX] dms: Change size field type from integer to float to prevent 21…
victoralmau Jan 24, 2022
fd57778
[FIX] dms: Replace the content field with size in the form view of th…
victoralmau Feb 7, 2022
ef23bd3
[FIX] dms: The internal user group is added as an inheritance to the …
victoralmau Mar 1, 2022
c0c7282
[MIG] dms: Migration to 15.0
JasminSForgeFlow Feb 11, 2022
d1541ea
[MIG] dms: Finish migration
etobella May 17, 2022
6885e72
[FIX] dms: Add Archived ribbon in form views and remove active field …
victoralmau May 17, 2022
8b4ace3
[FIX] dms: do_warn method no longer available in v15
gdrius Jul 15, 2022
929f10a
Translated using Weblate (German)
marylla Jul 18, 2022
903d001
[IMP+FIX] dms: Searchpanel changes:
victoralmau Sep 1, 2022
91e40e2
[IMP] dms: Use _prepare_home_portal_values() function.
victoralmau Sep 6, 2022
99f2a9a
[IMP] dms: Refactor tests.
victoralmau Sep 5, 2022
d1dac0d
[IMP] dms: Changes in file tree view: - Set multi_edit - Add tag_ids …
victoralmau Jul 13, 2021
34800b4
[FIX] dms: Compute mimetype in dms_file correctly to allow preview
victoralmau Jul 13, 2021
a4212a1
[IMP] dms: automatic image thumbnails
victoralmau Nov 8, 2021
ddef636
[IMP] dms: Show in directory kaban view only root directories (Change…
victoralmau Jul 14, 2021
f87efa4
[FIX] dms: Show directory short name in searchpanel.
victoralmau Sep 7, 2022
eea9b6b
[FIX] dms: Searchpanel from directories
victoralmau Sep 8, 2022
8f98ab9
[FIX] dms: Add operator parameter required (forgotten at https://gith…
victoralmau Sep 12, 2022
d2c6b8c
[FIX] dms: skip attachment creation when storage type is different fr…
marcelsavegnago Sep 16, 2022
4a0e5ea
[FIX] dms: Remove migrations folder from 14.0
victoralmau Nov 22, 2022
e029027
[FIX] dms: Remove parent_id defined if you do not have access to it (…
victoralmau Feb 10, 2023
e7a0878
[FIX] dms: Limit breadcrumb from portal to directories you have acces…
victoralmau Feb 9, 2023
8282362
[FIX] dms: Get the "parent" directories (those of the top level to wh…
victoralmau Feb 7, 2023
7dce5e4
[FIX] dms: Use the correct domain with inherit_access_from_parent_rec…
victoralmau Jan 25, 2023
3fbb602
[IMP] dms: Add action_dms_file_wizard_selector action.
victoralmau Feb 10, 2023
fdfe5d9
[FIX] dms: dms.file thumbnail generation checks for supported mimetypes
HekkiMelody Apr 3, 2023
a659369
[IMP] dms: more restrictive access rights for access groups
HekkiMelody Aug 31, 2022
f789fbf
[IMP] dms: Increase the speed of tests
victoralmau Jul 18, 2023
3ebd09e
[FIX] dms: Explicitly exclude the pdf type in the image_1920 field of…
victoralmau Jun 15, 2023
010edfd
Translated using Weblate (Spanish)
Ivorra78 Jul 20, 2023
7da2368
[MIG] dms: Migration from 15.0 to 16.0
Sep 18, 2023
f5971bd
Added translation using Weblate (Portuguese (Brazil))
adrianojprado Nov 3, 2023
773a05d
[16.0][IMP]dms: adjust contributors and sponsor
Nov 6, 2023
45cc243
Translated using Weblate (Portuguese (Brazil))
adrianojprado Nov 7, 2023
04ddc0e
Translated using Weblate (Italian)
mymage Nov 12, 2023
467b127
Translated using Weblate (Spanish)
Ivorra78 Nov 15, 2023
cafb3a9
[FIX] dms: remove padding only for directory kanban records
lijoantony Nov 16, 2023
c4b298f
Translated using Weblate (Italian)
mymage Nov 17, 2023
825e572
[IMP] dms: Show all directories in searchpanel from files
victoralmau Dec 13, 2023
e9a3497
[FIX] dms: Correctly filter records when selecting a searchpanel item…
victoralmau Jan 5, 2024
8183f7d
Translated using Weblate (Portuguese (Brazil))
adrianojprado Jan 5, 2024
b6af24c
[IMP]dms: check for same storage
PicchiSeba Sep 1, 2023
f6d4f07
Translated using Weblate (Spanish)
Ivorra78 Jan 9, 2024
015c777
Translated using Weblate (Italian)
mymage Jan 11, 2024
39a01bd
[FIX] dms: Improve search by model
etobella Oct 25, 2023
4f4baaa
[FIX] dms: Avoid error when set files from directory form view
adasatorres Feb 7, 2024
5a0bd11
[FIX] dms: Set the correct directory_id value according to the domain…
victoralmau Feb 9, 2024
2faefb9
[FIX] dms: Fix smartbuttons from files and directories
victoralmau Feb 7, 2024
36b52df
[IMP] dms: Improve tests
victoralmau Feb 16, 2024
1eb1eb1
Translated using Weblate (Italian)
mymage Feb 16, 2024
9d54a2c
[IMP] dms: Add ACLs to dms.storage for users with the basic permission
victoralmau Jan 18, 2024
378776c
[IMP] dms: Add human_size field to directories and files
victoralmau Jan 29, 2024
ce2f498
[FIX] dms: Improve the unlink method in base to avoid errors
victoralmau Jan 25, 2024
c875e8a
Added translation using Weblate (Portuguese)
peterromao Feb 29, 2024
7f87c72
[FIX] dms: Change display_name from directory kanban buttons (Directo…
victoralmau Mar 26, 2024
49390ce
[IMP] dms: Add default_order to file and directory tree to prevent co…
victoralmau Mar 27, 2024
43451b0
[IMP] dms: Add number items (directories and files) to directory kanb…
victoralmau Apr 15, 2024
1ad49ed
[IMP] dms: Add move (change directory) action from files
victoralmau Mar 5, 2024
c1df009
[16.0][FIX]dms: error when clicked the file smart button on directory…
adasatorres May 14, 2024
88dfb24
[IMP] dms: Remove string=Size from the human_size field to avoid the …
tva-subteno-it May 22, 2024
d808a51
[FIX] dms: Remove incorrect character in maximum upload size error me…
tva-subteno-it May 30, 2024
bd0172e
[IMP] dms: Capture correct error to be shown at notification
tva-subteno-it Jun 6, 2024
ac80d85
[FIX] dms: Allow share (directories and files) without 'Contact creat…
victoralmau Jun 18, 2024
686ef12
[MIG] DMS: Migration to 17.0
tva-subteno-it May 30, 2024
4feec6e
Translated using Weblate (Italian)
mymage Jul 29, 2024
49acefe
Translated using Weblate (French)
tva-subteno-it Aug 9, 2024
13d32a8
[IMP+FIX] dms: Improve performance + Avoid non-existing record access…
victoralmau Jul 22, 2024
2d418f8
[FIX] dms: Remove log warning in dms.file
victoralmau Aug 20, 2024
5e89fa6
Added translation using Weblate (Persian)
mostafabarmshory Aug 28, 2024
e9ebf77
[I18N] dms: Fix fa.po
pedrobaeza Sep 6, 2024
5e3b551
Translated using Weblate (Italian)
mymage Sep 18, 2024
8361244
[IMP] dms: Change portal_my_home_dms to use its own div
victoralmau Oct 10, 2024
32fe05a
[IMP] dms: Add the mk_file_kanban_view class to the custom kanban view
victoralmau Oct 9, 2024
a3ebf26
[IMP] dms: Show Upload button in the file kanban view only if it is a…
victoralmau Oct 11, 2024
8667e21
[IMP] dms: Add clipboard limitation to roadmap
victoralmau Dec 11, 2024
860607c
[MIG] dms: pre-commit auto fixes
kobros-tech Jan 14, 2025
1f08ada
[MIG] dms: Migration to 18.0
kobros-tech Jan 27, 2025
71a3e94
Merge PR #399 into 18.0
OCA-git-bot Apr 10, 2025
e7782fa
[UPD] Update dms.pot
Apr 10, 2025
1d0405c
[BOT] post-merge updates
OCA-git-bot Apr 10, 2025
291dc69
[FIX] dms: Show full file name in kanban view
victoralmau Apr 14, 2025
3d3bd17
[ADD] dms_user_role: New module
victoralmau Mar 5, 2024
a480750
Translated using Weblate (Spanish)
Ivorra78 Mar 27, 2024
e628fe9
[MIG] dms_user_role: Migration to 16.0
victoralmau Apr 3, 2024
068ef4e
Added translation using Weblate (Italian)
mymage Apr 4, 2024
6d7581e
Translated using Weblate (Spanish)
victoralmau Oct 8, 2024
79b72b1
[IMP] dms_user_role: pre-commit auto fixes
victoralmau Apr 16, 2025
16884e2
[MIG] dms_user_role: Migration to 18.0
victoralmau Apr 16, 2025
22f2daf
Merge PR #407 into 18.0
OCA-git-bot Apr 16, 2025
57649cf
[UPD] Update dms_user_role.pot
Apr 16, 2025
1848da3
[BOT] post-merge updates
OCA-git-bot Apr 16, 2025
c9b2f46
Merge PR #406 into 18.0
OCA-git-bot Apr 21, 2025
d8256bb
[BOT] post-merge updates
OCA-git-bot Apr 21, 2025
d8de3d6
[12.0][ADD] dms_field: New view
Aug 10, 2020
73e1416
[IMP] dms_field: create dms records
etobella Aug 25, 2020
2174233
[IMP] dms_field: Allow to set multiple models on storage & tests
etobella Oct 7, 2020
8aecef1
[FIX] dms_field: Change sequence value to prevent appear first in dms…
victoralmau Feb 18, 2021
a5e174c
[FIX] dms_field: Prevent dupplicate model_ids field in storage view
victoralmau Apr 14, 2021
7aee6eb
[FIX] improve some queries
Jun 10, 2021
5940a21
Added translation using Weblate (French)
nicolas-burel Jul 15, 2021
b55fea0
[MIG] dms_field: Migration to 13.0
albariera Aug 30, 2021
b67f2c6
[MIG] dms_field: Migration to 14.0
olgamarcocb Jan 3, 2022
e0167fa
[MIG] dms_field: Migration to 15.0
olgamarcocb May 11, 2022
6a34a92
[RFC] dms_field: change license from agpl to lgpl
marcelsavegnago Apr 16, 2022
60d1158
[FIX] dms: Delete the file if the attachment is deleted
victoralmau Mar 28, 2025
e925c74
Merge PR #412 into 18.0
OCA-git-bot Apr 21, 2025
0f36b50
[BOT] post-merge updates
OCA-git-bot Apr 21, 2025
f6eeb49
[FIX] dms: Show short name of directories in searchpanel
victoralmau Apr 21, 2025
0bd5a30
Merge PR #413 into 18.0
OCA-git-bot Apr 22, 2025
94d5eb5
[BOT] post-merge updates
OCA-git-bot Apr 22, 2025
4f8a19a
[IMP] dms_field: Remove unnecessary code, improve test coverage
etobella Aug 30, 2022
7463930
Added translation using Weblate (Spanish)
Ivorra78 Jul 28, 2023
a85274c
Added translation using Weblate (Italian)
mymage Sep 28, 2023
b41cd91
Translated using Weblate (Italian)
francesco-ooops Oct 13, 2023
6794da7
[FIX] dms_field: Use new field
etobella Oct 25, 2023
cfd1108
Translated using Weblate (Italian)
mymage Dec 1, 2023
e88c523
[FIX] dms_field: Opening a directory using the right click open action
Zodk2 May 28, 2023
7294f35
[UPD] Update dms_field.pot
Feb 7, 2024
aa95aff
[IMP] dms_field: Misc changes
victoralmau Jan 19, 2024
7662ac3
[IMP] dms_field: Disable multiple selection not currently supported (…
victoralmau Feb 12, 2024
f742a5c
[IMP] dms_field: Correctly sort the records (directories and files) i…
victoralmau Mar 6, 2024
8515065
[IMP] dms_field: Add support to drag & drop
CarlosRoca13 Mar 8, 2024
967d1bd
[IMP] dms_field: Open all directories at first charge but not set ope…
CarlosRoca13 Mar 11, 2024
600207b
Translated using Weblate (Spanish)
Ivorra78 Mar 23, 2024
a864a04
[FIX] dms_field: Keep dms active when changing view
CarlosRoca13 Mar 26, 2024
7e4fc1b
[MIG] dms_field: Migration to 16.0
CarlosRoca13 Apr 16, 2024
be49c73
[IMP] dms_field: Add Parent directory option to templates
victoralmau Apr 16, 2024
628c994
[IMP] dms_field: Add model_ref to access groups to avoid possible err…
victoralmau Mar 27, 2024
ff3a570
[FIX] dms_field: Avoid auto-generate multiple access groups + Refacto…
victoralmau Jun 12, 2024
615fbe8
[FIX] dms_field: Use own service instead of using dialog service of c…
CarlosRoca13 Jun 20, 2024
935f013
[MIG] hr_dms_field: Migration to 16.0
victoralmau Jun 3, 2024
299b8ab
Translated using Weblate (Italian)
mymage Jul 4, 2024
f64d8ab
[FIX] dms_field: Show the correct image (same as kanban view) of the …
victoralmau Jul 24, 2024
2b7628c
[FIX] dms_field: Incompatibility with web_responsive
CarlosRoca13 Jul 26, 2024
5c89c07
[FIX] dms_field: Avoid access error in dms.access.groups linked to an…
victoralmau Aug 5, 2024
000de23
Translated using Weblate (Italian)
mymage Aug 12, 2024
4865a65
[IMP] dms_field + hr_dms_field: Create dms directory automatically in…
victoralmau Oct 1, 2024
6f52db4
[IMP] dms_field: Add partner embedded DMS template
victoralmau Nov 19, 2024
6441c0c
Translated using Weblate (Italian)
mymage Nov 26, 2024
bf24d13
[FIX] dms_field: Test compatibility
victoralmau Nov 29, 2024
5113d10
[FIX] dms_field: Apply sudo() to apply the corresponding process even…
victoralmau Mar 25, 2025
6e7abb0
[IMP] dms_field: pre-commit auto fixes
CarlosRoca13 Apr 21, 2025
8783a1a
[FIX] dms: searchpanel changes apply only to dms
giarve Apr 26, 2025
59d6ecd
Merge PR #418 into 18.0
OCA-git-bot Apr 30, 2025
c66c804
[BOT] post-merge updates
OCA-git-bot Apr 30, 2025
ba27aa3
[IMP] dms: avoid unnecessary DMS queries in unlink
kaynnan Apr 30, 2025
fb13dfc
Merge PR #420 into 18.0
OCA-git-bot May 7, 2025
9dfd7ab
[BOT] post-merge updates
OCA-git-bot May 7, 2025
3fc1902
[MIG] dms_field: Migration to 18.0
CarlosRoca13 Apr 29, 2025
36bf793
Merge PR #416 into 18.0
OCA-git-bot May 8, 2025
2fca4a9
[UPD] Update dms_field.pot
May 8, 2025
a0de801
[BOT] post-merge updates
OCA-git-bot May 8, 2025
ed2169d
Update copier to v1.31
CarlosRoca13 May 9, 2025
0d7de3d
Merge pull request #421 from Tecnativa/18.0-update-copier
pedrobaeza May 9, 2025
a4c197d
[ADD] web_editor_media_dialog_dms: New module to allow to set dms fil…
CarlosRoca13 Aug 22, 2024
90ebf81
[UPD] Update web_editor_media_dialog_dms.pot
Aug 27, 2024
b7f9402
[BOT] post-merge updates
OCA-git-bot Aug 27, 2024
0357b28
Added translation using Weblate (Italian)
mymage Aug 29, 2024
c83de6a
Translated using Weblate (Italian)
mymage Aug 29, 2024
aad2a9f
[IMP] web_editor_media_dialog_dms: pre-commit auto fixes
CarlosRoca13 May 9, 2025
6816151
[MIG] web_editor_media_dialog_dms: Migration to 18.0
CarlosRoca13 May 9, 2025
a19d496
[ADD] dms_auto_classification: New module
victoralmau Jan 19, 2024
512040a
[IMP] dms_auto_classification: Allow users with Documents: User permi…
victoralmau Feb 9, 2024
9fa9225
Translated using Weblate (Spanish)
Ivorra78 Mar 23, 2024
66170b0
[MIG] dms_auto_classification: Migration to 16.0
victoralmau Apr 3, 2024
8c0f306
Added translation using Weblate (Italian)
mymage Apr 4, 2024
e6cab85
Translated using Weblate (Spanish)
victoralmau Apr 22, 2024
31ceec7
[IMP] dms_auto_classification: Add folder support within the .zip file
victoralmau May 3, 2024
9465961
Translated using Weblate (Italian)
mymage May 15, 2024
af84099
[IMP] dms_auto_classification: Remove warning by several names with t…
victoralmau Sep 30, 2024
369451e
Translated using Weblate (Italian)
mymage Oct 3, 2024
5d35057
[IMP] dms_auto_classification: pre-commit auto fixes
victoralmau May 12, 2025
50577f6
[MIG] dms_auto_classification: Migration to 18.0
victoralmau May 12, 2025
d0ffe44
[FIX] dms_field: Use the appropriate model for the creation of the fi…
victoralmau May 12, 2025
063148a
Merge PR #429 into 18.0
OCA-git-bot May 13, 2025
84536d0
[BOT] post-merge updates
OCA-git-bot May 13, 2025
ba335ad
[ADD] hr_dms_field: New module
victoralmau Jan 22, 2024
bd69d57
Translated using Weblate (Spanish)
Ivorra78 Mar 23, 2024
8c093c8
[FIX] dms_field + hr_dms_field: Avoid auto-generate multiple access g…
victoralmau Jun 12, 2024
66c2693
[MIG] hr_dms_field: Migration to 16.0
victoralmau Jun 3, 2024
324bbbb
Added translation using Weblate (Italian)
mymage Jun 24, 2024
382c0bf
[IMP] dms_field + hr_dms_field: Create dms directory automatically in…
victoralmau Oct 1, 2024
e1e802e
[FIX] dms_field: Test compatibility
victoralmau Nov 29, 2024
e00a5ce
[IMP] hr_dms_field: Add test to validate specific use cases
victoralmau Mar 25, 2025
5bd873d
[IMP] hr_dms_field: Allow to hide the documents by a group (activated…
etobella Mar 31, 2025
e7c5d25
Translated using Weblate (Spanish)
victoralmau Apr 4, 2025
9c76d3a
Translated using Weblate (Italian)
mymage Apr 5, 2025
51049b9
[IMP] hr_dms_field: pre-commit auto fixes
victoralmau May 12, 2025
b18acce
[MIG] hr_dms_field: Migration to 18.0
victoralmau May 12, 2025
8d6234b
Merge PR #424 into 18.0
OCA-git-bot May 13, 2025
18901e6
[UPD] Update hr_dms_field.pot
May 13, 2025
c11b606
[BOT] post-merge updates
OCA-git-bot May 13, 2025
be57364
[FIX] dms_field: Avoid error when accessing storage form view
victoralmau May 13, 2025
2cb2d7b
[IMP] dms_field: Add CarlosRoca13 as maintainer
CarlosRoca13 May 13, 2025
d129acd
Merge PR #430 into 18.0
OCA-git-bot May 13, 2025
17dfc5f
[BOT] post-merge updates
OCA-git-bot May 13, 2025
8d6c431
Merge PR #423 into 18.0
OCA-git-bot May 13, 2025
f847fc9
[UPD] Update dms_auto_classification.pot
May 13, 2025
2218713
[BOT] post-merge updates
OCA-git-bot May 13, 2025
e3ab29a
[UPD] addons table in README.md
OCA-git-bot Jun 4, 2025
661181a
[FIX] dms: Check that the create/write/unlink methods can be executed
victoralmau Jun 11, 2025
00f2450
Merge PR #436 into 18.0
OCA-git-bot Jun 13, 2025
7df2a85
[BOT] post-merge updates
OCA-git-bot Jun 13, 2025
b82c5ad
Translated using Weblate (Italian)
eLBati Jun 19, 2025
b0bdcbb
[UPD] Update dms.pot
Jun 19, 2025
8ebd673
Update translation files
weblate Jun 19, 2025
547eaaf
Translated using Weblate (Italian)
mymage Jun 20, 2025
0a7e660
Translated using Weblate (Italian)
mymage Jun 21, 2025
712f912
[ADD] dms_field_auto_classification: New module
victoralmau Jan 23, 2024
28b8d3c
Translated using Weblate (Spanish)
Ivorra78 Mar 23, 2024
e72a1e5
[MIG] dms_field_auto_classification: Migration to 16.0
victoralmau May 27, 2024
96c2027
Added translation using Weblate (Italian)
mymage Jun 24, 2024
b2bd5f0
[IMP] dms_field_auto_classification: Remove warning by several names …
victoralmau Sep 30, 2024
f596c16
Translated using Weblate (Italian)
mymage Oct 3, 2024
c74d10b
[IMP] dms_field: Add partner embedded DMS template
victoralmau Nov 19, 2024
045fad1
[FIX] dms_field: Test compatibility
victoralmau Nov 29, 2024
d4eaa87
[IMP] dms_field_auto_classification: pre-commit auto fixes
victoralmau May 12, 2025
94e78ab
[MIG] dms_field_auto_classification: Migration to 18.0
victoralmau May 12, 2025
7cbfa7a
Merge PR #426 into 18.0
OCA-git-bot Jun 24, 2025
712bb01
[UPD] Update dms_field_auto_classification.pot
Jun 24, 2025
3d43924
[BOT] post-merge updates
OCA-git-bot Jun 24, 2025
cdc5506
[IMP] dms_field: Make change of record work
etobella Jul 2, 2025
af2b9d9
Merge PR #438 into 18.0
OCA-git-bot Jul 3, 2025
f1ed453
[BOT] post-merge updates
OCA-git-bot Jul 3, 2025
2e6e92a
Merge PR #422 into 18.0
OCA-git-bot Aug 11, 2025
110fc72
[UPD] Update web_editor_media_dialog_dms.pot
Aug 11, 2025
5d59242
[BOT] post-merge updates
OCA-git-bot Aug 11, 2025
28d5f81
[FIX] web_editor_media_dialog_dms: Align method with core signature
llabusch93 Sep 4, 2025
5d4cf14
Merge PR #443 into 18.0
OCA-git-bot Sep 5, 2025
e8fa11f
[BOT] post-merge updates
OCA-git-bot Sep 5, 2025
34b922d
Added translation using Weblate (Swedish)
jakobkrabbe Sep 18, 2025
4fd2340
Added translation using Weblate (Swedish)
jakobkrabbe Sep 18, 2025
ce6666d
Translated using Weblate (Swedish)
jakobkrabbe Sep 18, 2025
ab85025
Added translation using Weblate (Swedish)
jakobkrabbe Sep 19, 2025
0c7ceee
Added translation using Weblate (Swedish)
jakobkrabbe Sep 19, 2025
5522ec5
Translated using Weblate (Swedish)
jakobkrabbe Sep 19, 2025
a4aa7db
Added translation using Weblate (Swedish)
jakobkrabbe Sep 19, 2025
e134be7
Translated using Weblate (Swedish)
jakobkrabbe Sep 19, 2025
f7bacd4
Added translation using Weblate (Swedish)
jakobkrabbe Sep 19, 2025
18dc306
[IMP] dms_field: Use ir.assets for xml to add the sequence and avoid …
etobella Oct 3, 2025
bc8c7d4
Merge PR #448 into 18.0
OCA-git-bot Oct 3, 2025
fe4a576
[BOT] post-merge updates
OCA-git-bot Oct 3, 2025
fba543d
[REF] dms_field: Allow to override generated group domain
SirPyTech Aug 18, 2025
1de1f29
[REF] dms_field: Allow to override child directory values
SirPyTech Aug 18, 2025
62a6860
[IMP] dms_field: Propagate groups from template
SirPyTech Aug 18, 2025
ce5ccaf
Merge PR #454 into 18.0
OCA-git-bot Jan 5, 2026
e02ba22
[BOT] post-merge updates
OCA-git-bot Jan 5, 2026
65e530e
[19.0] DMS Migrated to odoo 19
zingbizzteam Jan 9, 2026
4a98fb3
Merge upstream 19.0 to link histories
zingbizzteam Jan 9, 2026
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
  •  
  •  
  •  
27 changes: 0 additions & 27 deletions .copier-answers.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: pre-commit
on:
pull_request:
branches:
- "19.0*"
- "18.0*"
push:
branches:
- "19.0"
- "19.0-ocabot-*"
- "18.0"
- "18.0-ocabot-*"

jobs:
pre-commit:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: tests
on:
pull_request:
branches:
- "19.0*"
- "18.0*"
push:
branches:
- "19.0"
- "19.0-ocabot-*"
- "18.0"
- "18.0-ocabot-*"

jobs:
unreleased-deps:
Expand Down Expand Up @@ -35,14 +35,14 @@ jobs:
fail-fast: false
matrix:
include:
- container: ghcr.io/oca/oca-ci/py3.10-odoo19.0:latest
- container: ghcr.io/oca/oca-ci/py3.10-odoo18.0:latest
name: test with Odoo
- container: ghcr.io/oca/oca-ci/py3.10-ocb19.0:latest
- container: ghcr.io/oca/oca-ci/py3.10-ocb18.0:latest
name: test with OCB
makepot: "true"
services:
postgres:
image: postgres:13
image: postgres:12.0
env:
POSTGRES_USER: odoo
POSTGRES_PASSWORD: odoo
Expand Down
24 changes: 13 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ repos:
language: fail
files: '[a-zA-Z0-9_]*/i18n/en\.po$'
- repo: https://github.com/sbidoul/whool
rev: v1.3
rev: v1.2
hooks:
- id: whool-init
- repo: https://github.com/oca/maintainer-tools
rev: f9b919b9868143135a9c9cb03021089cabba8223
rev: bf9ecb9938b6a5deca0ff3d870fbd3f33341fded
hooks:
# update the NOT INSTALLABLE ADDONS section above
- id: oca-update-pre-commit-excluded-addons
Expand All @@ -52,15 +52,15 @@ repos:
- id: oca-gen-addon-readme
args:
- --addons-dir=.
- --branch=19.0
- --branch=18.0
- --org-name=OCA
- --repo-name=dms
- --if-source-changed
- --keep-source-digest
- --convert-fragments-to-markdown
- id: oca-gen-external-dependencies
- repo: https://github.com/OCA/odoo-pre-commit-hooks
rev: v0.1.6
rev: v0.0.33
hooks:
- id: oca-checks-odoo-module
- id: oca-checks-po
Expand All @@ -79,8 +79,8 @@ repos:
files: \.(css|htm|html|js|json|jsx|less|md|scss|toml|ts|xml|yaml|yml)$
language: node
additional_dependencies:
- "prettier@3.6.2"
- "@prettier/plugin-xml@3.4.2"
- "prettier@3.3.3"
- "@prettier/plugin-xml@3.4.1"
- repo: local
hooks:
- id: eslint
Expand All @@ -93,11 +93,11 @@ repos:
types: [javascript]
language: node
additional_dependencies:
- "eslint@9.35.0"
- "eslint-plugin-jsdoc@57.0.8"
- "eslint@9.12.0"
- "eslint-plugin-jsdoc@50.3.1"
- "globals@16.0.0"
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
rev: v4.6.0
hooks:
- id: trailing-whitespace
# exclude autogenerated files
Expand All @@ -106,6 +106,8 @@ repos:
# exclude autogenerated files
exclude: /README\.rst$|\.pot?$
- id: debug-statements
- id: fix-encoding-pragma
args: ["--remove"]
- id: check-case-conflict
- id: check-docstring-first
- id: check-executables-have-shebangs
Expand All @@ -117,13 +119,13 @@ repos:
- id: mixed-line-ending
args: ["--fix=lf"]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.13.0
rev: v0.6.8
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
- repo: https://github.com/OCA/pylint-odoo
rev: v9.3.15
rev: v9.1.3
hooks:
- id: pylint_odoo
name: pylint with optional checks
Expand Down
60 changes: 34 additions & 26 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ manifest-required-authors=Odoo Community Association (OCA)
manifest-required-keys=license
manifest-deprecated-keys=description,active
license-allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
valid-odoo-versions=19.0
valid-odoo-versions=18.0

[MESSAGES CONTROL]
disable=all
Expand All @@ -23,12 +23,21 @@ disable=all
# config as a blocking check.

enable=anomalous-backslash-in-string,
api-one-deprecated,
api-one-multi-together,
assignment-from-none,
attribute-deprecated,
class-camelcase,
dangerous-default-value,
dangerous-view-replace-wo-priority,
development-status-allowed,
duplicate-id-csv,
duplicate-key,
duplicate-xml-fields,
duplicate-xml-record-id,
eval-referenced,
eval-used,
incoherent-interpreter-exec-perm,
license-allowed,
manifest-author-string,
manifest-deprecated-key,
Expand All @@ -39,57 +48,57 @@ enable=anomalous-backslash-in-string,
method-inverse,
method-required-super,
method-search,
openerp-exception-warning,
pointless-statement,
pointless-string-statement,
print-used,
redundant-keyword-arg,
redundant-modulename-xml,
reimported,
relative-import,
return-in-init,
rst-syntax-error,
sql-injection,
too-few-format-args,
translation-field,
translation-required,
unreachable,
use-vim-comment,
wrong-tabs-instead-of-spaces,
xml-syntax-error,
attribute-string-redundant,
character-not-valid-in-resource-link,
consider-merging-classes-inherited,
context-overridden,
create-user-wo-reset-password,
dangerous-filter-wo-user,
dangerous-qweb-replace-wo-priority,
deprecated-data-xml-node,
deprecated-openerp-xml-node,
duplicate-po-message-definition,
except-pass,
file-not-used,
invalid-commit,
manifest-maintainers-list,
missing-newline-extrafiles,
missing-readme,
missing-return,
odoo-addons-relative-import,
old-api7-method-defined,
po-msgstr-variables,
po-syntax-error,
renamed-field-parameter,
resource-not-exist,
str-format-used,
test-folder-imported,
translation-contains-variable,
translation-positional-used,
unnecessary-utf8-coding-comment,
website-manifest-key-not-valid-uri,
xml-attribute-translatable,
xml-deprecated-qweb-directive,
xml-deprecated-tree-attribute,
external-request-timeout,
bad-builtin-groupby,
category-allowed,
deprecated-name-get,
deprecated-odoo-model-method,
inheritable-method-lambda,
inheritable-method-string,
invalid-email,
manifest-behind-migrations,
manifest-data-duplicated,
missing-odoo-file,
no-raise-unlink,
no-search-all,
no-wizard-in-models,
prohibited-method-override,
prefer-env-translation,
translation-format-interpolation,
translation-format-truncated,
translation-fstring-interpolation,
translation-not-lazy,
translation-too-few-args,
translation-too-many-args,
translation-unsupported-format,
no-write-in-compute,
# messages that do not cause the lint step to fail
consider-merging-classes-inherited,
create-user-wo-reset-password,
Expand All @@ -105,8 +114,7 @@ enable=anomalous-backslash-in-string,
old-api7-method-defined,
redefined-builtin,
too-complex,
unnecessary-utf8-coding-comment,
manifest-external-assets
unnecessary-utf8-coding-comment


[REPORTS]
Expand Down
59 changes: 34 additions & 25 deletions .pylintrc-mandatory
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,27 @@ manifest-required-authors=Odoo Community Association (OCA)
manifest-required-keys=license
manifest-deprecated-keys=description,active
license-allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
valid-odoo-versions=19.0
valid-odoo-versions=18.0

[MESSAGES CONTROL]
disable=all

enable=anomalous-backslash-in-string,
api-one-deprecated,
api-one-multi-together,
assignment-from-none,
attribute-deprecated,
class-camelcase,
dangerous-default-value,
dangerous-view-replace-wo-priority,
development-status-allowed,
duplicate-id-csv,
duplicate-key,
duplicate-xml-fields,
duplicate-xml-record-id,
eval-referenced,
eval-used,
incoherent-interpreter-exec-perm,
license-allowed,
manifest-author-string,
manifest-deprecated-key,
Expand All @@ -31,57 +40,57 @@ enable=anomalous-backslash-in-string,
method-inverse,
method-required-super,
method-search,
openerp-exception-warning,
pointless-statement,
pointless-string-statement,
print-used,
redundant-keyword-arg,
redundant-modulename-xml,
reimported,
relative-import,
return-in-init,
rst-syntax-error,
sql-injection,
too-few-format-args,
translation-field,
translation-required,
unreachable,
use-vim-comment,
wrong-tabs-instead-of-spaces,
xml-syntax-error,
attribute-string-redundant,
character-not-valid-in-resource-link,
consider-merging-classes-inherited,
context-overridden,
create-user-wo-reset-password,
dangerous-filter-wo-user,
dangerous-qweb-replace-wo-priority,
deprecated-data-xml-node,
deprecated-openerp-xml-node,
duplicate-po-message-definition,
except-pass,
file-not-used,
invalid-commit,
manifest-maintainers-list,
missing-newline-extrafiles,
missing-readme,
missing-return,
odoo-addons-relative-import,
old-api7-method-defined,
po-msgstr-variables,
po-syntax-error,
renamed-field-parameter,
resource-not-exist,
str-format-used,
test-folder-imported,
translation-contains-variable,
translation-positional-used,
unnecessary-utf8-coding-comment,
website-manifest-key-not-valid-uri,
external-request-timeout,
bad-builtin-groupby,
category-allowed,
deprecated-name-get,
deprecated-odoo-model-method,
inheritable-method-lambda,
inheritable-method-string,
invalid-email,
manifest-behind-migrations,
manifest-data-duplicated,
missing-odoo-file,
no-raise-unlink,
no-search-all,
no-wizard-in-models,
prohibited-method-override,
prefer-env-translation,
translation-format-interpolation,
translation-format-truncated,
translation-fstring-interpolation,
translation-not-lazy,
translation-too-few-args,
translation-too-many-args,
translation-unsupported-format,
no-write-in-compute
xml-attribute-translatable,
xml-deprecated-qweb-directive,
xml-deprecated-tree-attribute,
external-request-timeout

[REPORTS]
msg-template={path}:{line}: [{msg_id}({symbol}), {obj}] {msg}
Expand Down
Loading