diff --git a/addons/account/i18n/sl.po b/addons/account/i18n/sl.po index 5b94bedaab8..7ba103fd7c0 100644 --- a/addons/account/i18n/sl.po +++ b/addons/account/i18n/sl.po @@ -96,7 +96,7 @@ msgstr "" #. module: account #: model:ir.ui.view,arch_db:account.report_invoice_document msgid "&nbsp;on" -msgstr "" +msgstr "&nbsp;na" #. module: account #: model:ir.ui.view,arch_db:account.account_planner @@ -525,7 +525,7 @@ msgstr "" #. module: account #: model:ir.ui.view,arch_db:account.report_invoice_document_with_payments msgid "Amount Due" -msgstr "" +msgstr "Dolgovani znesek" #. module: account #: model:ir.ui.view,arch_db:account.account_planner @@ -616,12 +616,12 @@ msgstr "" #: model:ir.ui.view,arch_db:account.portal_invoice_report #: model:ir.ui.view,arch_db:account.report_invoice_document msgid "Customer Code:" -msgstr "" +msgstr "Koda stranke:" #. module: account #: model:ir.ui.view,arch_db:account.report_payment_receipt msgid "Customer: " -msgstr "" +msgstr "Kupec: " #. module: account #: model:ir.ui.view,arch_db:account.report_financial @@ -684,7 +684,7 @@ msgstr "" #. module: account #: model:ir.ui.view,arch_db:account.report_tax msgid "From" -msgstr "" +msgstr "Od" #. module: account #: model:ir.ui.view,arch_db:account.portal_invoice_report @@ -712,7 +712,7 @@ msgstr "" #. module: account #: model:ir.ui.view,arch_db:account.report_payment_receipt msgid "Memo: " -msgstr "" +msgstr "Zapisek: " #. module: account #: model:ir.ui.view,arch_db:account.account_planner @@ -741,12 +741,12 @@ msgstr "" #. module: account #: model:ir.ui.view,arch_db:account.report_payment_receipt msgid "Payment Amount: " -msgstr "" +msgstr "Znesek plačila: " #. module: account #: model:ir.ui.view,arch_db:account.report_payment_receipt msgid "Payment Date: " -msgstr "" +msgstr "Datum plačila: " #. module: account #: model:ir.ui.view,arch_db:account.report_payment_receipt @@ -911,7 +911,7 @@ msgstr "" #. module: account #: model:ir.ui.view,arch_db:account.report_payment_receipt msgid "Vendor: " -msgstr "" +msgstr "Dobavitelj: " #. module: account #: model:ir.ui.view,arch_db:account.report_tax @@ -7203,7 +7203,7 @@ msgstr "" #: model:ir.ui.view,arch_db:account.report_invoice_document_with_payments #, python-format msgid "Paid on" -msgstr "" +msgstr "Plačano" #. module: account #: model:ir.model.fields,field_description:account.field_account_invoice_reconciled @@ -7415,7 +7415,7 @@ msgstr "" #. module: account #: model:ir.ui.view,arch_db:account.report_payment_receipt msgid "Payment Receipt:" -msgstr "" +msgstr "Potrdilo o plačilu:" #. module: account #: model:ir.model.fields,field_description:account.field_account_invoice_reference_type diff --git a/addons/account/i18n/uk.po b/addons/account/i18n/uk.po index 1d143e5fde3..f44bccffaad 100644 --- a/addons/account/i18n/uk.po +++ b/addons/account/i18n/uk.po @@ -1123,7 +1123,7 @@ msgstr "Бухгалтерські записи" #. module: account #: model:ir.model,name:account.model_accounting_report msgid "Accounting Report" -msgstr "Звіт бухобліку" +msgstr "Бухгалтерські звіти" #. module: account #: model:ir.ui.view,arch_db:account.view_partner_property_form diff --git a/addons/account/i18n/zh_TW.po b/addons/account/i18n/zh_TW.po index 7f641633090..c7f6d20e64c 100644 --- a/addons/account/i18n/zh_TW.po +++ b/addons/account/i18n/zh_TW.po @@ -5906,7 +5906,7 @@ msgstr "層級" #: model:account.financial.report,name:account.account_financial_report_liability0 #: model:account.financial.report,name:account.account_financial_report_liabilitysum0 msgid "Liability" -msgstr "負債" +msgstr "負債與業主權益" #. module: account #: model:ir.model.fields,field_description:account.field_account_invoice_report__nbr diff --git a/addons/account/models/account_invoice.py b/addons/account/models/account_invoice.py index 25bc91f7e8f..ce7229533e0 100644 --- a/addons/account/models/account_invoice.py +++ b/addons/account/models/account_invoice.py @@ -1376,6 +1376,8 @@ class AccountInvoice(models.Model): values['type'] = TYPE2REFUND[invoice['type']] values['date_invoice'] = date_invoice or fields.Date.context_today(invoice) + if values.get('date_due', False) and values['date_invoice'] > values['date_due']: + values['date_due'] = values['date_invoice'] values['state'] = 'draft' values['number'] = False values['origin'] = invoice.number diff --git a/addons/account_voucher/models/account_voucher.py b/addons/account_voucher/models/account_voucher.py index efef1680c0a..309cd62fd9a 100644 --- a/addons/account_voucher/models/account_voucher.py +++ b/addons/account_voucher/models/account_voucher.py @@ -325,11 +325,16 @@ class AccountVoucher(models.Model): # When global rounding is activated, we must wait until all tax lines are computed to # merge them. if tax_calculation_rounding_method == 'round_globally': - self.env['account.move.line'].create(move_line) + # _apply_taxes modifies the dict move_line in place to account for included/excluded taxes tax_lines_vals += self.env['account.move.line'].with_context(round=False)._apply_taxes( move_line, move_line.get('debit', 0.0) - move_line.get('credit', 0.0) ) + # rounding False means the move_line's amount are not rounded + currency = self.env['res.currency'].browse(company_currency) + move_line['debit'] = currency.round(move_line['debit']) + move_line['credit'] = currency.round(move_line['credit']) + self.env['account.move.line'].create(move_line) else: self.env['account.move.line'].with_context(apply_taxes=True).create(move_line) diff --git a/addons/barcodes/i18n/cs.po b/addons/barcodes/i18n/cs.po index 5756972c10d..bb98c2c0b45 100644 --- a/addons/barcodes/i18n/cs.po +++ b/addons/barcodes/i18n/cs.po @@ -383,7 +383,7 @@ msgstr "" #: code:addons/barcodes/models/barcodes.py:184 selection:barcode.rule,type:0 #, python-format msgid "Unit Product" -msgstr "" +msgstr "Jednotkový produkt" #. module: barcodes #: model:ir.model.fields,help:barcodes.field_barcode_rule_sequence diff --git a/addons/hr_expense/i18n/cs.po b/addons/hr_expense/i18n/cs.po index 7a08e879401..6f50e5693bf 100644 --- a/addons/hr_expense/i18n/cs.po +++ b/addons/hr_expense/i18n/cs.po @@ -1581,7 +1581,7 @@ msgstr "" #. module: hr_expense #: model:ir.ui.view,arch_db:hr_expense.view_hr_expense_sheet_filter msgid "To Pay" -msgstr "" +msgstr "K platbě" #. module: hr_expense #: model:ir.ui.view,arch_db:hr_expense.view_hr_expense_sheet_filter diff --git a/addons/hr_holidays/i18n/cs.po b/addons/hr_holidays/i18n/cs.po index a4f0760d35b..89a41c57f52 100644 --- a/addons/hr_holidays/i18n/cs.po +++ b/addons/hr_holidays/i18n/cs.po @@ -21,7 +21,7 @@ msgstr "" #. module: hr_holidays #: model:ir.ui.view,arch_db:hr_holidays.report_holidayssummary msgid "!important ></td>" -msgstr "" +msgstr "!důležité ></td>" #. module: hr_holidays #: model:ir.ui.view,arch_db:hr_holidays.report_holidayssummary @@ -31,7 +31,7 @@ msgstr "" #. module: hr_holidays #: model:ir.ui.view,arch_db:hr_holidays.report_holidayssummary msgid "!important/>" -msgstr "" +msgstr "!důležité/>" #. module: hr_holidays #: model:ir.ui.view,arch_db:hr_holidays.report_holidayssummary @@ -53,13 +53,13 @@ msgstr "" #: code:addons/hr_holidays/models/hr_holidays.py:333 #, python-format msgid "%s : %.2f day(s)" -msgstr "" +msgstr "%s : %.2f den(dnů)" #. module: hr_holidays #: code:addons/hr_holidays/models/hr_holidays.py:335 #, python-format msgid "%s on %s : %.2f day(s)" -msgstr "" +msgstr "%s z %s : %.2f den(dnů)" #. module: hr_holidays #: model:ir.ui.view,arch_db:hr_holidays.report_holidayssummary @@ -96,7 +96,7 @@ msgstr "" #. module: hr_holidays #: model:ir.ui.view,arch_db:hr_holidays.view_hr_holidays_kanban msgid "to" -msgstr "" +msgstr "do" #. module: hr_holidays #: model:ir.ui.view,arch_db:hr_holidays.report_holidayssummary @@ -106,17 +106,17 @@ msgstr "" #. module: hr_holidays #: model:ir.model.fields,field_description:hr_holidays.field_hr_employee_show_leaves msgid "Able to see Remaining Leaves" -msgstr "" +msgstr "Možno vidět zbývající dovolenou" #. module: hr_holidays #: model:ir.ui.view,arch_db:hr_holidays.hr_department_view_kanban msgid "Absence" -msgstr "" +msgstr "Absence" #. module: hr_holidays #: model:ir.model.fields,field_description:hr_holidays.field_hr_department_absence_of_today msgid "Absence by Today" -msgstr "" +msgstr "Dnešní absence" #. module: hr_holidays #: model:ir.ui.view,arch_db:hr_holidays.hr_department_view_kanban @@ -124,11 +124,13 @@ msgid "" "Absent Employee(s), Whose leaves request are either confirmed or validated " "on today" msgstr "" +"Absentní zaměstnanec (zaměstnanci), jehož žádost o dovolenou je buď " +"potvrzena nebo ověřena od dneška" #. module: hr_holidays #: model:ir.actions.act_window,name:hr_holidays.hr_employee_action_from_department msgid "Absent Employees" -msgstr "" +msgstr "Absentující zaměstnanci" #. module: hr_holidays #: model:ir.model.fields,field_description:hr_holidays.field_hr_employee_is_absent_totay @@ -159,7 +161,7 @@ msgstr "" #. module: hr_holidays #: model:ir.actions.act_window,name:hr_holidays.action_hr_holidays_dashboard msgid "All Leaves" -msgstr "" +msgstr "Všechny dovolené" #. module: hr_holidays #: model:ir.actions.act_window,name:hr_holidays.hr_holidays_leaves_assign_legal @@ -217,12 +219,12 @@ msgstr "" #. module: hr_holidays #: model:ir.model.fields,field_description:hr_holidays.field_hr_department_allocation_to_approve_count msgid "Allocation to Approve" -msgstr "" +msgstr "Přidělení ke Schválení" #. module: hr_holidays #: model:ir.ui.view,arch_db:hr_holidays.view_hr_holidays_filter msgid "Allocations" -msgstr "" +msgstr "Přidělení" #. module: hr_holidays #: model:ir.model.fields,field_description:hr_holidays.field_hr_holidays_status_limit @@ -263,7 +265,7 @@ msgstr "" #. module: hr_holidays #: model:ir.ui.view,arch_db:hr_holidays.view_hr_holidays_filter msgid "Approved Leaves" -msgstr "" +msgstr "Sválené dovolené" #. module: hr_holidays #: model:ir.ui.view,arch_db:hr_holidays.hr_holidays_leaves_assign_tree_view @@ -376,7 +378,7 @@ msgstr "" #. module: hr_holidays #: model:ir.ui.view,arch_db:hr_holidays.edit_holiday_new msgid "Comment by Manager" -msgstr "" +msgstr "Komentář manažera" #. module: hr_holidays #: model:ir.model.fields,field_description:hr_holidays.field_hr_holidays_status_company_id @@ -555,7 +557,7 @@ msgstr "Seskupit podle" #. module: hr_holidays #: model:ir.model.fields,field_description:hr_holidays.field_hr_holidays_report_note msgid "HR Comments" -msgstr "" +msgstr "Komentáře od HR" #. module: hr_holidays #: model:ir.model,name:hr_holidays.model_hr_department diff --git a/addons/l10n_be_intrastat/wizard/xml_decl.py b/addons/l10n_be_intrastat/wizard/xml_decl.py index d27f677d431..86f3bda9f57 100644 --- a/addons/l10n_be_intrastat/wizard/xml_decl.py +++ b/addons/l10n_be_intrastat/wizard/xml_decl.py @@ -4,9 +4,11 @@ import base64 from xml.etree import ElementTree as ET from collections import namedtuple +from functools import partial from odoo import api, exceptions, fields, models, _ from odoo.tools.pycompat import text_type +from odoo.tools import float_round, float_is_zero INTRASTAT_XMLNS = 'http://www.onegate.eu/2010-01-01' @@ -103,7 +105,16 @@ class XmlDeclaration(models.TransientModel): 'res_id': self.id, } + def _get_rounding_digits(self): + """A hook to not break behavior + Allows to programmatically set with what precision + the price, weight and values will be rounded""" + return 0 + def _build_intrastat_line(self, numlgn, item, linekey, amounts, dispatchmode, extendedmode): + round_digits = self._get_rounding_digits() + _round = partial(float_round, precision_digits=round_digits) + self._set_Dim(item, 'EXSEQCODE', text_type(numlgn)) self._set_Dim(item, 'EXTRF', text_type(linekey.EXTRF)) self._set_Dim(item, 'EXCNT', text_type(linekey.EXCNT)) @@ -113,9 +124,9 @@ class XmlDeclaration(models.TransientModel): if extendedmode: self._set_Dim(item, 'EXTPC', text_type(linekey.EXTPC)) self._set_Dim(item, 'EXDELTRM', text_type(linekey.EXDELTRM)) - self._set_Dim(item, 'EXTXVAL', text_type(round(amounts[0], 0)).replace(".", ",")) - self._set_Dim(item, 'EXWEIGHT', text_type(round(amounts[1], 0)).replace(".", ",")) - self._set_Dim(item, 'EXUNITS', text_type(round(amounts[2], 0)).replace(".", ",")) + self._set_Dim(item, 'EXTXVAL', text_type(_round(amounts[0], 0)).replace(".", ",")) + self._set_Dim(item, 'EXWEIGHT', text_type(_round(amounts[1], 0)).replace(".", ",")) + self._set_Dim(item, 'EXUNITS', text_type(_round(amounts[2], 0)).replace(".", ",")) def _get_intrastat_linekey(self, declcode, inv_line, dispatchmode, extendedmode): IntrastatRegion = self.env['l10n_be_intrastat.region'] @@ -297,7 +308,7 @@ class XmlDeclaration(models.TransientModel): numlgn = 0 for linekey in entries: amounts = entries[linekey] - if round(amounts[0], 0) == 0: + if float_is_zero(amounts[0], precision_digits=self._get_rounding_digits()): continue numlgn += 1 item = ET.SubElement(datas, 'Item') diff --git a/addons/l10n_be_intrastat_2019/models/account_intrastat_report.py b/addons/l10n_be_intrastat_2019/models/account_intrastat_report.py index 51cf8c4ae56..887bc86fe4a 100644 --- a/addons/l10n_be_intrastat_2019/models/account_intrastat_report.py +++ b/addons/l10n_be_intrastat_2019/models/account_intrastat_report.py @@ -12,6 +12,15 @@ class XmlDeclaration(models.TransientModel): """ _inherit = "l10n_be_intrastat_xml.xml_decl" + def _get_rounding_digits(self): + """ + @override + + https://www.nbb.be/doc/dq/f_pdf_ex/nieuwsbriefintrastat_n28_2018_fr.pdf + Chapter 3 + """ + return 2 + def _build_intrastat_line(self, numlgn, item, linekey, amounts, dispatchmode, extendedmode): super(XmlDeclaration, self)._build_intrastat_line(numlgn, item, linekey, amounts, dispatchmode, extendedmode) if dispatchmode: diff --git a/addons/mail/i18n/uk.po b/addons/mail/i18n/uk.po index df522bb1037..506edcf3636 100644 --- a/addons/mail/i18n/uk.po +++ b/addons/mail/i18n/uk.po @@ -639,7 +639,7 @@ msgstr "Долучити файл" #: model:ir.model.fields,field_description:mail.field_mail_template__attachment_ids #: model:ir.ui.view,arch_db:mail.view_mail_form msgid "Attachments" -msgstr "Долучення" +msgstr "Прикріплення" #. module: mail #: model:ir.model.fields,help:mail.field_mail_compose_message__attachment_ids diff --git a/addons/mass_mailing/controllers/main.py b/addons/mass_mailing/controllers/main.py index b642033b35c..d7252b0ed1b 100644 --- a/addons/mass_mailing/controllers/main.py +++ b/addons/mass_mailing/controllers/main.py @@ -11,7 +11,7 @@ from odoo.tools import consteq class MassMailController(http.Controller): - @http.route(['/unsubscribe_from_list'], type='http', website=True, multilang=False, auth='public') + @http.route(['/unsubscribe_from_list'], type='http', website=True, multilang=False, auth='public', sitemap=False) def unsubscribe_placeholder_link(self, **post): """Dummy route so placeholder is not prefixed by language, MUST have multilang=False""" raise werkzeug.exceptions.NotFound() diff --git a/addons/mass_mailing/i18n/cs.po b/addons/mass_mailing/i18n/cs.po index 6b38675e114..063592fffea 100644 --- a/addons/mass_mailing/i18n/cs.po +++ b/addons/mass_mailing/i18n/cs.po @@ -885,7 +885,7 @@ msgstr "" #. module: mass_mailing #: model:ir.model.fields,field_description:mass_mailing.field_mail_mail_statistics_mail_mail_id msgid "Mail" -msgstr "" +msgstr "Pošta" #. module: mass_mailing #: model:ir.ui.view,arch_db:mass_mailing.view_mail_mass_mailing_form diff --git a/addons/mrp/i18n/hu.po b/addons/mrp/i18n/hu.po index 135c3c9c9a0..23a3458e0f4 100644 --- a/addons/mrp/i18n/hu.po +++ b/addons/mrp/i18n/hu.po @@ -928,12 +928,12 @@ msgstr "Leírás" #. module: mrp #: model:ir.model.fields,help:mrp.field_mrp_workcenter__note msgid "Description of the Work Center." -msgstr "" +msgstr "A munkaközpont leírása." #. module: mrp #: model:ir.ui.view,arch_db:mrp.mrp_workcenter_view msgid "Description of the work center..." -msgstr "" +msgstr "A munkaközpont leírása..." #. module: mrp #: model:ir.model.fields,field_description:mrp.field_mrp_unbuild__location_dest_id @@ -1004,17 +1004,17 @@ msgstr "Időtartam" #. module: mrp #: model:ir.ui.view,arch_db:mrp.oee_tree_view msgid "Duration (minutes)" -msgstr "" +msgstr "Időtartam (percek)" #. module: mrp #: model:ir.model.fields,field_description:mrp.field_mrp_routing_workcenter__time_mode msgid "Duration Computation" -msgstr "" +msgstr "Időtartam kiszámítása" #. module: mrp #: model:ir.model.fields,field_description:mrp.field_mrp_workorder__duration_percent msgid "Duration Deviation (%)" -msgstr "" +msgstr "Időtartam eltérés (%)" #. module: mrp #: model:ir.model.fields,field_description:mrp.field_mrp_workorder__duration_unit @@ -1040,7 +1040,7 @@ msgstr "" #: model:ir.model.fields,field_description:mrp.field_mrp_workcenter_productivity__loss_type #: model:ir.model.fields,field_description:mrp.field_mrp_workcenter_productivity_loss__loss_type msgid "Effectiveness Category" -msgstr "" +msgstr "Hatékonysági kategória" #. module: mrp #: model:ir.ui.view,arch_db:mrp.mrp_production_workorder_form_view_inherit @@ -1056,12 +1056,12 @@ msgstr "Befejezés dátuma" #. module: mrp #: model:ir.model.fields,field_description:mrp.field_mrp_workorder__duration_expected msgid "Expected Duration" -msgstr "" +msgstr "Tervezett időtartam" #. module: mrp #: model:ir.model.fields,help:mrp.field_mrp_workorder__duration_expected msgid "Expected duration (in minutes)" -msgstr "" +msgstr "Tervezett időtartam (percekben)" #. module: mrp #: model:ir.model.fields,field_description:mrp.field_mrp_document__datas @@ -1153,7 +1153,7 @@ msgstr "Kezdő dátum" #. module: mrp #: model:ir.ui.view,arch_db:mrp.oee_search_view msgid "Fully Productive" -msgstr "" +msgstr "Teljesen termelékeny" #. module: mrp #: model:ir.ui.view,arch_db:mrp.mrp_unbuild_search_view @@ -1220,7 +1220,7 @@ msgstr "Csoportosítás..." #. module: mrp #: model:ir.model.fields,field_description:mrp.field_mrp_bom_line__has_attachments msgid "Has Attachments" -msgstr "" +msgstr "Mellékletei vannak" #. module: mrp #: model:ir.model.fields,field_description:mrp.field_mrp_workorder__is_produced @@ -1362,7 +1362,7 @@ msgstr "" #: code:addons/mrp/models/mrp_unbuild.py:210 #, python-format msgid "Insufficient Quantity" -msgstr "" +msgstr "Elégtelen mennyiség" #. module: mrp #: selection:stock.picking.type,code:0 @@ -1380,7 +1380,7 @@ msgstr "" #: model:ir.actions.act_window,name:mrp.action_mrp_production_moves #: model:ir.ui.view,arch_db:mrp.mrp_production_form_view msgid "Inventory Moves" -msgstr "" +msgstr "Leltár mozgások" #. module: mrp #: model:ir.model.fields,help:mrp.field_mrp_workorder__move_line_ids @@ -1399,7 +1399,7 @@ msgstr "Ő egy követő" #. module: mrp #: model:ir.model.fields,field_description:mrp.field_mrp_production__is_locked msgid "Is Locked" -msgstr "" +msgstr "Zárolt" #. module: mrp #: model:ir.model.fields,field_description:mrp.field_mrp_workcenter_productivity_loss__manual @@ -1680,7 +1680,7 @@ msgstr "" #. module: mrp #: model:ir.model.fields,field_description:mrp.field_stock_warehouse__manu_type_id msgid "Manufacturing Operation Type" -msgstr "" +msgstr "Gyártási művelet típusa" #. module: mrp #: model:ir.model.fields,field_description:mrp.field_change_production_qty__mo_id @@ -1724,7 +1724,7 @@ msgstr "" #: model:ir.model.fields,field_description:mrp.field_mrp_bom__ready_to_produce #: model:ir.ui.view,arch_db:mrp.mrp_bom_form_view msgid "Manufacturing Readiness" -msgstr "" +msgstr "Gyártási készenlét" #. module: mrp #: model:ir.ui.view,arch_db:mrp.mrp_production_form_view @@ -1778,7 +1778,7 @@ msgstr "" #: model:ir.model.fields,field_description:mrp.field_mrp_production__availability #: model:ir.model.fields,field_description:mrp.field_mrp_workorder__production_availability msgid "Materials Availability" -msgstr "" +msgstr "Anyagok elérhetősége" #. module: mrp #: model:ir.model.fields,field_description:mrp.field_mrp_message__message @@ -1844,7 +1844,7 @@ msgstr "Mrp munkaállomás" #. module: mrp #: model:ir.actions.server,name:mrp.production_order_server_action msgid "Mrp: Plan Production Orders" -msgstr "" +msgstr "Mrp: Termelési rendelések tervezése" #. module: mrp #: model:ir.ui.view,arch_db:mrp.mrp_unbuild_search_view @@ -1898,12 +1898,12 @@ msgstr "" #. module: mrp #: model:ir.model.fields,field_description:mrp.field_mrp_routing_workcenter__batch msgid "Next Operation" -msgstr "" +msgstr "Következő művelet" #. module: mrp #: model:ir.model.fields,field_description:mrp.field_mrp_workorder__next_work_order_id msgid "Next Work Order" -msgstr "" +msgstr "Következő munka rendelés" #. module: mrp #: model:ir.model.fields,field_description:mrp.field_stock_production_lot__use_next_on_work_order_id @@ -1941,6 +1941,8 @@ msgstr "" msgid "" "No workorder currently in progress. Click to mark work center as blocked." msgstr "" +"Jelenleg nincs munka rendelés folyamatban. Kattintson a munkaközpont " +"blokkoltként való megjelöléséhez." #. module: mrp #: selection:mrp.production,availability:0 @@ -1958,6 +1960,8 @@ msgstr "Normál" #: model:ir.model.fields,help:mrp.field_stock_scrap__workorder_id msgid "Not to restrict or prefer quants, but informative." msgstr "" +"Nem a mennyiségek korlátozására vagy előnyben részesítésére szolgál, de " +"informatív." #. module: mrp #: selection:mrp.production,priority:0 @@ -1980,17 +1984,17 @@ msgstr "Műveletek száma" #. module: mrp #: model:ir.model.fields,field_description:mrp.field_stock_picking_type__count_mo_late msgid "Number of Manufacturing Orders Late" -msgstr "" +msgstr "Késében lévő gyártási rendelések száma" #. module: mrp #: model:ir.model.fields,field_description:mrp.field_stock_picking_type__count_mo_waiting msgid "Number of Manufacturing Orders Waiting" -msgstr "" +msgstr "Várakozó gyártási rendelések száma" #. module: mrp #: model:ir.model.fields,field_description:mrp.field_stock_picking_type__count_mo_todo msgid "Number of Manufacturing Orders to Process" -msgstr "" +msgstr "Feldolgozandó gyártási rendelések száma" #. module: mrp #: model:ir.model.fields,help:mrp.field_mrp_bom__message_needaction_counter @@ -2004,7 +2008,7 @@ msgstr "Üzenetek száma, melyek akciót igényelnek" #: model:ir.model.fields,help:mrp.field_mrp_workcenter__capacity #: model:ir.model.fields,help:mrp.field_mrp_workorder__capacity msgid "Number of pieces that can be produced in parallel." -msgstr "" +msgstr "Párhuzamosan termelhető darabok száma." #. module: mrp #: model:ir.model.fields,help:mrp.field_mrp_bom__message_unread_counter @@ -2037,12 +2041,12 @@ msgstr "" #. module: mrp #: selection:mrp.routing.workcenter,batch:0 msgid "Once a minimum number of products is processed" -msgstr "" +msgstr "Amint egy minimális számú termék feldolgozásra került" #. module: mrp #: selection:mrp.routing.workcenter,batch:0 msgid "Once all products are processed" -msgstr "" +msgstr "Amint minden termék feldolgozásra került" #. module: mrp #: model:ir.model.fields,field_description:mrp.field_mrp_routing_workcenter__name @@ -2054,13 +2058,13 @@ msgstr "Művelet" #. module: mrp #: model:ir.model.fields,field_description:mrp.field_stock_move__operation_id msgid "Operation To Consume" -msgstr "" +msgstr "Felhasználandó művelet" #. module: mrp #: model:ir.model.fields,field_description:mrp.field_mrp_bom__picking_type_id #: model:ir.model.fields,field_description:mrp.field_mrp_production__picking_type_id msgid "Operation Type" -msgstr "" +msgstr "Művelet típus" #. module: mrp #: code:addons/mrp/report/mrp_report_bom_structure.py:196 @@ -2102,7 +2106,7 @@ msgstr "Megrendelések" #. module: mrp #: model:ir.model.fields,field_description:mrp.field_mrp_workorder__qty_production msgid "Original Production Quantity" -msgstr "" +msgstr "Eredeti termelési mennyiség" #. module: mrp #: model:ir.actions.act_window,name:mrp.mrp_workcenter_productivity_report @@ -2175,7 +2179,7 @@ msgstr "" #. module: mrp #: model:ir.model.fields,help:mrp.field_mrp_workcenter__performance msgid "Performance over the last month" -msgstr "" +msgstr "Teljesítmény az utóbbi egy hónapban" #. module: mrp #: model:ir.ui.view,arch_db:mrp.mrp_workcenter_kanban diff --git a/addons/mrp_byproduct/i18n/ko.po b/addons/mrp_byproduct/i18n/ko.po index 77e64c01060..74d3363ae89 100644 --- a/addons/mrp_byproduct/i18n/ko.po +++ b/addons/mrp_byproduct/i18n/ko.po @@ -82,7 +82,7 @@ msgstr "최근 갱신 날짜" #. module: mrp_byproduct #: model:ir.model.fields,field_description:mrp_byproduct.field_mrp_subproduct_operation_id msgid "Produced at Operation" -msgstr "" +msgstr "운영으로 생산됨" #. module: mrp_byproduct #: model:ir.model.fields,field_description:mrp_byproduct.field_mrp_subproduct_product_id @@ -112,12 +112,12 @@ msgstr "" #. module: mrp_byproduct #: model:ir.model.fields,field_description:mrp_byproduct.field_stock_move_subproduct_id msgid "Subproduct" -msgstr "" +msgstr "부제품" #. module: mrp_byproduct #: model:ir.model.fields,help:mrp_byproduct.field_stock_move_subproduct_id msgid "Subproduct line that generated the move in a manufacturing order" -msgstr "" +msgstr "제조 주문으로 이동을 발생시킨 하위 제품 명세" #. module: mrp_byproduct #: code:addons/mrp_byproduct/models/mrp_subproduct.py:32 diff --git a/addons/payment/controllers/portal.py b/addons/payment/controllers/portal.py index ded83ea59d1..8a760ed5a17 100644 --- a/addons/payment/controllers/portal.py +++ b/addons/payment/controllers/portal.py @@ -141,7 +141,7 @@ class WebsitePayment(http.Controller): tx_id = int(kw.get('tx_id', 0)) or request.session.pop('website_payment_tx_id', 0) if tx_id: tx = request.env['payment.transaction'].browse(tx_id) - if tx.state == 'done': + if tx.state in ['done', 'authorized']: status = 'success' message = tx.acquirer_id.done_msg elif tx.state == 'pending': diff --git a/addons/point_of_sale/i18n/hu.po b/addons/point_of_sale/i18n/hu.po index ecf3d1b35d5..9d4c7e2524d 100644 --- a/addons/point_of_sale/i18n/hu.po +++ b/addons/point_of_sale/i18n/hu.po @@ -2123,7 +2123,7 @@ msgstr "" #: model:ir.model.fields,field_description:point_of_sale.field_pos_order__picking_type_id #: model:ir.ui.view,arch_db:point_of_sale.pos_config_view_form msgid "Operation Type" -msgstr "" +msgstr "Művelet típus" #. module: point_of_sale #: model:ir.ui.view,arch_db:point_of_sale.pos_config_view_form diff --git a/addons/sale/i18n/sl.po b/addons/sale/i18n/sl.po index c8436560d32..f8028c71393 100644 --- a/addons/sale/i18n/sl.po +++ b/addons/sale/i18n/sl.po @@ -126,7 +126,7 @@ msgstr "" #: model:ir.ui.view,arch_db:sale.portal_order_page #: model:ir.ui.view,arch_db:sale.report_saleorder_document msgid "&nbsp;on&nbsp;" -msgstr "" +msgstr "&nbsp;na&nbsp;" #. module: sale #: model:mail.template,body_html:sale.mail_template_data_notification_email_sale_order @@ -300,7 +300,7 @@ msgstr "" #. module: sale #: model:ir.ui.view,arch_db:sale.report_saleorder_document msgid "Date Ordered:" -msgstr "" +msgstr "Datum naročila:" #. module: sale #: model:ir.ui.view,arch_db:sale.portal_order_page @@ -315,7 +315,7 @@ msgstr "" #. module: sale #: model:ir.ui.view,arch_db:sale.report_saleorder_document msgid "Fiscal Position Remark:" -msgstr "" +msgstr "Opomba za davčno območje:" #. module: sale #: model:ir.ui.view,arch_db:sale.portal_order_page @@ -389,7 +389,7 @@ msgstr "" #. module: sale #: model:ir.ui.view,arch_db:sale.report_saleorder_document msgid "Your Reference:" -msgstr "" +msgstr "Vaš sklic:" #. module: sale #: selection:res.config.settings,sale_pricelist_setting:0 @@ -1222,7 +1222,7 @@ msgstr "" #. module: sale #: model:ir.ui.view,arch_db:sale.report_saleorder_document msgid "Invoicing address:" -msgstr "" +msgstr "Naslov za račun:" #. module: sale #: model:ir.ui.view,arch_db:sale.report_saleorder_document @@ -1504,7 +1504,7 @@ msgstr "" #. module: sale #: model:ir.ui.view,arch_db:sale.report_saleorder_document msgid "Order #" -msgstr "" +msgstr "Naročilo #" #. module: sale #: code:addons/sale/controllers/portal.py:86 diff --git a/addons/sale_stock/i18n/cs.po b/addons/sale_stock/i18n/cs.po index 866ad96de18..485a2f62211 100644 --- a/addons/sale_stock/i18n/cs.po +++ b/addons/sale_stock/i18n/cs.po @@ -113,6 +113,9 @@ msgid "" "costs and responsibilities between buyer and seller and reflect state-of-the-" "art transportation practices." msgstr "" +"Incoterms je řada prodejních podmínek. Používají se k rozdělení transakčních" +" nákladů a odpovědnosti mezi kupujícím a prodávajícím a odrážejí " +"nejmodernější převodní postupy." #. module: sale_stock #: model:ir.model.fields,help:sale_stock.field_sale_order_incoterm diff --git a/addons/stock/i18n/hu.po b/addons/stock/i18n/hu.po index f3cc8e23e04..cf3e18c0c0c 100644 --- a/addons/stock/i18n/hu.po +++ b/addons/stock/i18n/hu.po @@ -2447,7 +2447,7 @@ msgstr "Behozatal helye" #: code:addons/stock/models/stock_scrap.py:135 #, python-format msgid "Insufficient Quantity" -msgstr "" +msgstr "Elégtelen mennyiség" #. module: stock #: model:stock.location,name:stock.stock_location_inter_wh @@ -2681,7 +2681,7 @@ msgstr "Ő egy követő" #: model:ir.model.fields,field_description:stock.field_stock_move_line__is_locked #: model:ir.model.fields,field_description:stock.field_stock_picking__is_locked msgid "Is Locked" -msgstr "" +msgstr "Zárolt" #. module: stock #: model:ir.model.fields,field_description:stock.field_stock_quant_package__is_processed @@ -3154,7 +3154,7 @@ msgstr "Gyártás" #. module: stock #: selection:stock.picking.type,code:0 msgid "Manufacturing Operation" -msgstr "" +msgstr "Gyártási művelet" #. module: stock #: model:ir.ui.view,arch_db:stock.view_picking_form @@ -3574,7 +3574,7 @@ msgstr "Művelet neve" #: model:ir.ui.view,arch_db:stock.view_picking_internal_search #: model:ir.ui.view,arch_db:stock.view_pickingtype_filter msgid "Operation Type" -msgstr "" +msgstr "Művelet típus" #. module: stock #: model:ir.model.fields,help:stock.field_procurement_rule__picking_type_id diff --git a/addons/stock/models/product.py b/addons/stock/models/product.py index 82301ecbdfc..c5f5da5c783 100644 --- a/addons/stock/models/product.py +++ b/addons/stock/models/product.py @@ -438,7 +438,8 @@ class ProductTemplate(models.Model): @api.depends( 'product_variant_ids', - 'product_variant_ids.stock_quant_ids', + 'product_variant_ids.stock_move_ids.product_qty', + 'product_variant_ids.stock_move_ids.state', ) def _compute_quantities(self): res = self._compute_quantities_dict() diff --git a/addons/stock/wizard/stock_backorder_confirmation.py b/addons/stock/wizard/stock_backorder_confirmation.py index d0c30a2ffc0..caf6af8bcae 100644 --- a/addons/stock/wizard/stock_backorder_confirmation.py +++ b/addons/stock/wizard/stock_backorder_confirmation.py @@ -25,7 +25,7 @@ class StockBackorderConfirmation(models.TransientModel): for pick_id in self.pick_ids: backorder_pick = self.env['stock.picking'].search([('backorder_id', '=', pick_id.id)]) backorder_pick.action_cancel() - pick_id.message_post(body=_("Back order %s cancelled.") % (backorder_pick.name)) + pick_id.message_post(body=_("Back order %s cancelled.") % (",".join([b.name or '' for b in backorder_pick]))) def process(self): self._process() diff --git a/addons/survey/i18n/ko.po b/addons/survey/i18n/ko.po index 7b487d7450a..11da23b8ea1 100644 --- a/addons/survey/i18n/ko.po +++ b/addons/survey/i18n/ko.po @@ -2032,7 +2032,7 @@ msgstr "로그인" #. module: survey #: model:ir.ui.view,arch_db:survey.page msgid "of" -msgstr "" +msgstr "of" #. module: survey #: model:ir.ui.view,arch_db:survey.sfinished diff --git a/addons/website/i18n/uk.po b/addons/website/i18n/uk.po index 75c0e33db4d..5780e3397c5 100644 --- a/addons/website/i18n/uk.po +++ b/addons/website/i18n/uk.po @@ -987,7 +987,7 @@ msgstr "Налаштувати тему" msgid "" "Customize any block through this menu. Try to change the background of the " "banner." -msgstr "Налаштуйте блоки через це меню. Спробуйте змінити тло банера." +msgstr "Налаштуйте блоки через це меню. Спробуйте змінити фон банера." #. module: website #. openerp-web diff --git a/addons/website_quote/i18n/cs.po b/addons/website_quote/i18n/cs.po index bf8caa9ed80..244e63b1669 100644 --- a/addons/website_quote/i18n/cs.po +++ b/addons/website_quote/i18n/cs.po @@ -421,7 +421,7 @@ msgstr "" #: model:product.template,quote_description:website_quote.product_template_quote_2 #: model:sale.quote.line,website_description:website_quote.website_sale_order_line_2 msgid "Arrays" -msgstr "" +msgstr "Pole" #. module: website_quote #: model:sale.quote.template,website_description:website_quote.website_quote_template_default @@ -629,7 +629,7 @@ msgstr "" #: model:sale.quote.line,website_description:website_quote.website_sale_order_line_2 #: model:sale.quote.option,website_description:website_quote.website_sale_option_line_1 msgid "Day 3" -msgstr "" +msgstr "Den 3" #. module: website_quote #: model:sale.quote.template,website_description:website_quote.website_quote_template_1 @@ -1121,7 +1121,7 @@ msgstr "" #: model:sale.quote.line,website_description:website_quote.website_sale_order_line_2 #: model:sale.quote.option,website_description:website_quote.website_sale_option_line_1 msgid "Odoo Official Website" -msgstr "" +msgstr "Oficiální webová strana Odoo" #. module: website_quote #: model:product.product,quote_description:website_quote.product_product_quote_2 @@ -1452,7 +1452,7 @@ msgstr "" #. module: website_quote #: model:ir.ui.view,arch_db:website_quote.so_quotation msgid "Reject" -msgstr "" +msgstr "Odmítnout" #. module: website_quote #: model:ir.ui.view,arch_db:website_quote.so_quotation @@ -1690,7 +1690,7 @@ msgstr "" #: model:sale.quote.line,website_description:website_quote.website_sale_order_line_2 #: model:sale.quote.option,website_description:website_quote.website_sale_option_line_1 msgid "To get more information, visit the" -msgstr "" +msgstr "Pro více informací, navštivte " #. module: website_quote #: model:product.product,quote_description:website_quote.product_product_quote_2 @@ -1811,7 +1811,7 @@ msgstr "" #: model:sale.quote.line,website_description:website_quote.website_sale_order_line_2 #: model:sale.quote.option,website_description:website_quote.website_sale_option_line_1 msgid "What you will learn?" -msgstr "" +msgstr "Co se naučíte?" #. module: website_quote #: model:product.product,quote_description:website_quote.product_product_quote_2 diff --git a/addons/website_sale/controllers/main.py b/addons/website_sale/controllers/main.py index 67907fd367e..229fac2a03d 100644 --- a/addons/website_sale/controllers/main.py +++ b/addons/website_sale/controllers/main.py @@ -581,6 +581,9 @@ class WebsiteSale(http.Controller): new_values['team_id'] = request.website.salesteam_id and request.website.salesteam_id.id new_values['user_id'] = request.website.salesperson_id and request.website.salesperson_id.id + if mode[0] == 'new': + new_values['company_id'] = request.website.company_id.id + lang = request.lang if request.lang in request.website.mapped('language_ids.code') else None if lang: new_values['lang'] = lang diff --git a/addons/website_sale/models/website.py b/addons/website_sale/models/website.py index 63dc0c71d07..79ce00b3a1a 100644 --- a/addons/website_sale/models/website.py +++ b/addons/website_sale/models/website.py @@ -284,7 +284,7 @@ class Website(models.Model): if code_pricelist: pricelist_id = code_pricelist.id update_pricelist = True - elif code is not None and sale_order.pricelist_id.code: + elif code is not None and sale_order.pricelist_id.code and code != sale_order.pricelist_id.code: # code is not None when user removes code and click on "Apply" pricelist_id = partner.property_product_pricelist.id update_pricelist = True diff --git a/odoo/addons/base/i18n/sl.po b/odoo/addons/base/i18n/sl.po index 4abcdd75089..b4f77d73f5c 100644 --- a/odoo/addons/base/i18n/sl.po +++ b/odoo/addons/base/i18n/sl.po @@ -4437,27 +4437,27 @@ msgstr "" #. module: base #: model:ir.ui.view,arch_db:base.report_irmodulereference msgid ", readonly" -msgstr "" +msgstr ", le za branje" #. module: base #: model:ir.ui.view,arch_db:base.report_irmodulereference msgid ", required" -msgstr "" +msgstr ", obvezno" #. module: base #: model:ir.ui.view,arch_db:base.report_irmodeloverview msgid "- domain =" -msgstr "" +msgstr "- domena =" #. module: base #: model:ir.ui.view,arch_db:base.report_irmodeloverview msgid "- field =" -msgstr "" +msgstr "- polje =" #. module: base #: model:ir.ui.view,arch_db:base.report_irmodeloverview msgid "- groups =" -msgstr "" +msgstr "- skupine =" #. module: base #: model:ir.ui.view,arch_db:base.report_irmodeloverview @@ -4467,17 +4467,17 @@ msgstr "" #. module: base #: model:ir.ui.view,arch_db:base.report_irmodeloverview msgid "- relation =" -msgstr "" +msgstr "- relacija =" #. module: base #: model:ir.ui.view,arch_db:base.report_irmodeloverview msgid "- selection =" -msgstr "" +msgstr "- izbor =" #. module: base #: model:ir.ui.view,arch_db:base.report_irmodeloverview msgid "- size =" -msgstr "" +msgstr "- velikost =" #. module: base #: model:ir.ui.view,arch_db:base.module_form @@ -4664,17 +4664,17 @@ msgstr "" #. module: base #: model:ir.ui.view,arch_db:base.report_irmodeloverview msgid "Apps" -msgstr "" +msgstr "Aplikacije" #. module: base #: model:ir.ui.view,arch_db:base.report_irmodeloverview msgid "Attribute" -msgstr "" +msgstr "Atribut" #. module: base #: model:ir.ui.view,arch_db:base.report_irmodulereference msgid "Dependencies :" -msgstr "" +msgstr "Odvisnosti :" #. module: base #: model:ir.ui.view,arch_db:base.view_res_company_kanban @@ -4684,7 +4684,7 @@ msgstr "" #. module: base #: model:ir.ui.view,arch_db:base.report_irmodeloverview msgid "Group" -msgstr "" +msgstr "Skupina" #. module: base #: model:ir.ui.view,arch_db:base.report_irmodeloverview @@ -4694,17 +4694,17 @@ msgstr "" #. module: base #: model:ir.ui.view,arch_db:base.report_irmodeloverview msgid "Inherited" -msgstr "" +msgstr "Podedovani" #. module: base #: model:ir.ui.view,arch_db:base.report_irmodeloverview msgid "Label" -msgstr "" +msgstr "Oznaka" #. module: base #: model:ir.ui.view,arch_db:base.report_irmodulereference msgid "Menu :" -msgstr "" +msgstr "Meni :" #. module: base #: model:ir.ui.view,arch_db:base.report_irmodeloverview @@ -4719,7 +4719,7 @@ msgstr "" #. module: base #: model:ir.ui.view,arch_db:base.report_irmodulereference msgid "Reports :" -msgstr "" +msgstr "Poročila :" #. module: base #: model:ir.ui.view,arch_db:base.report_irmodeloverview @@ -4751,27 +4751,27 @@ msgstr "" #. module: base #: model:ir.ui.view,arch_db:base.report_irmodeloverview msgid "Type" -msgstr "" +msgstr "Vrsta" #. module: base #: model:ir.ui.view,arch_db:base.report_irmodulereference msgid "View :" -msgstr "" +msgstr "Prikaz :" #. module: base #: model:ir.ui.view,arch_db:base.report_irmodeloverview msgid "XML ID" -msgstr "" +msgstr "XML ID" #. module: base #: model:ir.ui.view,arch_db:base.report_irmodeloverview msgid "Fields" -msgstr "" +msgstr "Polja" #. module: base #: model:ir.ui.view,arch_db:base.report_irmodeloverview msgid "Security" -msgstr "" +msgstr "Varnost" #. module: base #: model:ir.ui.view,arch_db:base.report_irmodeloverview @@ -5664,7 +5664,7 @@ msgstr "" #. module: base #: model:ir.ui.view,arch_db:base.report_irmodeloverview msgid "Apps:" -msgstr "" +msgstr "Aplikacije:" #. module: base #: model:ir.model.fields,field_description:base.field_ir_ui_view_arch_db @@ -18116,12 +18116,12 @@ msgstr "" #. module: base #: model:ir.ui.view,arch_db:base.report_irmodeloverview msgid "Transient: False" -msgstr "" +msgstr "Prehodni: napačen" #. module: base #: model:ir.ui.view,arch_db:base.report_irmodeloverview msgid "Transient: True" -msgstr "" +msgstr "Prehodni: pravilen" #. module: base #: model:ir.module.module,shortdesc:base.module_transifex