[FIX] sale_timesheet: remove key from translation terms
Before this commit, the key from the sales_timesheet.progressbar was in the translation terms, if one of this was translated, then an error was raised, the translated key wasn't expected into the function. Now, only the labels can be translated. opw-2123570 closes odoo/odoo#40541 X-original-commit: 8b4a647c94a4ec334327de72af9594a8de183006 Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
This commit is contained in:
committed by
fw-bot
parent
698c1e3cc1
commit
c9d08fb3ef
@@ -1339,28 +1339,3 @@ msgstr ""
|
||||
msgid ""
|
||||
"You have to unlink the task from the sale order item in order to delete it."
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_timesheet
|
||||
#: model_terms:ir.ui.view,arch_db:sale_timesheet.timesheet_plan
|
||||
msgid "billable_fixed"
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_timesheet
|
||||
#: model_terms:ir.ui.view,arch_db:sale_timesheet.timesheet_plan
|
||||
msgid "billable_time"
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_timesheet
|
||||
#: model_terms:ir.ui.view,arch_db:sale_timesheet.timesheet_plan
|
||||
msgid "canceled"
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_timesheet
|
||||
#: model_terms:ir.ui.view,arch_db:sale_timesheet.timesheet_plan
|
||||
msgid "non_billable"
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_timesheet
|
||||
#: model_terms:ir.ui.view,arch_db:sale_timesheet.timesheet_plan
|
||||
msgid "non_billable_project"
|
||||
msgstr ""
|
||||
|
||||
@@ -236,23 +236,23 @@
|
||||
<t t-set="total" t-value="employee['total'] or 1.0" />
|
||||
<t t-call="sale_timesheet.progressbar">
|
||||
<t t-set="label">Billed on Timesheets</t>
|
||||
<t t-set="key">billable_time</t>
|
||||
<t t-set="key" t-translation="off">billable_time</t>
|
||||
</t>
|
||||
<t t-call="sale_timesheet.progressbar">
|
||||
<t t-set="label">Billed at a Fixed price</t>
|
||||
<t t-set="key">billable_fixed</t>
|
||||
<t t-set="key" t-translation="off">billable_fixed</t>
|
||||
</t>
|
||||
<t t-call="sale_timesheet.progressbar">
|
||||
<t t-set="label">No task found</t>
|
||||
<t t-set="key">non_billable_project</t>
|
||||
<t t-set="key" t-translation="off">non_billable_project</t>
|
||||
</t>
|
||||
<t t-call="sale_timesheet.progressbar">
|
||||
<t t-set="label">Non billable tasks</t>
|
||||
<t t-set="key">non_billable</t>
|
||||
<t t-set="key" t-translation="off">non_billable</t>
|
||||
</t>
|
||||
<t t-call="sale_timesheet.progressbar">
|
||||
<t t-set="label">Cancelled</t>
|
||||
<t t-set="key">canceled</t>
|
||||
<t t-set="key" t-translation="off">canceled</t>
|
||||
</t>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user