summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/product_template.xml
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/views/product_template.xml')
-rwxr-xr-xindoteknik_custom/views/product_template.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/indoteknik_custom/views/product_template.xml b/indoteknik_custom/views/product_template.xml
index 558805b1..b2939867 100755
--- a/indoteknik_custom/views/product_template.xml
+++ b/indoteknik_custom/views/product_template.xml
@@ -12,6 +12,10 @@
<field name="x_model_product"/>
<field name="x_studio_field_tGhJR" widget="many2many_tags"/>
</field>
+ <field name="uom_po_id" position="after">
+ <field name="desc_update_solr" readonly="1" />
+ <field name="last_update_solr" readonly="1" />
+ </field>
<page name="inventory" position="after">
<page string="Marketplace" name="marketplace">
<group>
@@ -72,5 +76,13 @@
</field>
</field>
</record>
+
+ <record id="ir_actions_server_product_template_sync_to_solr" model="ir.actions.server">
+ <field name="name">Sync to solr</field>
+ <field name="model_id" ref="product.model_product_template"/>
+ <field name="binding_model_id" ref="product.model_product_template"/>
+ <field name="state">code</field>
+ <field name="code">model.action_sync_to_solr()</field>
+ </record>
</data>
</odoo> \ No newline at end of file