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] hr_employee_id: Migration to 16.0 #1373

Merged
merged 32 commits into from
Sep 16, 2024
Merged
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
3d0a703
Employee and Contract Management, Attendance and Scheduling, Payroll …
miketelahun Aug 12, 2013
f4b19c4
Initialize 8.0 branch
dreispt Sep 16, 2014
779a042
[MOV] move addons out of __unported__ (they remain not installable)
sbidoul Oct 13, 2015
36175c9
hr_employee_id: Port to V8
saltonmassally Aug 25, 2015
ed7ae46
[MIG] hr_employee_id: Migration to 8.0
andhit-r Feb 27, 2016
0a74d8c
[MIG] 10.0 Porting hr_employee_id (#272)
astirpe Nov 13, 2016
f527a75
[fix] `hr_employee_id` use deprecated `sequence.get_id()` (#358)
simahawk Sep 12, 2017
ae85394
[imp] hr_employee_id: ease override w/ custom ID
simahawk Oct 18, 2017
c920fd3
[MIG][11.0]hr_employee_id:Migration to 11.0.
Trivedi-Vacha-SerpentCS Jul 4, 2018
50c241b
[MIG] hr_employee_id: Migration to 12.0
alexey-pelykh Oct 24, 2018
cf65026
Translated using Weblate (Arabic)
osoul Jan 20, 2019
a25c4b7
Translated using Weblate (Spanish)
mvrodriguez Feb 5, 2019
94477bc
[ADD] icon.png
OCA-git-bot Apr 3, 2019
c7cd4f3
Translated using Weblate (German)
marylla Jun 28, 2019
591efdf
Translated using Weblate (Croatian)
badbole Nov 13, 2019
69aa174
[FIX] Avoid not intended warnings
MiquelRForgeFlow Nov 14, 2019
9ac1f8b
Translated using Weblate (Portuguese (Brazil))
Nov 24, 2019
d85e2c1
[IMP] hr_employee_id: black, isort, prettier
mtelahun Jul 14, 2021
5072488
Fix hr_employee_id: domain on non-relational field makes no sense
mtelahun Jul 15, 2021
8220bdd
hr_employee_id: Add additional tests
mtelahun Jul 15, 2021
1f83dc3
[FIX] hr_employee_id: Avoid W7940 (dangerous-view-replace-wo-priority)
pedrobaeza Mar 30, 2022
8f62a32
[MIG] hr_employee_id: Migration to 15.0
mtelahun Nov 10, 2022
530647e
[UPD] Update hr_employee_id.pot
Nov 23, 2022
e524e89
[UPD] README.rst
OCA-git-bot Nov 23, 2022
987810c
Update translation files
weblate Nov 23, 2022
8d124d9
Translated using Weblate (Italian)
mymage May 17, 2023
80096ba
Translated using Weblate (Italian)
mymage May 25, 2023
341cd1f
[UPD] README.rst
OCA-git-bot Sep 3, 2023
c8f2b04
[IMP] hr_employee_id: apply pre-commit auto fixes
maisim Jun 26, 2024
778ceef
[MIG] hr_employee_id: Migration to 16.0
maisim Jun 26, 2024
85bd660
[IMP] hr_employee_id: Add support for batch creation
maisim Aug 16, 2024
fceb15b
[IMP] hr_employee_id: Improve tests coverage
maisim Aug 16, 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
Prev Previous commit
Next Next commit
[FIX] Avoid not intended warnings
  • Loading branch information
MiquelRForgeFlow authored and maisim committed Jun 26, 2024
commit 69aa1744ca99d2d5379e85dfb3d92f4053bc772e
2 changes: 1 addition & 1 deletion hr_employee_id/__manifest__.py
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
'name': 'Employee ID',
'version': '12.0.1.0.0',
'version': '12.0.1.0.1',
'license': 'AGPL-3',
'category': 'Generic Modules/Human Resources',
'author':
4 changes: 2 additions & 2 deletions hr_employee_id/models/hr_employee.py
Original file line number Diff line number Diff line change
@@ -46,7 +46,7 @@ def _generate_identification_id(self):
rnd = random.SystemRandom()
employee_id = ''.join(
rnd.choice(string.digits)
for _ in range(employee_id_random_digits)
for x in range(employee_id_random_digits)
)

if self.search_count([('identification_id', '=', employee_id)]):
@@ -55,7 +55,7 @@ def _generate_identification_id(self):
return employee_id

raise UserError(
_('Unable to generate unique Employee ID in %d steps.', retry)
_('Unable to generate unique Employee ID in %d steps.') % (retry, )
)

@api.model