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,16 +15,19 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
# taken from hr.po
#. module: account_sequence
#: model:ir.model.constraint,message:account_sequence.constraint_account_move_unique_name
msgid "Another entry with the same name already exists."
msgstr "Već postoji zapis sa ovim nazivom."
# taken from hr.po
#. module: account_sequence
#: model:ir.model,name:account_sequence.model_sequence_mixin
msgid "Automatic sequence"
msgstr "Automatska sekvenca"
# taken from hr.po
#. module: account_sequence
#: model:ir.model,name:account_sequence.model_account_move
msgid "Journal Entry"