Fix hr_payroll_clone: AttributeError, add journal/work_type support, use standard wizard

- Fix AttributeError: hr.payslip.run has no company_id field
- Change batch name format from MM/YYYY to YYYY-MM (remove 'Payslips' prefix)
- Add journal_id field and copy from previous batch
- Add work_type_id support (Redovni rad/Regular work) in timesheet generation
- Add duplicate check for existing timesheets to prevent duplication
- Use standard Odoo hr.payslip.employees wizard for payslip generation
- Update version to 16.0.1.1.0

🤖 assisted by claude

🤖 assisted by claude
This commit is contained in:
Ernad Husremovic 2025-11-04 22:43:26 +01:00
parent a8804cdf59
commit 8e05e720e1
27 changed files with 5268 additions and 3125 deletions

View file

@ -15,23 +15,28 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
# taken from hr.po
#. module: google_account
#: model:ir.model,name:google_account.model_google_service
msgid "Google Service"
msgstr "Google Servis"
# taken from hr.po
#. module: google_account
#. odoo-python
#: code:addons/google_account/models/google_service.py:0
#: code:addons/google_account/models/google_service.py
#, python-format
msgid "Method not supported [%s] not in [GET, POST, PUT, PATCH or DELETE]!"
msgstr "Metoda nije podržana [%s] nije u [GET, POST, PUT, PATCH ili DELETE]!"
# taken from hr.po
#. module: google_account
#. odoo-python
#: code:addons/google_account/models/google_service.py:0
#: code:addons/google_account/models/google_service.py
#, python-format
msgid ""
"Something went wrong during your token generation. Maybe your Authorization "
"Code is invalid or already expired"
msgstr ""
"Nešto nije prošlo u redu pri generiranju vašeg tokena. Možda je neispravan "
"Kod Autorizacije ili je već istekao."