trytond-patches/issue10271.diff

44 lines
1.6 KiB
Diff

diff --git a/trytond/trytond/modules/sale/locale/ca.po b/trytond/trytond/modules/sale/locale/ca.po
index 3b110ce..e4a79f6 100644
--- a/trytond/trytond/modules/sale/locale/ca.po
+++ b/trytond/trytond/modules/sale/locale/ca.po
@@ -684,8 +684,8 @@ msgid "Total"
msgstr "Total"
msgctxt "field:sale.sale,total_amount_cache:"
-msgid "Total Tax"
-msgstr "Total impostos"
+msgid "Total Cache"
+msgstr "Total precalculats"
msgctxt "field:sale.sale,untaxed_amount:"
msgid "Untaxed"
diff --git a/trytond/trytond/modules/sale/locale/es.po b/trytond/trytond/modules/sale/locale/es.po
index 7229496..aee4002 100644
--- a/trytond/trytond/modules/sale/locale/es.po
+++ b/trytond/trytond/modules/sale/locale/es.po
@@ -684,8 +684,8 @@ msgid "Total"
msgstr "Total"
msgctxt "field:sale.sale,total_amount_cache:"
-msgid "Total Tax"
-msgstr "Total impuestos"
+msgid "Total Cache"
+msgstr "Total precalculado"
msgctxt "field:sale.sale,untaxed_amount:"
msgid "Untaxed"
diff --git a/trytond/trytond/modules/sale/sale.py b/trytond/trytond/modules/sale/sale.py
index b1096c2..b3699ee 100644
--- a/trytond/trytond/modules/sale/sale.py
+++ b/trytond/trytond/modules/sale/sale.py
@@ -167,7 +167,7 @@ class Sale(Workflow, ModelSQL, ModelView, TaxableMixin):
total_amount = fields.Function(fields.Numeric('Total',
digits=(16, Eval('currency_digits', 2)),
depends=['currency_digits']), 'get_amount')
- total_amount_cache = fields.Numeric('Total Tax',
+ total_amount_cache = fields.Numeric('Total Cache',
digits=(16, Eval('currency_digits', 2)),
readonly=True,
depends=['currency_digits'])