diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2023-09-11 11:55:47 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2023-09-11 11:55:47 +0700 |
| commit | 02c2304b242245250177fec6ab3c911d9acba781 (patch) | |
| tree | c6e905a5d99e9f50c3cfeb30a43f530533a5706c /indoteknik_custom/views | |
| parent | 439f7252866ae30b548326ad25f241e513f0fe85 (diff) | |
auto sync banner to solr, auto sync ecommerce categories to solr, add field carrier to stock_picking
Diffstat (limited to 'indoteknik_custom/views')
| -rwxr-xr-x | indoteknik_custom/views/product_public_category.xml | 9 | ||||
| -rw-r--r-- | indoteknik_custom/views/stock_picking.xml | 1 | ||||
| -rwxr-xr-x | indoteknik_custom/views/x_banner_banner.xml | 9 |
3 files changed, 19 insertions, 0 deletions
diff --git a/indoteknik_custom/views/product_public_category.xml b/indoteknik_custom/views/product_public_category.xml index 3a9eb2df..e0161acf 100755 --- a/indoteknik_custom/views/product_public_category.xml +++ b/indoteknik_custom/views/product_public_category.xml @@ -34,4 +34,13 @@ </xpath> </field> </record> + + <record id="ir_actions_server_product_public_category_sync_to_solr" model="ir.actions.server"> + <field name="name">Sync to solr</field> + <field name="model_id" ref="indoteknik_custom.model_product_public_category"/> + <field name="binding_model_id" ref="indoteknik_custom.model_product_public_category"/> + <field name="state">code</field> + <field name="code">model.action_sync_to_solr()</field> + </record> + </odoo>
\ No newline at end of file diff --git a/indoteknik_custom/views/stock_picking.xml b/indoteknik_custom/views/stock_picking.xml index b099b32c..ebc978aa 100644 --- a/indoteknik_custom/views/stock_picking.xml +++ b/indoteknik_custom/views/stock_picking.xml @@ -102,6 +102,7 @@ <field name="driver_arrival_date"/> <field name="delivery_tracking_no"/> <field name="driver_id"/> + <field name="carrier_id"/> <field name="picking_code" attrs="{'invisible': [['picking_code', '=', False]]}"/> <field name="picking_code" string="Picking code (akan digenerate ketika sudah di-validate)" attrs="{'invisible': [['picking_code', '!=', False]]}"/> </group> diff --git a/indoteknik_custom/views/x_banner_banner.xml b/indoteknik_custom/views/x_banner_banner.xml index 5e6526e0..be9ae951 100755 --- a/indoteknik_custom/views/x_banner_banner.xml +++ b/indoteknik_custom/views/x_banner_banner.xml @@ -31,6 +31,7 @@ <field name="x_status_banner" /> <field name="sequence" /> <field name="group_by_week" /> + <field name="last_update_solr" /> </group> <group> <field name="background_color" /> @@ -54,6 +55,14 @@ </field> </record> + <record id="ir_actions_server_x_banner_banner_sync_to_solr" model="ir.actions.server"> + <field name="name">Sync to solr</field> + <field name="model_id" ref="indoteknik_custom.model_x_banner_banner"/> + <field name="binding_model_id" ref="indoteknik_custom.model_x_banner_banner"/> + <field name="state">code</field> + <field name="code">model.action_sync_to_solr()</field> + </record> + <menuitem id="menu_x_banner_banner" name="Banner" |
