Add ir.message and use custom exceptions

issue3672
This commit is contained in:
Cédric Krier committed 2018-12-29 14:20:29 +01:00
1 parent 0d4fef3357
commit 1d0bf91c18
4 files changed
+22 -15

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
<?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 group="1">
<record model="ir.message" id="msg_location_already_assigned">
<field name="text">The location "%(location)s" has already been assigned by "%(assigned_by)s".</field>
</record>
</data>
</tryton>