Files
tryton/modules/product_attribute/message.xml
T
Julio Alberto Bravo Montanos 22f151fbdc Make product attribute name unique
The name of the attributes are the keys of the attributes Dict field of product
so they must be uniquely identified at least per sets.
But as an attribute can be reused on different sets, the unique constraint must
be set on the name.

Closes #13574
2025-03-16 23:30:23 +01:00

14 lines
530 B
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>
<record model="ir.message" id="msg_label_value">
<field name="text">%(label)s: %(value)s</field>
</record>
<record model="ir.message" id="msg_product_attribute_name_unique">
<field name="text">The name of the product attribute must be unique.</field>
</record>
</data>
</tryton>