line: änderungesperre bei diversen wf-zuständen + test,

abstimmung: datum/betrag anfang/ende korrekt + test für beträge muß noch
This commit is contained in:
Frederik Jaeckel 2022-08-12 16:43:49 +02:00
parent 01825cc09c
commit 149baef174
10 changed files with 1099 additions and 64 deletions

View file

@ -29,6 +29,18 @@ full copyright notices and license terms. -->
<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>
<record model="ir.message" id="msg_line_deny_write">
<field name="text">The cashbook line '%(recname)s' is '%(state_txt)s' and cannot be changed.</field>
</record>
<record model="ir.message" id="msg_line_deny_stateedit_with_recon">
<field name="text">The status cannot be changed to 'Edit' as long as the line '%(recname)s' is associated with a reconciliation.</field>
</record>
<record model="ir.message" id="msg_recon_deny_delete1">
<field name="text">The reconciliation '%(recontxt)s' cannot be deleted because the Cashbook '%(bookname)s' is in state '%(bookstate)s'.</field>
</record>
<record model="ir.message" id="msg_recon_deny_delete2">
<field name="text">The reconciliation '%(recontxt)s' cannot be deleted, its in state '%(reconstate)s'.</field>
</record>
<record model="ir.message" id="msg_setting_already_exists">
<field name="text">Settings for this user alredy exists.</field>
</record>
@ -44,6 +56,18 @@ full copyright notices and license terms. -->
<record model="ir.message" id="msg_book_err_startamount_with_lines">
<field name="text">The initial amount of the cash book '%(bookname)s' cannot be changed because it already contains bookings.</field>
</record>
<record model="ir.message" id="msg_line_deny_recon_by_state">
<field name="text">For reconciliation, the line '%(recname)s' must be in the status 'Check' or 'Done'.</field>
</record>
<record model="ir.message" id="mds_recon_deny_line_not_check">
<field name="text">For the reconciliation '%(reconame)s' of the cashbook '%(bookname)s', all lines in the date range from '%(datefrom)s' to '%(dateto)s' must be in the 'Check' state.</field>
</record>
<record model="ir.message" id="msg_line_deny_write_by_reconciliation">
<field name="text">The line '%(recname)s' cannot be changed because the reconciliation '%(reconame)s'is 'Done'.</field>
</record>
<record model="ir.message" id="msg_recon_err_overlap">
<field name="text">The date range overlaps with another reconciliation.</field>
</record>
</data>
</tryton>