mirror of
https://github.com/bringout/akretion.git
synced 2026-04-18 03:32:07 +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
637ce61d7b
commit
c722cf2945
1 changed files with 31 additions and 30 deletions
|
|
@ -62,13 +62,11 @@ msgstr "Preduzeće"
|
|||
|
||||
#. module: product_print_zpl_barcode
|
||||
#: model:ir.model.fields,field_description:product_print_zpl_barcode.field_product_print_zpl_barcode__create_uid
|
||||
#: model:ir.model.fields,field_description:product_print_zpl_barcode.field_product_print_zpl_barcode_line__create_uid
|
||||
msgid "Created by"
|
||||
msgstr "Kreirao"
|
||||
|
||||
#. module: product_print_zpl_barcode
|
||||
#: model:ir.model.fields,field_description:product_print_zpl_barcode.field_product_print_zpl_barcode__create_date
|
||||
#: model:ir.model.fields,field_description:product_print_zpl_barcode.field_product_print_zpl_barcode_line__create_date
|
||||
msgid "Created on"
|
||||
msgstr "Kreirano"
|
||||
|
||||
|
|
@ -84,22 +82,20 @@ msgstr "Predefinirana mjerna jedinica za sve funkcije zalihe."
|
|||
|
||||
#. module: product_print_zpl_barcode
|
||||
#: model:ir.model.fields,field_description:product_print_zpl_barcode.field_product_print_zpl_barcode__display_name
|
||||
#: model:ir.model.fields,field_description:product_print_zpl_barcode.field_product_print_zpl_barcode_line__display_name
|
||||
msgid "Display Name"
|
||||
msgstr "Prikazani naziv"
|
||||
|
||||
#. module: product_print_zpl_barcode
|
||||
#: model:ir.model.fields,help:product_print_zpl_barcode.field_product_product__must_print_barcode
|
||||
#: model:ir.model.fields,help:product_print_zpl_barcode.field_product_template__must_print_barcode
|
||||
msgid ""
|
||||
"Enable that option for products for which you must print a barcode upon "
|
||||
"reception in stock."
|
||||
msgstr ""
|
||||
"Enable that option for Proizvodi for which you Mora Štampaj a barcode upon "
|
||||
"reception in Zalihe."
|
||||
|
||||
#. module: product_print_zpl_barcode
|
||||
#: model:ir.actions.act_window,name:product_print_zpl_barcode.product_print_zpl_barcode_action
|
||||
#: model_terms:ir.ui.view,arch_db:product_print_zpl_barcode.product_normal_form_view
|
||||
#: model_terms:ir.ui.view,arch_db:product_print_zpl_barcode.product_template_only_form_view
|
||||
msgid "Generate Barcode"
|
||||
msgstr "Generiraj barkodove"
|
||||
|
||||
|
|
@ -115,7 +111,6 @@ msgstr "Generate and Štampaj Proizvod barcodes in ZPL"
|
|||
|
||||
#. module: product_print_zpl_barcode
|
||||
#: model:ir.model.fields,field_description:product_print_zpl_barcode.field_product_print_zpl_barcode__id
|
||||
#: model:ir.model.fields,field_description:product_print_zpl_barcode.field_product_print_zpl_barcode_line__id
|
||||
msgid "ID"
|
||||
msgstr "ID"
|
||||
|
||||
|
|
@ -126,45 +121,45 @@ msgstr "Label Size"
|
|||
|
||||
#. module: product_print_zpl_barcode
|
||||
#: model:ir.model.fields,field_description:product_print_zpl_barcode.field_product_print_zpl_barcode____last_update
|
||||
#: model:ir.model.fields,field_description:product_print_zpl_barcode.field_product_print_zpl_barcode_line____last_update
|
||||
msgid "Last Modified on"
|
||||
msgstr "Zadnje mijenjano"
|
||||
|
||||
#. module: product_print_zpl_barcode
|
||||
#: model:ir.model.fields,field_description:product_print_zpl_barcode.field_product_print_zpl_barcode__write_uid
|
||||
#: model:ir.model.fields,field_description:product_print_zpl_barcode.field_product_print_zpl_barcode_line__write_uid
|
||||
msgid "Last Updated by"
|
||||
msgstr "Zadnji ažurirao"
|
||||
|
||||
#. module: product_print_zpl_barcode
|
||||
#: model:ir.model.fields,field_description:product_print_zpl_barcode.field_product_print_zpl_barcode__write_date
|
||||
#: model:ir.model.fields,field_description:product_print_zpl_barcode.field_product_print_zpl_barcode_line__write_date
|
||||
msgid "Last Updated on"
|
||||
msgstr "Zadnje ažurirano"
|
||||
|
||||
#. module: product_print_zpl_barcode
|
||||
#. odoo-python
|
||||
#: code:addons/product_print_zpl_barcode/wizard/product_print_zpl_barcode.py:0
|
||||
#: code:addons/product_print_zpl_barcode/wizard/product_print_zpl_barcode.py
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Line '%s': barcode '%s' has %d digits. This wizard only supports EAN8 and "
|
||||
"EAN13 for the moment."
|
||||
msgstr ""
|
||||
"Line '%s': barcode '%s' has %d digits. This wizard only supports EAN8 and "
|
||||
"EAN13 for the moment."
|
||||
|
||||
#. module: product_print_zpl_barcode
|
||||
#. odoo-python
|
||||
#: code:addons/product_print_zpl_barcode/wizard/product_print_zpl_barcode.py:0
|
||||
#: code:addons/product_print_zpl_barcode/wizard/product_print_zpl_barcode.py
|
||||
#, python-format
|
||||
msgid "Line '%s': barcode type '%s' is not supported for the moment"
|
||||
msgstr "Štampanje barkoda"
|
||||
|
||||
#. module: product_print_zpl_barcode
|
||||
#. odoo-python
|
||||
#: code:addons/product_print_zpl_barcode/wizard/product_print_zpl_barcode.py:0
|
||||
#: code:addons/product_print_zpl_barcode/wizard/product_print_zpl_barcode.py
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Line '%s': the barcode '%s' is not a valid EAN barcode (wrong checksum)."
|
||||
msgstr ""
|
||||
"Line '%s': the barcode '%s' is not a valid EAN barcode (wrong checksum)."
|
||||
|
||||
#. module: product_print_zpl_barcode
|
||||
#: model:ir.model,name:product_print_zpl_barcode.model_product_print_zpl_barcode_line
|
||||
|
|
@ -178,20 +173,19 @@ msgstr "Linije"
|
|||
|
||||
#. module: product_print_zpl_barcode
|
||||
#. odoo-python
|
||||
#: code:addons/product_print_zpl_barcode/wizard/product_print_zpl_barcode.py:0
|
||||
#: code:addons/product_print_zpl_barcode/wizard/product_print_zpl_barcode.py
|
||||
#, python-format
|
||||
msgid "Missing Products"
|
||||
msgstr "Missing Proizvodi"
|
||||
|
||||
#. module: product_print_zpl_barcode
|
||||
#: model:ir.model.fields,field_description:product_print_zpl_barcode.field_product_product__must_print_barcode
|
||||
#: model:ir.model.fields,field_description:product_print_zpl_barcode.field_product_template__must_print_barcode
|
||||
msgid "Must Print Barcode"
|
||||
msgstr "Barkod se mora štampati"
|
||||
|
||||
#. module: product_print_zpl_barcode
|
||||
#. odoo-python
|
||||
#: code:addons/product_print_zpl_barcode/wizard/product_print_zpl_barcode.py:0
|
||||
#: code:addons/product_print_zpl_barcode/wizard/product_print_zpl_barcode.py
|
||||
#, python-format
|
||||
msgid "On line '%s', the number of copies must be strictly positive."
|
||||
msgstr "On line '%s', the Broj of copies Mora be strictly positive."
|
||||
|
|
@ -228,20 +222,16 @@ msgstr "Štampaj"
|
|||
|
||||
#. module: product_print_zpl_barcode
|
||||
#: model_terms:ir.ui.view,arch_db:product_print_zpl_barcode.product_normal_form_view
|
||||
#: model_terms:ir.ui.view,arch_db:product_print_zpl_barcode.product_template_only_form_view
|
||||
msgid "Print Barcode"
|
||||
msgstr "Štampa barkoda"
|
||||
|
||||
#. module: product_print_zpl_barcode
|
||||
#: model_terms:ir.ui.view,arch_db:product_print_zpl_barcode.product_product_tree_view
|
||||
#: model_terms:ir.ui.view,arch_db:product_print_zpl_barcode.product_template_tree_view
|
||||
#: model_terms:ir.ui.view,arch_db:product_print_zpl_barcode.view_picking_form
|
||||
msgid "Print Barcodes"
|
||||
msgstr "Štampa barkodova"
|
||||
|
||||
#. module: product_print_zpl_barcode
|
||||
#: model:ir.model,name:product_print_zpl_barcode.model_product_template
|
||||
#: model:ir.model.fields,field_description:product_print_zpl_barcode.field_product_print_zpl_barcode_line__product_id
|
||||
msgid "Product"
|
||||
msgstr "Artikal"
|
||||
|
||||
|
|
@ -287,58 +277,67 @@ msgstr "Step2"
|
|||
|
||||
#. module: product_print_zpl_barcode
|
||||
#. odoo-python
|
||||
#: code:addons/product_print_zpl_barcode/wizard/product_print_zpl_barcode.py:0
|
||||
#: code:addons/product_print_zpl_barcode/wizard/product_print_zpl_barcode.py
|
||||
#, python-format
|
||||
msgid ""
|
||||
"The barcode of the product (%s) has %d characters, which is smaller than the"
|
||||
" %d characters of the prefix of the barcode pattern (%s)."
|
||||
msgstr ""
|
||||
"The barcode of the Proizvod (%s) has %d characters, which is smaller than "
|
||||
"the %d characters of the prefix of the barcode pattern (%s)."
|
||||
|
||||
#. module: product_print_zpl_barcode
|
||||
#. odoo-python
|
||||
#: code:addons/product_print_zpl_barcode/wizard/product_print_zpl_barcode.py:0
|
||||
#: code:addons/product_print_zpl_barcode/wizard/product_print_zpl_barcode.py
|
||||
#, python-format
|
||||
msgid ""
|
||||
"The barcode rule '%s' has a pattern '%s' which doesn't contain a integer and"
|
||||
" decimal part between '{}'."
|
||||
msgstr ""
|
||||
"The barcode rule '%s' has a pattern '%s' which doesn't contain a integer and"
|
||||
" decimal part between '{}'."
|
||||
|
||||
#. module: product_print_zpl_barcode
|
||||
#. odoo-python
|
||||
#: code:addons/product_print_zpl_barcode/models/product.py:0
|
||||
#: code:addons/product_print_zpl_barcode/models/product.py
|
||||
#, python-format
|
||||
msgid "The product '%s' already has a barcode."
|
||||
msgstr "The Proizvod '%s' already has a barcode."
|
||||
|
||||
#. module: product_print_zpl_barcode
|
||||
#. odoo-python
|
||||
#: code:addons/product_print_zpl_barcode/wizard/product_print_zpl_barcode.py:0
|
||||
#: code:addons/product_print_zpl_barcode/wizard/product_print_zpl_barcode.py
|
||||
#, python-format
|
||||
msgid "The quantity (%s) must be positive !"
|
||||
msgstr "The Količina (%s) Mora be positive !"
|
||||
|
||||
#. module: product_print_zpl_barcode
|
||||
#. odoo-python
|
||||
#: code:addons/product_print_zpl_barcode/models/product.py:0
|
||||
#: code:addons/product_print_zpl_barcode/models/product.py
|
||||
#, python-format
|
||||
msgid ""
|
||||
"The sequence 'private.product.barcode' is not properly configured. The "
|
||||
"generated sequence should have 7 digits (for EAN-8) or 12 digits (for "
|
||||
"EAN-13). It currently has %d digits."
|
||||
msgstr ""
|
||||
"The sequence 'private.Proizvod.barcode' is not properly configured. The "
|
||||
"generated sequence should have 7 digits (for EAN-8) or 12 digits (for "
|
||||
"EAN-13). It currently has %d digits."
|
||||
|
||||
#. module: product_print_zpl_barcode
|
||||
#. odoo-python
|
||||
#: code:addons/product_print_zpl_barcode/wizard/product_print_zpl_barcode.py:0
|
||||
#: code:addons/product_print_zpl_barcode/wizard/product_print_zpl_barcode.py
|
||||
#, python-format
|
||||
msgid ""
|
||||
"The value to encode in the barcode (%s) is superior to the maximum value "
|
||||
"allowed by the barcode pattern (%s)."
|
||||
msgstr ""
|
||||
"The Vrijednost to encode in the barcode (%s) is superior to the maximum "
|
||||
"Vrijednost allowed by the barcode pattern (%s)."
|
||||
|
||||
#. module: product_print_zpl_barcode
|
||||
#. odoo-python
|
||||
#: code:addons/product_print_zpl_barcode/wizard/product_print_zpl_barcode.py:0
|
||||
#: code:addons/product_print_zpl_barcode/wizard/product_print_zpl_barcode.py
|
||||
#, python-format
|
||||
msgid "There are no pricelist in company '%s'."
|
||||
msgstr "There are no pricelist in Kompanija '%s'."
|
||||
|
|
@ -355,23 +354,25 @@ msgstr "JMJ"
|
|||
|
||||
#. module: product_print_zpl_barcode
|
||||
#. odoo-python
|
||||
#: code:addons/product_print_zpl_barcode/wizard/product_print_zpl_barcode.py:0
|
||||
#: code:addons/product_print_zpl_barcode/wizard/product_print_zpl_barcode.py
|
||||
#, python-format
|
||||
msgid "Wrong active_model in context (%s)."
|
||||
msgstr "Wrong active_model in context (%s)."
|
||||
|
||||
#. module: product_print_zpl_barcode
|
||||
#. odoo-python
|
||||
#: code:addons/product_print_zpl_barcode/models/product.py:0
|
||||
#: code:addons/product_print_zpl_barcode/models/product.py
|
||||
#, python-format
|
||||
msgid ""
|
||||
"You cannot call the method generate_barcode_from_product_template on product"
|
||||
" '%s' because it has %d variants and not just one."
|
||||
msgstr ""
|
||||
"You cannot call the method generate_barcode_from_product_template on "
|
||||
"Proizvod '%s' because it has %d variants and not just one."
|
||||
|
||||
#. module: product_print_zpl_barcode
|
||||
#. odoo-python
|
||||
#: code:addons/product_print_zpl_barcode/wizard/product_print_zpl_barcode.py:0
|
||||
#: code:addons/product_print_zpl_barcode/wizard/product_print_zpl_barcode.py
|
||||
#, python-format
|
||||
msgid "You must select a ZPL Printer."
|
||||
msgstr "You Mora select a ZPL Printer."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue