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:28 +01:00
parent 1f0f86df6d
commit ccb7625273
49 changed files with 442267 additions and 5917 deletions

View file

@ -0,0 +1,130 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Language: bs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
# taken from hr.po
#. module: transifex
#: model:ir.model,name:transifex.model_base
msgid "Base"
msgstr "Osnova"
# taken from hr.po
#. module: transifex
#: model:ir.model.fields,field_description:transifex.field_transifex_code_translation__source
msgid "Code"
msgstr "Šifra"
#. module: transifex
#: model:ir.model,name:transifex.model_transifex_code_translation
msgid "Code Translation"
msgstr "Prevod koda"
#. module: transifex
#: code:addons/transifex/static/src/views/fields/translation_dialog.xml
#, python-format
msgid "Contribute"
msgstr "Doprinesi"
# taken from hr.po
#. module: transifex
#: model:ir.model.fields,field_description:transifex.field_transifex_code_translation__display_name
msgid "Display Name"
msgstr "Naziv za prikaz"
# taken from hr.po
#. module: transifex
#: model_terms:ir.ui.view,arch_db:transifex.transifex_code_translation_view_search
msgid "Group By"
msgstr "Grupiši po"
#. module: transifex
#: model:ir.model.fields,field_description:transifex.field_transifex_code_translation__id
msgid "ID"
msgstr "ID"
# taken from hr.po
#. module: transifex
#: model:ir.model.fields,field_description:transifex.field_transifex_code_translation__lang
msgid "Language"
msgstr "Jezik"
# taken from hr.po
#. module: transifex
#: model:ir.model.fields,field_description:transifex.field_transifex_code_translation____last_update
msgid "Last Modified on"
msgstr "Zadnja izmjena"
# taken from hr.po
#. module: transifex
#: model:ir.model.fields,field_description:transifex.field_transifex_code_translation__module
msgid "Module"
msgstr "Modul"
# taken from hr.po
#. module: transifex
#: model:ir.model.fields,help:transifex.field_transifex_code_translation__module
msgid "Module this term belongs to"
msgstr "U modulu"
#. module: transifex
#: model_terms:ir.ui.view,arch_db:transifex.transifex_code_translation_view_search
msgid "Not Translated"
msgstr "Nije prevedeno"
#. module: transifex
#: model:ir.model.fields,help:transifex.field_transifex_code_translation__transifex_url
msgid "Propose a modification in the official version of Odoo"
msgstr "Predložite modifikaciju u zvaničnoj verziji Odoo-a"
# taken from hr.po
#. module: transifex
#: code:addons/transifex/static/src/views/reload_code_translations_views.xml
#, python-format
msgid "Reload"
msgstr "Ponovno učitaj"
#. module: transifex
#: model_terms:ir.ui.view,arch_db:transifex.transifex_code_translation_view_search
msgid "Search Code Translations"
msgstr "Pretraži prevode koda"
#. module: transifex
#: model_terms:ir.ui.view,arch_db:transifex.transifex_code_translation_tree_view
msgid "Transifex"
msgstr "Transifex"
#. module: transifex
#: model_terms:ir.ui.view,arch_db:transifex.transifex_code_translation_tree_view
msgid "Transifex Code Translation"
msgstr "Transifex prevod koda"
#. module: transifex
#: model:ir.actions.server,name:transifex.action_code_translations
msgid "Transifex Code Translations"
msgstr "Transifex prevodi koda"
#. module: transifex
#: model:ir.model,name:transifex.model_transifex_translation
msgid "Transifex Translation"
msgstr "Transifex prevod"
#. module: transifex
#: model:ir.model.fields,field_description:transifex.field_transifex_code_translation__transifex_url
msgid "Transifex URL"
msgstr "Transifex URL"
#. module: transifex
#: model:ir.actions.server,name:transifex.transifex_code_translation_reload_ir_actions_server
msgid "Transifex: Reload code translations"
msgstr "Transifex: Ponovo učitaj prevode koda"
# taken from hr.po
#. module: transifex
#: model:ir.model.fields,field_description:transifex.field_transifex_code_translation__value
msgid "Translation Value"
msgstr "Prevedeno"