Fix translations, fields and imports
This commit is contained in:
parent
42e44868a1
commit
15c9e432cd
11
locale/ca.po
11
locale/ca.po
|
@ -316,7 +316,7 @@ msgstr "Parceles"
|
|||
|
||||
msgctxt "field:party.party,plantations:"
|
||||
msgid "Plantation"
|
||||
msgstr "Plantacións"
|
||||
msgstr "Plantació"
|
||||
|
||||
msgctxt "field:product.configuration,variant_deactivation_time:"
|
||||
msgid "Variant Deactivation Time"
|
||||
|
@ -376,7 +376,7 @@ msgstr "Plantilla qualitat albarà sortida"
|
|||
|
||||
msgctxt "field:product.product,variant_deactivate_stock_zero:"
|
||||
msgid "Variant Deactivate Stock 0"
|
||||
msgstr "Desactivar variant amb estoc 0"
|
||||
msgstr "Desactivar variant amb estoc a 0"
|
||||
|
||||
msgctxt "field:product.product,varieties:"
|
||||
msgid "Varieties"
|
||||
|
@ -780,7 +780,7 @@ msgstr "Ecològic"
|
|||
|
||||
msgctxt "field:product.product-agronomics.ecological,product:"
|
||||
msgid "Product"
|
||||
msgstr "Productes"
|
||||
msgstr "Producte"
|
||||
|
||||
msgctxt "field:product.template,agronomic_type:"
|
||||
msgid "Agronomic Type"
|
||||
|
@ -1631,7 +1631,7 @@ msgstr "Processos"
|
|||
|
||||
msgctxt "selection:ir.cron,method:"
|
||||
msgid "Deactivate Variants"
|
||||
msgstr "Desactivar Variants"
|
||||
msgstr "Desactivar variants"
|
||||
|
||||
msgctxt "selection:product.product,agronomic_type:"
|
||||
msgid "Bottled Wine"
|
||||
|
@ -1733,17 +1733,14 @@ msgctxt "view:product.product:"
|
|||
msgid "Quality"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "view:production.cost_price.distribution:"
|
||||
msgid "%"
|
||||
msgstr "%"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "view:production:"
|
||||
msgid "Cost Distribution"
|
||||
msgstr "Distribució de costos"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "view:production:"
|
||||
msgid "Total"
|
||||
msgstr "Total"
|
||||
|
|
|
@ -376,7 +376,7 @@ msgstr "Plantilla calidad albarán de salida"
|
|||
|
||||
msgctxt "field:product.product,variant_deactivate_stock_zero:"
|
||||
msgid "Variant Deactivate Stock 0"
|
||||
msgstr "Desactivar variante con estoc 0"
|
||||
msgstr "Desactivar variante con stock a 0"
|
||||
|
||||
msgctxt "field:product.product,varieties:"
|
||||
msgid "Varieties"
|
||||
|
@ -947,7 +947,7 @@ msgstr "UdM"
|
|||
|
||||
msgctxt "field:production.template,cost_distribution_template:"
|
||||
msgid "Default cost distribution template"
|
||||
msgstr ""
|
||||
msgstr "Plantilla de distribución de costos predeterminada"
|
||||
|
||||
msgctxt "field:production.template,cost_distribution_templates:"
|
||||
msgid "Cost Distribution Templates"
|
||||
|
@ -1734,17 +1734,14 @@ msgctxt "view:product.product:"
|
|||
msgid "Quality"
|
||||
msgstr "Calidad"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "view:production.cost_price.distribution:"
|
||||
msgid "%"
|
||||
msgstr "%"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "view:production:"
|
||||
msgid "Cost Distribution"
|
||||
msgstr "Distribución de costos"
|
||||
msgstr "Distribución de costes"
|
||||
|
||||
#, fuzzy
|
||||
msgctxt "view:production:"
|
||||
msgid "Total"
|
||||
msgstr "Total"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
from decimal import Decimal
|
||||
from datetime import datetime
|
||||
from trytond.model import ModelSQL, ModelView, fields
|
||||
from trytond.pool import PoolMeta, Pool
|
||||
from trytond.pool import Pool, PoolMeta
|
||||
from trytond.pyson import Eval
|
||||
from trytond.exceptions import UserError
|
||||
from trytond.i18n import gettext
|
||||
|
@ -34,7 +34,7 @@ class Container(ModelSQL, ModelView):
|
|||
class ProductConfiguration(metaclass=PoolMeta):
|
||||
__name__ = 'product.configuration'
|
||||
|
||||
variant_deactivation_time = fields.TimeDelta('Variant Deactivation Time')
|
||||
variant_deactivation_time = fields.TimeDelta("Variant Deactivation Time")
|
||||
|
||||
|
||||
class Template(metaclass=PoolMeta):
|
||||
|
@ -63,7 +63,7 @@ class Template(metaclass=PoolMeta):
|
|||
|
||||
quality_weighing = fields.Many2One('quality.template', 'Quality Weighing')
|
||||
|
||||
variant_deactivate_stock_zero = fields.Boolean('Variant Deactivate Stock 0')
|
||||
variant_deactivate_stock_zero = fields.Boolean("Variant Deactivate Stock 0")
|
||||
|
||||
def get_capacity(self, name):
|
||||
if self.container:
|
||||
|
|
Loading…
Reference in New Issue