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:19 +01:00
parent 6308fcff4e
commit a2b6553e74
176 changed files with 3428 additions and 3278 deletions

View file

@ -55,7 +55,6 @@ msgstr "Prilagođeni natpis"
#. module: account_dashboard_banner
#: model_terms:ir.ui.view,arch_db:account_dashboard_banner.account_dashboard_banner_cell_form
#: model_terms:ir.ui.view,arch_db:account_dashboard_banner.account_dashboard_banner_cell_list
msgid "Custom Label (optional)"
msgstr "Prilagođeni natpis (opciono)"
@ -86,7 +85,6 @@ msgstr "Pregled"
#. module: account_dashboard_banner
#: model:ir.actions.act_window,name:account_dashboard_banner.account_dashboard_banner_cell_action
#: model:ir.ui.menu,name:account_dashboard_banner.account_dashboard_banner_cell_menu
msgid "Dashboard Banner Cells"
msgstr "Ćelije bannera kontrolne table"
@ -147,12 +145,14 @@ msgstr "Prihod mjeseca do sada"
#. module: account_dashboard_banner
#. odoo-python
#: code:addons/account_dashboard_banner/models/account_dashboard_banner_cell.py:0
#: code:addons/account_dashboard_banner/models/account_dashboard_banner_cell.py
#, python-format
msgid ""
"On cell '%(cell_type)s' with warning enabled, the minimum (%(warn_min)s) "
"must be under the maximum (%(warn_max)s)."
msgstr ""
"Na ćeliji '%(cell_type)s' sa omogućenim upozorenjima, minimum (%(warn_min)s)"
" mora biti ispod maksimuma (%(warn_max)s)."
#. module: account_dashboard_banner
#: model:ir.model.fields.selection,name:account_dashboard_banner.selection__account_dashboard_banner_cell__cell_type__income_quarter
@ -212,7 +212,9 @@ msgstr "Upozori ako je datum zaključavanja stariji od"
#. module: account_dashboard_banner
#: model:ir.model.constraint,message:account_dashboard_banner.constraint_account_dashboard_banner_cell_warn_lock_date_days_positive
msgid "Warn if lock date is older than N days must be positive or null."
msgstr "Upozori ako je datum zaključavanja stariji od N dana mora biti pozitivan ili nula."
msgstr ""
"Upozori ako je datum zaključavanja stariji od N dana mora biti pozitivan ili"
" nula."
#. module: account_dashboard_banner
#: model:ir.model.fields,field_description:account_dashboard_banner.field_account_dashboard_banner_cell__warn
@ -231,14 +233,14 @@ msgstr "dana"
#. module: account_dashboard_banner
#. odoo-python
#: code:addons/account_dashboard_banner/models/account_dashboard_banner_cell.py:0
#: code:addons/account_dashboard_banner/models/account_dashboard_banner_cell.py
#, python-format
msgid "from %s"
msgstr "od %s"
#. module: account_dashboard_banner
#. odoo-python
#: code:addons/account_dashboard_banner/models/account_dashboard_banner_cell.py:0
#: code:addons/account_dashboard_banner/models/account_dashboard_banner_cell.py
#, python-format
msgid "with due date before %s"
msgstr "sa datumom dospijeća prije %s"