summaryrefslogtreecommitdiff
path: root/addons/base_automation/views
diff options
context:
space:
mode:
authorJulien Castiaux <juc@odoo.com>2019-11-27 13:36:31 +0000
committerMartin Trigaux <mat@odoo.com>2020-03-24 06:43:44 +0000
commita5df7552842564b649ce2930ec302018ed18f534 (patch)
treed935b70dfb324b3feb9cd0f08f738e48659f07ea /addons/base_automation/views
parent3ea6180f182d6ea06b963fe437be05b380f1ee46 (diff)
[FIX] base: apply changes on inherited view
Commit 60106cf2 (task 2082503) introduced some changes on server actions and automated actions, some changes were applied on server actions but via the base_automation inherited view. This commit move those change so they are directly applied on the server action form view. closes odoo/odoo#40964 Signed-off-by: Julien Castiaux <Julien00859@users.noreply.github.com>
Diffstat (limited to 'addons/base_automation/views')
-rw-r--r--addons/base_automation/views/base_automation_view.xml19
1 files changed, 0 insertions, 19 deletions
diff --git a/addons/base_automation/views/base_automation_view.xml b/addons/base_automation/views/base_automation_view.xml
index 0ace9a48dc9..557883e26e8 100644
--- a/addons/base_automation/views/base_automation_view.xml
+++ b/addons/base_automation/views/base_automation_view.xml
@@ -14,13 +14,6 @@
</xpath>
<xpath expr="//button[@name='run']" position="replace">
</xpath>
- <xpath expr="//field[@name='model_id']" position='attributes'>
- <attribute name="options">{'no_create': True}</attribute>
- </xpath>
- <xpath expr="//field[@name='crud_model_id']" position='attributes'>
- <attribute name="string">Target Model</attribute>
- <attribute name="options">{'no_create': True}</attribute>
- </xpath>
<xpath expr="//field[@name='partner_ids']" position='attributes'>
<attribute name="options">{'no_create': True}</attribute>
</xpath>
@@ -30,18 +23,6 @@
<xpath expr="//field[@name='template_id']" position='attributes'>
<attribute name="context">{'default_model_id': model_id}</attribute>
</xpath>
- <xpath expr="//field[@name='col1']" position='attributes'>
- <attribute name="options">{'no_create':True'}</attribute>
- </xpath>
- <xpath expr="//field[@name='resource_ref']" position='attributes'>
- <attribute name="options">{'hide_model': True, 'no_create' : True}</attribute>
- </xpath>
- <xpath expr="//field[@name='value']" position='attributes'>
- <attribute name="attrs">{'readonly': ['|', ('evaluation_type', '=', 'reference'), ('col1', '=', False)]}</attribute>
- </xpath>
- <xpath expr="//field[@name='link_field_id']" position='attributes'>
- <attribute name="string">Link Field</attribute>
- </xpath>
<xpath expr="//page[@name='security']" position='attributes'>
<attribute name='invisible'>1</attribute>
</xpath>