media ok + test

This commit is contained in:
Frederik Jaeckel 2022-10-14 15:29:33 +02:00
parent 0100653643
commit 2933a217e2
13 changed files with 565 additions and 33 deletions

16
message.xml Normal file
View file

@ -0,0 +1,16 @@
<?xml version="1.0"?>
<!-- This file is part of the cashbook-module from m-ds for Tryton.
The COPYRIGHT file at the top level of this repository contains the
full copyright notices and license terms. -->
<tryton>
<data>
<record model="ir.message" id="msg_file_too_big">
<field name="text">The file size of the record '%(recname)s' exceeded the maximum value of 5MB.</field>
</record>
<record model="ir.message" id="msg_file_invalid_mime">
<field name="text">The file type '%(fmime)s' of the record '%(recname)s' is not allowed. (allowed: PNG, JPG, PDF)</field>
</record>
</data>
</tryton>