We would like to make the "no item found" screens more appealing.
Before this commit, it shows a small help tip in the top-left
corner of the screen, just below the "Create" button.
With this commit, these help tips have been replaced by onboarding
screens, which consist of a picture and some text below, both of which
are horizontally centered.
The texts have been slightly changed, so that they are shorter and clearer.
Considered modules:
(A)
account,
account_asset,
account_budget,
account_test,
account_voucher,
analytic
(B)
barcodes,
base,
base_automation,
board
(C)
calendar,
contacts,
crm
(D)
delivery
(E)
event
(F)
fleet
(G)
gamification,
google_drive
(H)
hr,
hr_attendance,
hr_contract,
hr_expense,
hr_gamification,
hr_holidays,
hr_payroll,
hr_recruitment,
hr_timesheet
(I)
im_livechat
(L)
l10n_fr_sale_closing,
link_tracker,
lunch
(M)
mail,
maintenance,
mass_mailing,
membership,
mrp
(N)
note
(P)
payment,
point_of_sale,
post_mercury,
pos_restaurant,
product,
project,
purchase,
purchase_requisition
(R)
rating,
repair,
resource
(S)
sale,
sale_timesheet,
sales_team,
stock,
stock_account,
stock_landed_costs,
stock_picking_batch,
survey
(U)
utm
(W)
web,
website,
website_blog,
website_customer,
website_event_track,
website_forum,
website_quote,
website_sale,
website_sale_digital,
website_slides
55 lines
2.3 KiB
Plaintext
55 lines
2.3 KiB
Plaintext
# HG changeset patch
|
|
# Parent 16e4cb131d9f7f3a72a8a1b0bc46c2ce9ac76435
|
|
Index: addons/openacademy/__manifest__.py
|
|
===================================================================
|
|
--- addons.orig/openacademy/__manifest__.py 2014-08-26 17:25:53.519783468 +0200
|
|
+++ addons/openacademy/__manifest__.py 2014-08-26 17:25:53.511783468 +0200
|
|
@@ -27,6 +27,7 @@
|
|
'data': [
|
|
# 'security/ir.model.access.csv',
|
|
'templates.xml',
|
|
+ 'views/openacademy.xml',
|
|
],
|
|
# only loaded in demonstration mode
|
|
'demo': [
|
|
Index: addons/openacademy/views/openacademy.xml
|
|
===================================================================
|
|
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
|
+++ addons/openacademy/views/openacademy.xml 2014-08-26 17:25:53.511783468 +0200
|
|
@@ -0,0 +1,35 @@
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
+<odoo>
|
|
+
|
|
+ <!-- window action -->
|
|
+ <!--
|
|
+ The following tag is an action definition for a "window action",
|
|
+ that is an action opening a view or a set of views
|
|
+ -->
|
|
+ <record model="ir.actions.act_window" id="course_list_action">
|
|
+ <field name="name">Courses</field>
|
|
+ <field name="res_model">openacademy.course</field>
|
|
+ <field name="view_type">form</field>
|
|
+ <field name="view_mode">tree,form</field>
|
|
+ <field name="help" type="html">
|
|
+ <p class="oe_view_nocontent_smiling_face">Create the first course
|
|
+ </p>
|
|
+ </field>
|
|
+ </record>
|
|
+
|
|
+ <!-- top level menu: no parent -->
|
|
+ <menuitem id="main_openacademy_menu" name="Open Academy"/>
|
|
+ <!-- A first level in the left side menu is needed
|
|
+ before using action= attribute -->
|
|
+ <menuitem id="openacademy_menu" name="Open Academy"
|
|
+ parent="main_openacademy_menu"/>
|
|
+ <!-- the following menuitem should appear *after*
|
|
+ its parent openacademy_menu and *after* its
|
|
+ action course_list_action -->
|
|
+ <menuitem id="courses_menu" name="Courses" parent="openacademy_menu"
|
|
+ action="course_list_action"/>
|
|
+ <!-- Full id location:
|
|
+ action="openacademy.course_list_action"
|
|
+ It is not required when it is the same module -->
|
|
+
|
|
+</odoo>
|