The `analytic_distribution` field is a Json. It was stored temporarily as a char. Search is not available yet, so we do queries by hand when we need to search on keys. Also added a constraint on account_analytic_distribution_model, so we don't have models with accounts specific to a company when the model has no company or another company. It would cause an issue when looking at the models from another company. X-original-commit: 7064c95aa04e5138bb12ae97acfee04ebb67cc0e Part-of: odoo/odoo#103097
10 lines
287 B
XML
10 lines
287 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data noupdate="1">
|
|
<record id="decimal_percentage_analytic" model="decimal.precision">
|
|
<field name="name">Percentage Analytic</field>
|
|
<field name="digits" eval="2"/>
|
|
</record>
|
|
</data>
|
|
</odoo>
|