File tree Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change 1
- from odoo import models
1
+ from odoo import fields , models
2
2
3
3
4
4
class DfSource (models .Model ):
5
5
_inherit = "df.source"
6
+
7
+ query = fields .Char ()
Original file line number Diff line number Diff line change 1
- <odoo />
1
+ <odoo >
2
+ <record id =" df_source_form" model =" ir.ui.view" >
3
+ <field name =" model" >df.source</field >
4
+ <field name =" inherit_id" ref =" polars_process.df_source_form" />
5
+ <field name =" arch" type =" xml" >
6
+ <xpath expr =" //group[1]" position =" after" >
7
+ <group >
8
+ <field name =" query" />
9
+ </group >
10
+ </xpath >
11
+ </field >
12
+ </record >
13
+
14
+ <record id =" df_source_list" model =" ir.ui.view" >
15
+ <field name =" model" >df.source</field >
16
+ <field name =" inherit_id" ref =" polars_process.df_source_list" />
17
+ <field name =" arch" type =" xml" >
18
+ <xpath expr =" //list/field[last()" position =" after" >
19
+ <field name =" query" widget =" ace" />
20
+ </xpath >
21
+ </field >
22
+ </record >
23
+ </odoo >
You can’t perform that action at this time.
0 commit comments