product_stock_state/demo/product_product.xml
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<record id="product_setting_by_company" model="product.product">
<field name="name">Product with threshold set on the company</field>
<field name="categ_id" ref="product.product_category_all"/>
</record>
<record id="product_setting_by_product" model="product.product">
<field name="name">Product with threshold set on the product</field>
<field name="categ_id" ref="product.product_category_all"/>
<field name="manual_stock_state_threshold">30</field>
</record>
</odoo>