line, book - wf + tests

This commit is contained in:
Frederik Jaeckel 2022-08-08 14:31:42 +02:00
parent ba442b726e
commit 654e9d2ee7
25 changed files with 786 additions and 160 deletions

View file

@ -11,6 +11,24 @@ full copyright notices and license terms. -->
<record model="ir.message" id="msg_name_cashbook">
<field name="text">Cashbook</field>
</record>
<record model="ir.message" id="msg_line_wrong_state_value">
<field name="text">Invalid value of the field 'Status', allowed: edit, check, done.</field>
</record>
<record model="ir.message" id="msg_book_wrong_state_value">
<field name="text">Invalid value of the field 'Status', allowed: open, closed, archive.</field>
</record>
<record model="ir.message" id="msg_book_deny_delete">
<field name="text">The cash book '%(bookname)s' cannot be deleted because it contains %(booklines)s lines and is not in the status 'Archive'.</field>
</record>
<record model="ir.message" id="msg_book_deny_write">
<field name="text">The cash book '%(bookname)s' is '%(state_txt)s' and cannot be changed.</field>
</record>
<record model="ir.message" id="msg_line_deny_delete1">
<field name="text">The cashbook line '%(linetxt)s' cannot be deleted because the Cashbook '%(bookname)s' is in state '%(bookstate)s'.</field>
</record>
<record model="ir.message" id="msg_line_deny_delete2">
<field name="text">The cashbook line '%(linetxt)s' cannot be deleted, its in state '%(linestate)s'.</field>
</record>
</data>
</tryton>