mirror of
https://github.com/bringout/oca-financial.git
synced 2026-04-25 11:22:06 +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
6308fcff4e
commit
a2b6553e74
176 changed files with 3428 additions and 3278 deletions
|
|
@ -50,6 +50,39 @@ msgid ""
|
|||
" </div>\n"
|
||||
" "
|
||||
msgstr ""
|
||||
"<div style=\"margin: 0px; padding: 0px;\">\n"
|
||||
" <p style=\"margin: 0px; padding: 0px; font-size: 13px;\">Poštovani\n"
|
||||
" <t t-if=\"object.partner_id.parent_id\">\n"
|
||||
" <t t-out=\"object.partner_id.name or ''\">Brandon Freeman</t> (\n"
|
||||
" <t t-out=\"object.partner_id.parent_id.name or ''\">Azure Interior</t>),\n"
|
||||
" </t>\n"
|
||||
" <t t-else=\"\">\n"
|
||||
" <t t-out=\"object.partner_id.name or ''\">Brandon Freeman</t>,\n"
|
||||
" </t>\n"
|
||||
" <br>\n"
|
||||
" <br>Ovdje je vaša priznanica <strong t-if=\"object.name\" t-out=\"object.name or ''\">INV/2021/05/0005</strong>\n"
|
||||
" <t t-if=\"object.invoice_origin\">\n"
|
||||
" (sa referencom: <t t-out=\"object.invoice_origin or ''\">SUB003</t>)\n"
|
||||
" </t>\n"
|
||||
" u iznosu <strong t-out=\"format_amount(object.amount_total, object.currency_id) or ''\">$ 143,750.00</strong> od <t t-out=\"object.company_id.name or ''\">VašaKompanija</t>.\n"
|
||||
" <t t-if=\"object.payment_state in ('paid', 'in_payment')\">Ova faktura je već plaćena.</t>\n"
|
||||
" <t t-else=\"\">Molimo izvršite uplatu pri prvoj prilici.\n"
|
||||
" <t t-if=\"object.payment_reference\">\n"
|
||||
" <br>\n"
|
||||
" <br>Molimo koristite sljedeću komunikaciju za vašu uplatu: <strong t-out=\"object.payment_reference or ''\">INV/2021/05/0005</strong>.\n"
|
||||
" </t>\n"
|
||||
" </t>\n"
|
||||
" <br>\n"
|
||||
" <br>Ne ustručavajte se da nas kontaktirate ako imate bilo kakvih pitanja.\n"
|
||||
" <t t-if=\"object.invoice_user_id.signature\">\n"
|
||||
" <br>\n"
|
||||
" <t t-out=\"object.invoice_user_id.signature or ''\">--\n"
|
||||
" <br>Mitchell Admin\n"
|
||||
" </t>\n"
|
||||
" </t>\n"
|
||||
" </p>\n"
|
||||
" </div>\n"
|
||||
" "
|
||||
|
||||
#. module: account_receipt_send
|
||||
#: model:ir.model,name:account_receipt_send.model_account_move
|
||||
|
|
@ -67,6 +100,8 @@ msgid ""
|
|||
"Receipt_{{ (object.name or '').replace('/','_') }}{{ object.state == 'draft'"
|
||||
" and '_draft' or '' }}"
|
||||
msgstr ""
|
||||
"Priznanica_{{ (object.name or '').replace('/','_') }}{{ object.state == "
|
||||
"'draft' and '_nacrt' or '' }}"
|
||||
|
||||
#. module: account_receipt_send
|
||||
#: model_terms:ir.ui.view,arch_db:account_receipt_send.view_move_receipt_send_form
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue