This commit is contained in:
2026-11-08 20:08:53 +08:00
parent 7526a5fe4d
commit 9b924747c5
2692 changed files with 394867 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1">
<record id="ai_prompt_low_stock_pivot" model="ai.prompt.button">
<field name="name">Pivot of products with less than 5 in stock</field>
<field name="prompt">
Open the pivot view of Sales Analysis (model_name: sale.report). Filter the view by products with less than 5 in stock
(field_name: product_id.qty_available). Group by product variant (field_name: product_id) and set the measure directly as the
ordered quantity (measure_name: product_uom_qty) without computing the available measures.
Don't mention model_name, field_name, measure_name or any record ids in the response.
</field>
</record>
<record id="ai.ai_systray_action" model="ai.composer">
<field name="available_prompt_ids" eval="[
(4, ref('ai_sale_stock.ai_prompt_low_stock_pivot')),
]"/>
</record>
</data>
</odoo>