feat(snippets): docs

This commit is contained in:
Janik von Rotz committed 2025-04-17 14:58:43 +02:00
1 parent 32859622ac
commit e56360c5cc
4 files changed
+42

No files matched your search

+12
View File
@@ -254,6 +254,18 @@ ID: `mint_system.purchase.purchase_order_form.x_group_ids`
```
Source: [snippets/purchase.purchase_order_form.x_group_ids.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/purchase.purchase_order_form.x_group_ids.xml)
### X Is Hidden
ID: `mint_system.purchase.purchase_order_form.x_is_hidden`
```xml
<data inherit_id="purchase.purchase_order_form" priority="50">
<xpath expr="//field[@name='user_id']" position="after">
<field name="x_is_hidden" groups="purchase.group_purchase_executives"/>
</xpath>
</data>
```
Source: [snippets/purchase.purchase_order_form.x_is_hidden.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/purchase.purchase_order_form.x_is_hidden.xml)
### X Payment State
ID: `mint_system.purchase.purchase_order_form.x_payment_state`
```xml
+12
View File
@@ -5590,6 +5590,18 @@ ID: `mint_system.sale.view_quotation_tree.show_​payment_term_id`
```
Source: [snippets/sale.view_quotation_tree.show_​payment_term_id.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/sale.view_quotation_tree.show_​payment_term_id.xml)
### Show Stage Category
ID: `mint_system.sale.view_quotation_tree.show_stage_category`
```xml
<data inherit_id="sale.view_quotation_tree" priority="50">
<field name="state" position="after">
<field name="stage_category" optional="show"/>
</field>
</data>
```
Source: [snippets/sale.view_quotation_tree.show_stage_category.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/sale.view_quotation_tree.show_stage_category.xml)
### X Order Number
ID: `mint_system.sale.view_quotation_tree.x_order_number`
```xml
+13
View File
@@ -7389,6 +7389,19 @@ ID: `mint_system.stock.view_move_line_tree.enable_create`
```
Source: [snippets/stock.view_move_line_tree.enable_create.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/stock.view_move_line_tree.enable_create.xml)
## View Move Search
### Filter Wip
ID: `mint_system.stock.view_move_search.filter_wip`
```xml
<data inherit_id="stock.view_move_search" priority="50">
<filter name="future" position="after">
<filter string="WIP" name="wip" domain="[('location_dest_id', '=', 'Production'), ('state', 'in', ['assigned', 'confirmed', 'waiting']), ('picked', '=', True)]"/>
</filter>
</data>
```
Source: [snippets/stock.view_move_search.filter_wip.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/stock.view_move_search.filter_wip.xml)
## View Move Tree
### Add Partner
ID: `mint_system.stock.view_move_tree.add_partner`
@@ -0,0 +1,5 @@
<data inherit_id="stock.view_move_search" priority="50">
<filter name="future" position="after">
<filter string="WIP" name="wip" domain="[('location_dest_id', '=', 'Production'), ('state', 'in', ['assigned', 'confirmed', 'waiting']), ('picked', '=', True)]"/>
</filter>
</data>