Files
Cédric Krier 32108f2489 Ensure analytic line domain is still valid after account modification
Analytic account can not be changed from normal to any of the root, view or
distribution.
2023-05-17 15:19:37 +02:00

20 lines
1.0 KiB
XML

<?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 grouped="1">
<record model="ir.message" id="msg_invalid_distribution">
<field name="text">To save account "%(account)s" the sum of their distributions must be 100%%.</field>
</record>
<record model="ir.message" id="msg_account_wrong_type_line">
<field name="text">You cannot change the type of account "%(account)s" because it has move lines.</field>
</record>
<record model="ir.message" id="msg_root_origin_unique">
<field name="text">Only one account is allowed by analytic root and origin.</field>
</record>
<record model="ir.message" id="msg_analytic_account_root_change">
<field name="text">You cannot change the root of the analytic account "%(account)s" which is associated with analytic account entry.</field>
</record>
</data>
</tryton>