Commit 982177b2 authored by Cédric Krier's avatar Cédric Krier
Browse files

Rewrite read/write error messages to be independent on time

id may not exist not only because it was deleted. They may never exist or the
action happen in the past.

Closes #3825
parent 883fa6d78adb
Pipeline #61643 passed with stages
in 17 minutes and 7 seconds
......@@ -208,10 +208,10 @@
%(rules)s</field>
</record>
<record model="ir.message" id="msg_read_error">
<field name="text">You are trying to read records "%(ids)s" of "%(model)s" that don't exist anymore.</field>
<field name="text">You are trying to read records "%(ids)s" of "%(model)s" that don't exist.</field>
</record>
<record model="ir.message" id="msg_write_rule_error">
<field name="text">You are not allowed to write to records "%(ids)s" of "%(model)s" because of at least one of these rules:
%(rules)s</field>
</record>
<record model="ir.message" id="msg_write_error">
......@@ -212,10 +212,10 @@
</record>
<record model="ir.message" id="msg_write_rule_error">
<field name="text">You are not allowed to write to records "%(ids)s" of "%(model)s" because of at least one of these rules:
%(rules)s</field>
</record>
<record model="ir.message" id="msg_write_error">
<field name="text">You are trying to write to records "%(ids)s" of "%(model)s" that don't exist anymore.</field>
<field name="text">You are trying to write to records "%(ids)s" of "%(model)s" that don't exist.</field>
</record>
<record model="ir.message" id="msg_delete_rule_error">
<field name="text">You are not allowed to delete records "%(ids)s" of "%(model)s" because of at lease one of those rules:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment