Actaulización de gettext
This commit is contained in:
parent
c062dc9bce
commit
d340608826
2 changed files with 27 additions and 0 deletions
8
exceptions.py
Normal file
8
exceptions.py
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||||
|
# this repository contains the full copyright notices and license terms.
|
||||||
|
|
||||||
|
from trytond.model.exceptions import ValidationError
|
||||||
|
|
||||||
|
|
||||||
|
class ErroresGenerales(ValidationError):
|
||||||
|
pass
|
19
message.xml
Normal file
19
message.xml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||||
|
this repository contains the full copyright notices and license terms. -->
|
||||||
|
<tryton>
|
||||||
|
<data grouped="1">
|
||||||
|
<record model="ir.message" id="msg_noborrador_sinlineas">
|
||||||
|
<field name="text">La compra #{s} no está en estado borrador o no contiene lineas</field>
|
||||||
|
</record>
|
||||||
|
<record model="ir.message" id="msg_error_ventanas">
|
||||||
|
<field name="text">Error en las compras seleccionadas</field>
|
||||||
|
</record>
|
||||||
|
<record model="ir.message" id="msg_fallo_finalizacion">
|
||||||
|
<field name="text">Falló la finalización automática de la(s) compra(s)</field>
|
||||||
|
</record>
|
||||||
|
<record model="ir.message" id="msg_error_direccion">
|
||||||
|
<field name="text">La compra #{p} no tiene direccion de facturación</field>
|
||||||
|
</record>
|
||||||
|
</data>
|
||||||
|
</tryton>
|
Loading…
Reference in a new issue