Adds a create_product tool to ToolProducts so the assistant / MCP clients can reference a brand-new article or service in the catalog (e.g. before adding it to a supplier order or a reception). Creation goes through the Product business class (triggers, numbering, rights). Guarded by produit|service / creer. Fields: label (required), ref, type, price, price_base_type, vat_rate, cost_price, barcode, description. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Co-authored-by: Laurent Destailleur <eldy@destailleur.fr> |
||
|---|---|---|
| .. | ||
| categories.class.php | ||
| conversation.class.php | ||
| crud_objects.class.php | ||
| invoices.class.php | ||
| navigation.class.php | ||
| products.class.php | ||
| reports.class.php | ||
| thirdparty.class.php | ||