add translation

This commit is contained in:
Marcos Sabater 2018-06-25 18:02:40 +02:00
parent c062e4d587
commit 0c31575885
2 changed files with 7 additions and 3 deletions

View File

@ -54,6 +54,10 @@ msgctxt "model:ir.sequence.type,name:sequence_type_edocument"
msgid "Electronic Document"
msgstr "Documentación Electrónica"
msgctxt "model:product.template,EDI_code:"
msgctxt "field:product.template,EDI_code:"
msgid "EDI Code"
msgstr "Código EDI"
msgctxt "field:party.address,EDI_code:"
msgid "EDI Code"
msgstr "Código EDI"

View File

@ -20,7 +20,7 @@ class UnitLoad:
__name__ = 'stock.unit_load'
def get_best_before(self):
return None
return ''
def get_sscc(self):
if self.shipment_out:
@ -30,7 +30,7 @@ class UnitLoad:
edi_code = edi_codes[0][:6] if edi_codes else '000000'
code = '00' + edi_code + self.code[-9:].zfill(len(self.code[-9:])-9)
return code + str(self._sscc_control_digit(code))
return None
return ''
def get_grai(self):
return None