[FIX] sale: translate down payment product name

Translate the product name "Down payment"
when it is created "on the fly" from wizard.

X-original-commit: 17f460587a207d708f1b9d9a0c6d080e64f9eac8
Part-of: odoo/odoo#93249
This commit is contained in:
Domenico Stragapede
2022-06-10 10:29:46 +02:00
committed by Victor Feyens
parent 660de02c21
commit df80a24828
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -1465,6 +1465,12 @@ msgstr ""
msgid "Down Payments"
msgstr ""
#. module: sale
#: code:addons/sale/wizard/sale_make_invoice_advance.py:0
#, python-format
msgid "Down payment"
msgstr ""
#. module: sale
#: model:ir.model.fields.selection,name:sale.selection__sale_advance_payment_inv__advance_payment_method__fixed
msgid "Down payment (fixed amount)"
@@ -190,7 +190,7 @@ class SaleAdvancePaymentInv(models.TransientModel):
def _prepare_deposit_product(self):
return {
'name': 'Down payment',
'name': _('Down payment'),
'type': 'service',
'invoice_policy': 'order',
'property_account_income_id': self.deposit_account_id.id,