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:18 +01:00
parent dec5981eb0
commit 65b1657f38
18 changed files with 1447 additions and 145 deletions

View file

@ -0,0 +1,108 @@
#
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"
#. module: base_ebill_payment_contract
#: model:ir.model.fields.selection,name:base_ebill_payment_contract.selection__ebill_payment_contract__state__cancel
msgid "Cancel"
msgstr "Otkaži"
#. module: base_ebill_payment_contract
#: model:ir.model,name:base_ebill_payment_contract.model_res_partner
msgid "Contact"
msgstr "Kontakt"
#. module: base_ebill_payment_contract
#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__create_uid
msgid "Created by"
msgstr "Kreirao"
#. module: base_ebill_payment_contract
#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__create_date
msgid "Created on"
msgstr "Kreirano"
#. module: base_ebill_payment_contract
#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__partner_id
msgid "Customer"
msgstr "Kupac"
#. module: base_ebill_payment_contract
#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__display_name
msgid "Display Name"
msgstr "Naziv za prikaz"
#. module: base_ebill_payment_contract
#: model:ir.model.fields.selection,name:base_ebill_payment_contract.selection__ebill_payment_contract__state__draft
msgid "Draft"
msgstr "Nacrt"
#. module: base_ebill_payment_contract
#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__date_end
msgid "End date"
msgstr "Datum završetka"
#. module: base_ebill_payment_contract
#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__id
msgid "ID"
msgstr "ID"
#. module: base_ebill_payment_contract
#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__is_valid
msgid "Is Valid"
msgstr "Is Valid"
#. module: base_ebill_payment_contract
#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract____last_update
msgid "Last Modified on"
msgstr "Zadnja izmjena"
#. module: base_ebill_payment_contract
#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__write_uid
msgid "Last Updated by"
msgstr "Zadnje ažurirao"
#. module: base_ebill_payment_contract
#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__write_date
msgid "Last Updated on"
msgstr "Zadnje ažurirano"
#. module: base_ebill_payment_contract
#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__name
msgid "Name"
msgstr "Naziv"
#. module: base_ebill_payment_contract
#: model:ir.model.fields.selection,name:base_ebill_payment_contract.selection__ebill_payment_contract__state__open
msgid "Open"
msgstr "Otvoreno"
#. module: base_ebill_payment_contract
#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__transmit_method_id
msgid "Service Name"
msgstr "Service Name"
#. module: base_ebill_payment_contract
#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__date_start
msgid "Start date"
msgstr "Datum početka"
#. module: base_ebill_payment_contract
#: model:ir.model.fields,field_description:base_ebill_payment_contract.field_ebill_payment_contract__state
msgid "State"
msgstr "Država/pokrajina"
#. module: base_ebill_payment_contract
#: model_terms:ir.ui.view,arch_db:base_ebill_payment_contract.ebill_payment_contract_search_view
msgid "Valid"
msgstr "Valid"
#. module: base_ebill_payment_contract
#: model:ir.actions.act_window,name:base_ebill_payment_contract.ebill_payment_contract_act_window
msgid "eBill Payment Contract"
msgstr "eBill Payment Contract"