Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Xbus Common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XCG
Odoo modules
Xbus Common
Commits
4ac1c13862b3
Commit
4ac1c13862b3
authored
3 weeks ago
by
Vincent Hatakeyama
Browse files
Options
Downloads
Patches
Plain Diff
Add search views on envelopes and messages
parent
277f3b8ccc6e
No related branches found
Branches containing commit
Tags
18.0.3.1.0
No related merge requests found
Pipeline
#121819
passed
3 weeks ago
Stage: build
Stage: lint
Stage: test
Stage: doc
Stage: deploy
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
NEWS.rst
+7
-0
7 additions, 0 deletions
NEWS.rst
__manifest__.py
+1
-1
1 addition, 1 deletion
__manifest__.py
views/xbus_envelope.xml
+11
-0
11 additions, 0 deletions
views/xbus_envelope.xml
views/xbus_message.xml
+20
-0
20 additions, 0 deletions
views/xbus_message.xml
with
39 additions
and
1 deletion
NEWS.rst
+
7
−
0
View file @
4ac1c138
Changelog
=========
18.0.3.1.0
----------
Add search views on envelopes and messages.
Known bug: search by uid produce an exception.
18.0.3.0.0
----------
...
...
This diff is collapsed.
Click to expand it.
__manifest__.py
+
1
−
1
View file @
4ac1c138
...
...
@@ -22,7 +22,7 @@
"
license
"
:
"
LGPL-3
"
,
"
summary
"
:
"
Xbus common elements
"
,
"
icon
"
:
"
/xbus_common/static/description/icon.svg
"
,
"
version
"
:
"
18.0.3.
0
.0
"
,
"
version
"
:
"
18.0.3.
1
.0
"
,
"
category
"
:
"
Technical
"
,
"
author
"
:
"
XCG Consulting
"
,
"
website
"
:
"
https://orbeet.io/
"
,
...
...
This diff is collapsed.
Click to expand it.
views/xbus_envelope.xml
+
11
−
0
View file @
4ac1c138
...
...
@@ -58,6 +58,17 @@
</field>
</record>
<record
id=
"xbus_envelope_view_search"
model=
"ir.ui.view"
>
<field
name=
"name"
>
xbus_envelope_view_tree
</field>
<field
name=
"model"
>
xbus.envelope
</field>
<field
name=
"arch"
type=
"xml"
>
<search
string=
"Envelopes"
>
<field
name=
"uid"
/>
<field
name=
"create_date"
/>
</search>
</field>
</record>
<record
id=
"xbus_envelope_action"
model=
"ir.actions.act_window"
>
<field
name=
"name"
>
Xbus Envelopes
</field>
<field
name=
"res_model"
>
xbus.envelope
</field>
...
...
This diff is collapsed.
Click to expand it.
views/xbus_message.xml
+
20
−
0
View file @
4ac1c138
...
...
@@ -61,6 +61,26 @@
</field>
</record>
<record
id=
"xbus_message_view_search"
model=
"ir.ui.view"
>
<field
name=
"name"
>
xbus_message_view_tree
</field>
<field
name=
"model"
>
xbus.message
</field>
<field
name=
"arch"
type=
"xml"
>
<search
string=
"Messages"
>
<field
name=
"uid"
/>
<field
name=
"type"
/>
<field
name=
"envelope_id"
/>
<group
expand=
"0"
string=
"Group By"
>
<filter
name=
"group_type"
string=
"Type"
domain=
"[]"
context=
"{'group_by':'type'}"
/>
</group>
</search>
</field>
</record>
<record
id=
"xbus_message_action"
model=
"ir.actions.act_window"
>
<field
name=
"name"
>
Xbus Messages
</field>
<field
name=
"res_model"
>
xbus.message
</field>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment