[FIX] sale: translate Uncategorized layout

This commit is contained in:
Martin Trigaux
2018-03-08 14:19:54 +01:00
parent b98233aacc
commit 205fd6afe2
2 changed files with 21 additions and 13 deletions
+20 -12
View File
@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-23 13:27+0000\n"
"PO-Revision-Date: 2017-06-23 13:27+0000\n"
"POT-Creation-Date: 2018-03-08 13:18+0000\n"
"PO-Revision-Date: 2018-03-08 13:18+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -131,13 +131,13 @@ msgid "<html>\n"
" % set record = ctx.get('record')\n"
" % set company = record and record.company_id or user.company_id\n"
" <body style=\"margin: 0; padding: 0;\">\n"
" <table border=\"0\" width=\"100%\" cellpadding=\"0\" bgcolor=\"#ededed\" style=\"padding: 20px; background-color: #ededed\" summary=\"o_mail_notification\">\n"
" <table border=\"0\" width=\"100%\" cellpadding=\"0\" bgcolor=\"#ededed\" style=\"padding: 20px; background-color: #ededed; border-collapse:separate;\" summary=\"o_mail_notification\">\n"
" <tbody>\n"
"\n"
" <!-- HEADER -->\n"
" <tr>\n"
" <td align=\"center\" style=\"min-width: 590px;\">\n"
" <table width=\"590\" border=\"0\" cellpadding=\"0\" bgcolor=\"#875A7B\" style=\"min-width: 590px; background-color: rgb(135,90,123); padding: 20px;\">\n"
" <table width=\"590\" border=\"0\" cellpadding=\"0\" bgcolor=\"#875A7B\" style=\"min-width: 590px; background-color: rgb(135,90,123); padding: 20px; border-collapse:separate;\">\n"
" <tr>\n"
" <td valign=\"middle\">\n"
" <span style=\"font-size:20px; color:white; font-weight: bold;\">\n"
@@ -155,7 +155,7 @@ msgid "<html>\n"
" <!-- CONTENT -->\n"
" <tr>\n"
" <td align=\"center\" style=\"min-width: 590px;\">\n"
" <table width=\"590\" border=\"0\" cellpadding=\"0\" bgcolor=\"#ffffff\" style=\"min-width: 590px; background-color: rgb(255, 255, 255); padding: 20px;\">\n"
" <table width=\"590\" border=\"0\" cellpadding=\"0\" bgcolor=\"#ffffff\" style=\"min-width: 590px; background-color: rgb(255, 255, 255); padding: 20px; border-collapse:separate;\">\n"
" <tbody>\n"
" <td valign=\"top\" style=\"font-family:Arial,Helvetica,sans-serif; color: #555; font-size: 14px;\">\n"
" ${object.body | safe}\n"
@@ -168,7 +168,7 @@ msgid "<html>\n"
" <!-- FOOTER -->\n"
" <tr>\n"
" <td align=\"center\" style=\"min-width: 590px;\">\n"
" <table width=\"590\" border=\"0\" cellpadding=\"0\" bgcolor=\"#875A7B\" style=\"min-width: 590px; background-color: rgb(135,90,123); padding: 20px;\">\n"
" <table width=\"590\" border=\"0\" cellpadding=\"0\" bgcolor=\"#875A7B\" style=\"min-width: 590px; background-color: rgb(135,90,123); padding: 20px; border-collapse:separate;\">\n"
" <tr>\n"
" <td valign=\"middle\" align=\"left\" style=\"color: #fff; padding-top: 10px; padding-bottom: 10px; font-size: 12px;\">\n"
" ${company.name}<br/>\n"
@@ -1023,6 +1023,13 @@ msgstr ""
msgid "Invoicing/Progression Ratio"
msgstr ""
#. module: sale
#: code:addons/sale/models/sale.py:740
#, python-format
msgid "It is forbidden to modify the following fields in a locked order:\n"
"%s"
msgstr ""
#. module: sale
#: model:ir.model.fields,field_description:sale.field_sale_advance_payment_inv___last_update
#: model:ir.model.fields,field_description:sale.field_sale_layout_category___last_update
@@ -2122,6 +2129,12 @@ msgstr ""
msgid "Track Service"
msgstr ""
#. module: sale
#: code:addons/sale/models/sale.py:491
#, python-format
msgid "Uncategorized"
msgstr ""
#. module: sale
#: model:ir.model.fields,field_description:sale.field_sale_order_line_price_unit
#: model:ir.ui.view,arch_db:sale.report_invoice_layouted
@@ -2276,17 +2289,12 @@ msgid "You will find here all orders that are ready to be invoiced."
msgstr ""
#. module: sale
#: model:ir.actions.act_window,help:sale.action_quotations
#: model:ir.actions.act_window,help:sale.action_quotations_salesteams
msgid "Your next actions should flow efficiently: confirm the Quotation\n"
" to a Sale Order, then create the Invoice and collect the Payment."
msgstr ""
#. module: sale
#: model:ir.actions.act_window,help:sale.action_quotations
msgid "Your next actions should flow efficiently: confirm the Quotation\n"
" to a Sale Order, then create the Invoice and collect the Payment."
msgstr ""
#. module: sale
#: model:ir.actions.act_window,help:sale.act_res_partner_2_sale_order
#: model:ir.actions.act_window,help:sale.action_orders_salesteams
+1 -1
View File
@@ -488,7 +488,7 @@ class SaleOrder(models.Model):
report_pages.append([])
# Append category to current report page
report_pages[-1].append({
'name': category and category.name or 'Uncategorized',
'name': category and category.name or _('Uncategorized'),
'subtotal': category and category.subtotal,
'pagebreak': category and category.pagebreak,
'lines': list(lines)