mirror of
https://github.com/bringout/oca-maintenance.git
synced 2026-04-22 15:42:02 +02:00
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:
parent
947c8379cb
commit
ba708a672c
22 changed files with 58 additions and 92 deletions
|
|
@ -19,6 +19,8 @@ msgid ""
|
|||
"<br/>\n"
|
||||
" Longitude:"
|
||||
msgstr ""
|
||||
"<br/>\n"
|
||||
" Geografska dužina:"
|
||||
|
||||
#. module: maintenance_location
|
||||
#: model_terms:ir.ui.view,arch_db:maintenance_location.hr_equipment_view_kanban
|
||||
|
|
@ -62,7 +64,7 @@ msgstr "Prikazani naziv"
|
|||
|
||||
#. module: maintenance_location
|
||||
#. odoo-python
|
||||
#: code:addons/maintenance_location/models/maintenance_location.py:0
|
||||
#: code:addons/maintenance_location/models/maintenance_location.py
|
||||
#, python-format
|
||||
msgid "Error ! You cannot create recursive Locations."
|
||||
msgstr "Greška ! You cannot create recursive Locations."
|
||||
|
|
@ -95,13 +97,10 @@ msgstr "Latitude"
|
|||
#. module: maintenance_location
|
||||
#: model_terms:ir.ui.view,arch_db:maintenance_location.maintenance_location_form_view
|
||||
msgid "Latitude:"
|
||||
msgstr "Latitude:"
|
||||
msgstr "Geografska širina:"
|
||||
|
||||
#. module: maintenance_location
|
||||
#: model:ir.model.fields,field_description:maintenance_location.field_maintenance_equipment__location_id
|
||||
#: model:ir.model.fields,field_description:maintenance_location.field_maintenance_plan__location_id
|
||||
#: model:ir.model.fields,field_description:maintenance_location.field_maintenance_request__location_id
|
||||
#: model_terms:ir.ui.view,arch_db:maintenance_location.maintenance_location_form_view
|
||||
msgid "Location"
|
||||
msgstr "Lokacija"
|
||||
|
||||
|
|
@ -132,7 +131,6 @@ msgstr "Oprema za održavanje"
|
|||
|
||||
#. module: maintenance_location
|
||||
#: model:ir.actions.act_window,name:maintenance_location.maintenance_location_act_window
|
||||
#: model:ir.model,name:maintenance_location.model_maintenance_location
|
||||
msgid "Maintenance Location"
|
||||
msgstr "Maintenance Lokacija"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue