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,21 +15,25 @@ msgstr ""
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
# taken from hr.po
#. module: mrp_subcontracting_account
#: model:ir.model,name:mrp_subcontracting_account.model_product_product
msgid "Product Variant"
msgstr "Varijanta proizvoda"
# taken from hr.po
#. module: mrp_subcontracting_account
#: model:ir.model,name:mrp_subcontracting_account.model_mrp_production
msgid "Production Order"
msgstr "Proizvodni nalog"
# taken from hr.po
#. module: mrp_subcontracting_account
#: model:ir.model,name:mrp_subcontracting_account.model_stock_move
msgid "Stock Move"
msgstr "Skladišni prijenos"
# taken from hr.po
#. module: mrp_subcontracting_account
#: model:ir.model,name:mrp_subcontracting_account.model_stock_picking
msgid "Transfer"