<?xml version="1.0" encoding="UTF-8"?>
<domain-models xmlns="http://axelor.com/xml/ns/domain-models"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://axelor.com/xml/ns/domain-models http://axelor.com/xml/ns/domain-models/domain-models_5.0.xsd">

  <module name="sale" package="com.axelor.sale.db"/>

  <entity name="Product" cachable="true">
    <string name="code" required="true" unique="true" min="2"/>
    <string name="name" required="true" unique="true" min="2"/>
    <string name="color"/>
    <string name="colorVariants"/>
    <many-to-one name="category" ref="ProductCategory"/>
    <one-to-one name="image" ref="com.axelor.meta.db.MetaFile" />
    <string name="notes" large="true" />
    <string name="attrs" title="Attributes" max="1024" json="true" />
  </entity>

</domain-models>

<?xml version="1.0" encoding="UTF-8"?>
<domain-models xmlns="http://axelor.com/xml/ns/domain-models"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://axelor.com/xml/ns/domain-models http://axelor.com/xml/ns/domain-models/domain-models_5.0.xsd">

  <module name="sale" package="com.axelor.sale.db"/>

  <entity name="Product" cachable="true">
    <string name="code" required="true" unique="true" min="2"/>
    <string name="name" required="true" unique="true" min="2"/>
    <string name="color"/>
    <string name="colorVariants"/>
    <many-to-one name="category" ref="ProductCategory"/>
    <one-to-one name="image" ref="com.axelor.meta.db.MetaFile" />
    <string name="notes" large="true" />
    <string name="attrs" title="Attributes" json="true" />
  </entity>

</domain-models>

Remove max size from json field
Remove max size from json field
