SlideShare une entreprise Scribd logo
1  sur  19
Télécharger pour lire hors ligne
1
View Customization
How to customize views & menus
of OpenERP Online
in a sustainable way:
the case of an Expertise Company
Fré d é r i c G I LS O N
Func tio na l C onsul ta nt a t O penERP Be lgium – Q uick St a r t Te a m
O p e n Day s – J u l y 4 t h 2 0 1 3
2
Content
● Goal
● Scope
● What is/Why an inherited view
● Add an existing field
● Add new fields
● Add a 'Group by'
● Rename menu items
● Add new menu items
● Add a new selection field
● Add new m2o fields
●
Add new o2m fields
3
Goal
● Use the standard OpenERP
(without any custom module)
● Fully customize the Project
Management interface in order to
make it useful and
understandable for the customer
4
Scope
Insured people reports an incident to Broker
Broker reports it to Insurance Company
Insurance company asks for Experts
to Our Company
Our company manages experts' missions.
5
Customize a view
2 steps to modify a view properly:
● Modify the database structure
Create new fields in the model associated to the original view
(in Setting > Technical > Database Structure > Models)
Keep the 'x_' syntax in order the field to survive updates!
● Modify the view
Add an inherited view (including the new fields) to the
original view
(in Setting > Technical > User Interface > View)
6
Inherited view
What is an inherited view?
Why an inherited view to modify an existing one?
ORIGINAL VIEW
xml record
stored in database
(uploaded from sources)
INHERITED VIEW
new xml record in database
ORIGINAL VIEW INHERITED VIEWUPDATED VIEW
7
1. Add an existing field
Add customers' addresses in the list view
● Create an inherited view:
● Object: res.partner
● Inherited view: res.partner.form
● XML architecture:
8
2. Add new fields
Add 'Insured' and 'Broker' checkboxes in the
customer form view (below 'Website')
● Step 1: Edit the database structure
– Create two new boolean fields in the 'Partner' model: i.e. 'x_insured' & 'x_broker'
● Step 2: Create an inherited view for the form view
– Object: res.partner / Inherited view: res.partner.form
– XML architecture:
9
3. Add a 'Group by'
Add a 'Group by... City' in the customer list
view
● Create a new inherited view
● Object: res.partner / Inherited view: res.partner.select
● XML architecture:
● The view type is automatically set by OpenERP.
10
4. Rename menu items
Contextualize the Project menu items
● Rename the main menu item “Project” in “Claims”
● Go to Settings > User Interface > Menu Items and open the 'Project' item
● In the 'Name' field, click on the translation icon and create/modify the translation
● If you use the default English, you need to create a new translation. So install at least a
second language and duplicate the existing translation (from the form view) in order to
get automatically the right record ID (mandatory in that case).
● Rename “Issues” in “Missions”
● Etc
11
5. Add new menu items
Add 'Insured' and 'Broker' menu items in the
'Claims' menu
● Create two new menu items in the 'Claims' menu
● Go to Settings > Database Structure > Models and open the 'Partner' item
● Create two new menu items based on this model (at the bottom) in 'Claims': 'Broker' and
'Insured'
● Filter the customer list displayed based on fields added in the
customer view (Broker and Insured)
● Click on the 'Insured' item and open 'Edit Action' in the developer menu
● Add a domain value (filter): [('x_insured','=',True)]
● Add a contect value (default value for new records): {"default_x_insured":True}
● Do it the same for the 'Broker' item
12
6. Add a new selection field
A mission can be:
● A storm
● A robbery
● A damage
● An accident
Let's modify the view again in order to get a field with a
set of predefined items (selection field).
13
6. Add a new selection field
Add a new 'Incident type' selection field in the
Mission form (below the 'Category' field)
● Step 1: Edit the database structure
● Create one new field: i.e. 'x_issue_type' (field type: selection)
● Expression: i.e. [('storm','Storm'),('robery','Robery'),('damage','Damage'),
('accident','Accident')]
● Step 2: Create a new inherited view
● Similar definition (inherited from Project Issue Tracker Form)
● XML architecture:
14
7. Add new m2o fields
An issue has to be associated to:
● An Insurance company
● An expert
● An insured
● A broker
The two new fields must be related to the 'Partner'
object as well.
→ Contact
→ Responsible
→ Missing field
→ Missing field
15
7. Add new m2o fields
Add new fields in the Mission form
● Step 1: Edit the database structure
● Create two new many-to-one fields in the 'project.issue' model:
i.e. 'x_insured' & 'x_broker' (object relation: res.partner)
● Domain for 'x_insured' to filter the available contacts: [('x_insured','=',True)]
● Step 2: Create an inherited view including a tab
● Object: project.issue / Inherited view: Project Issue Tracker Form
● XML architecture:
A group divides a tab
into two columns!
16
8. Add new o2m fields
Missions should be directly visible in the customer
form view
● If the customer is an insured: see the missions wherein he is
marked as insured
● If the customer is a borker: see the missions wherein he is marked
as broker
● Need of two different tabs which appear depending on the
customer type
● Insured = True → new tab “Missions linked to this insured”
● Broker = True → new tab “Missions linked to this broker”
17
8. Add new o2m fields
Add contextual 'Missions' tabs with new o2m fields
in the customer form
● Step 1: Edit the database structure
● Create two new one-to-many fields: i.e. 'x_missions_broker'
● Object relation: project.issue / Relation field: x_broker_partner
● Step 2: Create a new inherited view with 2 new tabs
● Object: res.partner / Inherited view: res.partner.form
● XML architecture:
18
TO SUMMARIZE:
●
We have customized the original Project Management interface to
entirely fit the context of our Expert Insurance company
●
New links between objects without extra module thanks to m2o and
o2m fields (i.e. customers & issues, meetings & issues, etc)
●
You just need to add short XML views (inspired by existing ones)
●
Sustainable thanks to inherited views (will get through updates and
migrations)
●
TIME SAVING
●
SaaS PLATFORM COMPATIBLE
9. Conclusions
19
Questions?
Thank you!

Contenu connexe

Tendances

Circular knitting machine
Circular knitting machineCircular knitting machine
Circular knitting machineTanvir Ahammed
 
Fashion Portfolio
Fashion PortfolioFashion Portfolio
Fashion Portfoliogersten2
 
Bài 2: Lập trình hướng đối tượng (OOP) - Giáo trình FPT
Bài 2: Lập trình hướng đối tượng (OOP) - Giáo trình FPTBài 2: Lập trình hướng đối tượng (OOP) - Giáo trình FPT
Bài 2: Lập trình hướng đối tượng (OOP) - Giáo trình FPTMasterCode.vn
 
Lee fashion orientation
Lee fashion orientationLee fashion orientation
Lee fashion orientationLeena Vegad
 
Basic Textile technology for Non-Textile Graduate
Basic Textile technology for Non-Textile GraduateBasic Textile technology for Non-Textile Graduate
Basic Textile technology for Non-Textile GraduateEngr. Sahadat Hussain
 
Python avancé : Interface graphique et programmation évènementielle
Python avancé : Interface graphique et programmation évènementiellePython avancé : Interface graphique et programmation évènementielle
Python avancé : Interface graphique et programmation évènementielleECAM Brussels Engineering School
 
Can Welding replace Sewing in the garment Industry?
Can Welding replace Sewing in the garment Industry?Can Welding replace Sewing in the garment Industry?
Can Welding replace Sewing in the garment Industry?ThreadSol
 
Cutting Machine of Garments Sector
Cutting Machine of Garments SectorCutting Machine of Garments Sector
Cutting Machine of Garments SectorArNesto WaHid
 
Programmer en html5, css 3 et java script (70 480)
Programmer en html5, css 3 et java script (70 480)Programmer en html5, css 3 et java script (70 480)
Programmer en html5, css 3 et java script (70 480)Chamseddine Ouerhani
 
Air permeability tester 11te74zeeshan muet jamshoroo
Air permeability tester 11te74zeeshan muet jamshorooAir permeability tester 11te74zeeshan muet jamshoroo
Air permeability tester 11te74zeeshan muet jamshorooZeeshan Ali
 
recycling of Garments.pptx
recycling of Garments.pptxrecycling of Garments.pptx
recycling of Garments.pptxVaibhavGautam36
 
Introduction dans la Programmation Web Course 1
Introduction dans la Programmation Web Course 1Introduction dans la Programmation Web Course 1
Introduction dans la Programmation Web Course 1Vlad Posea
 
comprehension 1 knitting
 comprehension 1 knitting comprehension 1 knitting
comprehension 1 knittingMohana Sindhu
 
U 3 introduction to pattern making
U 3 introduction to pattern makingU 3 introduction to pattern making
U 3 introduction to pattern makingkibrom G
 
Development Of Jacquard Design Through Computer Aided Design Cad Weaving
Development Of Jacquard Design Through Computer Aided Design Cad WeavingDevelopment Of Jacquard Design Through Computer Aided Design Cad Weaving
Development Of Jacquard Design Through Computer Aided Design Cad WeavingWeMited Innovations Pvt. Ltd
 
Basic information of knitting
Basic information of knittingBasic information of knitting
Basic information of knittingsuniltalekar1
 
Circular knitting machine
Circular knitting machineCircular knitting machine
Circular knitting machineFoyej Jaman
 

Tendances (20)

Circular knitting machine
Circular knitting machineCircular knitting machine
Circular knitting machine
 
Fashion Portfolio
Fashion PortfolioFashion Portfolio
Fashion Portfolio
 
Bài 2: Lập trình hướng đối tượng (OOP) - Giáo trình FPT
Bài 2: Lập trình hướng đối tượng (OOP) - Giáo trình FPTBài 2: Lập trình hướng đối tượng (OOP) - Giáo trình FPT
Bài 2: Lập trình hướng đối tượng (OOP) - Giáo trình FPT
 
Lee fashion orientation
Lee fashion orientationLee fashion orientation
Lee fashion orientation
 
Basic Textile technology for Non-Textile Graduate
Basic Textile technology for Non-Textile GraduateBasic Textile technology for Non-Textile Graduate
Basic Textile technology for Non-Textile Graduate
 
Python avancé : Interface graphique et programmation évènementielle
Python avancé : Interface graphique et programmation évènementiellePython avancé : Interface graphique et programmation évènementielle
Python avancé : Interface graphique et programmation évènementielle
 
Can Welding replace Sewing in the garment Industry?
Can Welding replace Sewing in the garment Industry?Can Welding replace Sewing in the garment Industry?
Can Welding replace Sewing in the garment Industry?
 
Cutting Machine of Garments Sector
Cutting Machine of Garments SectorCutting Machine of Garments Sector
Cutting Machine of Garments Sector
 
Programmer en html5, css 3 et java script (70 480)
Programmer en html5, css 3 et java script (70 480)Programmer en html5, css 3 et java script (70 480)
Programmer en html5, css 3 et java script (70 480)
 
Air permeability tester 11te74zeeshan muet jamshoroo
Air permeability tester 11te74zeeshan muet jamshorooAir permeability tester 11te74zeeshan muet jamshoroo
Air permeability tester 11te74zeeshan muet jamshoroo
 
recycling of Garments.pptx
recycling of Garments.pptxrecycling of Garments.pptx
recycling of Garments.pptx
 
Chain stitch formation
Chain stitch formationChain stitch formation
Chain stitch formation
 
Consumption and costing
Consumption and costingConsumption and costing
Consumption and costing
 
Introduction dans la Programmation Web Course 1
Introduction dans la Programmation Web Course 1Introduction dans la Programmation Web Course 1
Introduction dans la Programmation Web Course 1
 
comprehension 1 knitting
 comprehension 1 knitting comprehension 1 knitting
comprehension 1 knitting
 
U 3 introduction to pattern making
U 3 introduction to pattern makingU 3 introduction to pattern making
U 3 introduction to pattern making
 
Development Of Jacquard Design Through Computer Aided Design Cad Weaving
Development Of Jacquard Design Through Computer Aided Design Cad WeavingDevelopment Of Jacquard Design Through Computer Aided Design Cad Weaving
Development Of Jacquard Design Through Computer Aided Design Cad Weaving
 
Basic information of knitting
Basic information of knittingBasic information of knitting
Basic information of knitting
 
Hand block printing
Hand block printingHand block printing
Hand block printing
 
Circular knitting machine
Circular knitting machineCircular knitting machine
Circular knitting machine
 

En vedette

Odoo (OpenERP) - Creating a module
Odoo (OpenERP) - Creating a moduleOdoo (OpenERP) - Creating a module
Odoo (OpenERP) - Creating a moduleTarun Behal
 
Odoo - Backend modules in v8
Odoo - Backend modules in v8Odoo - Backend modules in v8
Odoo - Backend modules in v8Odoo
 
Development Odoo Basic
Development Odoo BasicDevelopment Odoo Basic
Development Odoo BasicMario IC
 
Modul Odoo ERP
Modul Odoo ERPModul Odoo ERP
Modul Odoo ERPryan28_sp
 
How to manage a service company with Odoo
How to manage a service company with OdooHow to manage a service company with Odoo
How to manage a service company with OdooOdoo
 
Improving the performance of Odoo deployments
Improving the performance of Odoo deploymentsImproving the performance of Odoo deployments
Improving the performance of Odoo deploymentsOdoo
 
Service Management with Odoo/OpenERP - Opendays 2014
Service Management with Odoo/OpenERP - Opendays 2014Service Management with Odoo/OpenERP - Opendays 2014
Service Management with Odoo/OpenERP - Opendays 2014Daniel Reis
 
Odoo Features | Opensource ERP | Odoo Ecommerce
Odoo Features | Opensource ERP | Odoo EcommerceOdoo Features | Opensource ERP | Odoo Ecommerce
Odoo Features | Opensource ERP | Odoo EcommerceTech Receptives
 
Odoo - Presentation documentation v8
Odoo - Presentation documentation v8Odoo - Presentation documentation v8
Odoo - Presentation documentation v8Odoo
 
Best practices on how to import data into OpenERP. Cyril Morisse, Audaxis
Best practices on how to import data into OpenERP. Cyril Morisse, AudaxisBest practices on how to import data into OpenERP. Cyril Morisse, Audaxis
Best practices on how to import data into OpenERP. Cyril Morisse, AudaxisOdoo
 
Odoo - Open Source CMS: A performance comparision
Odoo - Open Source CMS: A performance comparisionOdoo - Open Source CMS: A performance comparision
Odoo - Open Source CMS: A performance comparisionOdoo
 
The new Odoo warehouse management system
The new Odoo warehouse management systemThe new Odoo warehouse management system
The new Odoo warehouse management systemOdoo
 
Odoo Strategy and Roadmap
Odoo Strategy and RoadmapOdoo Strategy and Roadmap
Odoo Strategy and RoadmapOdoo
 
Odoo 2016 - Retrospective
Odoo 2016 - RetrospectiveOdoo 2016 - Retrospective
Odoo 2016 - RetrospectiveOdoo
 
Odoo mobile apps
Odoo mobile appsOdoo mobile apps
Odoo mobile appsOdoo
 
How to Import data into OpenERP V7
How to Import data into OpenERP V7How to Import data into OpenERP V7
How to Import data into OpenERP V7Audaxis
 
Odoo acces rights & groups
Odoo acces rights & groupsOdoo acces rights & groups
Odoo acces rights & groupsLithin Thampan
 
Odoo training 2016 - Apagen Solutions Pvt. ltd.
Odoo training 2016 - Apagen Solutions Pvt. ltd.Odoo training 2016 - Apagen Solutions Pvt. ltd.
Odoo training 2016 - Apagen Solutions Pvt. ltd.Gaurav Kumar
 
Odoo 10 Helpdesk Module
Odoo 10 Helpdesk Module Odoo 10 Helpdesk Module
Odoo 10 Helpdesk Module Bista Solutions
 

En vedette (20)

Odoo (OpenERP) - Creating a module
Odoo (OpenERP) - Creating a moduleOdoo (OpenERP) - Creating a module
Odoo (OpenERP) - Creating a module
 
Odoo - Backend modules in v8
Odoo - Backend modules in v8Odoo - Backend modules in v8
Odoo - Backend modules in v8
 
Development Odoo Basic
Development Odoo BasicDevelopment Odoo Basic
Development Odoo Basic
 
Modul Odoo ERP
Modul Odoo ERPModul Odoo ERP
Modul Odoo ERP
 
How to manage a service company with Odoo
How to manage a service company with OdooHow to manage a service company with Odoo
How to manage a service company with Odoo
 
Improving the performance of Odoo deployments
Improving the performance of Odoo deploymentsImproving the performance of Odoo deployments
Improving the performance of Odoo deployments
 
Service Management with Odoo/OpenERP - Opendays 2014
Service Management with Odoo/OpenERP - Opendays 2014Service Management with Odoo/OpenERP - Opendays 2014
Service Management with Odoo/OpenERP - Opendays 2014
 
Odoo Features | Opensource ERP | Odoo Ecommerce
Odoo Features | Opensource ERP | Odoo EcommerceOdoo Features | Opensource ERP | Odoo Ecommerce
Odoo Features | Opensource ERP | Odoo Ecommerce
 
Odoo - Presentation documentation v8
Odoo - Presentation documentation v8Odoo - Presentation documentation v8
Odoo - Presentation documentation v8
 
Best practices on how to import data into OpenERP. Cyril Morisse, Audaxis
Best practices on how to import data into OpenERP. Cyril Morisse, AudaxisBest practices on how to import data into OpenERP. Cyril Morisse, Audaxis
Best practices on how to import data into OpenERP. Cyril Morisse, Audaxis
 
Odoo - Open Source CMS: A performance comparision
Odoo - Open Source CMS: A performance comparisionOdoo - Open Source CMS: A performance comparision
Odoo - Open Source CMS: A performance comparision
 
The new Odoo warehouse management system
The new Odoo warehouse management systemThe new Odoo warehouse management system
The new Odoo warehouse management system
 
Odoo Strategy and Roadmap
Odoo Strategy and RoadmapOdoo Strategy and Roadmap
Odoo Strategy and Roadmap
 
Odoo 2016 - Retrospective
Odoo 2016 - RetrospectiveOdoo 2016 - Retrospective
Odoo 2016 - Retrospective
 
Odoo mobile apps
Odoo mobile appsOdoo mobile apps
Odoo mobile apps
 
How to Import data into OpenERP V7
How to Import data into OpenERP V7How to Import data into OpenERP V7
How to Import data into OpenERP V7
 
Odoo acces rights & groups
Odoo acces rights & groupsOdoo acces rights & groups
Odoo acces rights & groups
 
Odoo training 2016 - Apagen Solutions Pvt. ltd.
Odoo training 2016 - Apagen Solutions Pvt. ltd.Odoo training 2016 - Apagen Solutions Pvt. ltd.
Odoo training 2016 - Apagen Solutions Pvt. ltd.
 
Odoo 10 Helpdesk Module
Odoo 10 Helpdesk Module Odoo 10 Helpdesk Module
Odoo 10 Helpdesk Module
 
The benefits of odoo
The benefits of odoo The benefits of odoo
The benefits of odoo
 

Similaire à How to customize views & menues of OpenERP online in a sustainable way. Frederic Gilson, OpenERP

exploring_a03_grader_h3.accdb (solution)
exploring_a03_grader_h3.accdb (solution)exploring_a03_grader_h3.accdb (solution)
exploring_a03_grader_h3.accdb (solution)JackCandtona
 
Porfolio of Setfocus work
Porfolio of Setfocus workPorfolio of Setfocus work
Porfolio of Setfocus workKevinPSF
 
Dynamic_UI_Concepts_version_2.pdf
Dynamic_UI_Concepts_version_2.pdfDynamic_UI_Concepts_version_2.pdf
Dynamic_UI_Concepts_version_2.pdfJoeRodriguez477329
 
Migrate Custom data/object in SAP S/4 HANA
Migrate Custom data/object in SAP S/4 HANA Migrate Custom data/object in SAP S/4 HANA
Migrate Custom data/object in SAP S/4 HANA Ashish Saxena
 
Tech ed 2012 eim260 modeling in sap hana-exercise
Tech ed 2012 eim260   modeling in sap hana-exerciseTech ed 2012 eim260   modeling in sap hana-exercise
Tech ed 2012 eim260 modeling in sap hana-exerciseLuc Vanrobays
 
Cbse computer science (c++) class 12 board project bank managment system
Cbse computer science (c++)  class 12 board project  bank managment systemCbse computer science (c++)  class 12 board project  bank managment system
Cbse computer science (c++) class 12 board project bank managment systempranoy_seenu
 
SenchaCon 2016: Handle Real-World Data with Confidence - Fredric Berling
SenchaCon 2016: Handle Real-World Data with Confidence - Fredric Berling SenchaCon 2016: Handle Real-World Data with Confidence - Fredric Berling
SenchaCon 2016: Handle Real-World Data with Confidence - Fredric Berling Sencha
 
Inventory management system
Inventory management systemInventory management system
Inventory management systemALMAHMUD420
 
Apex enterprise patterns
Apex enterprise patternsApex enterprise patterns
Apex enterprise patternsAmit Jain
 
SetFocus SQL Portfolio
SetFocus SQL PortfolioSetFocus SQL Portfolio
SetFocus SQL Portfoliogeometro17
 
Cbsecomputersciencecclass12boardproject bankmanagmentsystem-180703065625-conv...
Cbsecomputersciencecclass12boardproject bankmanagmentsystem-180703065625-conv...Cbsecomputersciencecclass12boardproject bankmanagmentsystem-180703065625-conv...
Cbsecomputersciencecclass12boardproject bankmanagmentsystem-180703065625-conv...sriram sarwan
 
How to embed reporting into your asp.net core web applications
How to embed reporting into your asp.net core web applications How to embed reporting into your asp.net core web applications
How to embed reporting into your asp.net core web applications Concetto Labs
 
Transforming Feature Ideas into Machine Learning Inputs
Transforming Feature Ideas into Machine Learning InputsTransforming Feature Ideas into Machine Learning Inputs
Transforming Feature Ideas into Machine Learning InputsFeatureByte
 
Data Science training in Bangalore - Learnbay.in
Data Science training in Bangalore - Learnbay.inData Science training in Bangalore - Learnbay.in
Data Science training in Bangalore - Learnbay.inKrishna Kumar
 
Advanced Remarketing in Google Analytics Using CRM Data
Advanced Remarketing in Google Analytics Using CRM DataAdvanced Remarketing in Google Analytics Using CRM Data
Advanced Remarketing in Google Analytics Using CRM Datametricmogul
 
Warranty processing recall bbp
Warranty processing recall bbpWarranty processing recall bbp
Warranty processing recall bbpvinayk_35919
 
T3SolutionsTeamProjectPowerPointforFinancialApplication (1)
T3SolutionsTeamProjectPowerPointforFinancialApplication (1)T3SolutionsTeamProjectPowerPointforFinancialApplication (1)
T3SolutionsTeamProjectPowerPointforFinancialApplication (1)Katherine Shelton
 
Binding to multiple datasources on a single xPage
Binding to multiple datasources on a single xPageBinding to multiple datasources on a single xPage
Binding to multiple datasources on a single xPagedominion
 
iOS Contact List Application Tutorial
iOS Contact List Application TutorialiOS Contact List Application Tutorial
iOS Contact List Application TutorialIshara Amarasekera
 

Similaire à How to customize views & menues of OpenERP online in a sustainable way. Frederic Gilson, OpenERP (20)

exploring_a03_grader_h3.accdb (solution)
exploring_a03_grader_h3.accdb (solution)exploring_a03_grader_h3.accdb (solution)
exploring_a03_grader_h3.accdb (solution)
 
Porfolio of Setfocus work
Porfolio of Setfocus workPorfolio of Setfocus work
Porfolio of Setfocus work
 
Dynamic_UI_Concepts_version_2.pdf
Dynamic_UI_Concepts_version_2.pdfDynamic_UI_Concepts_version_2.pdf
Dynamic_UI_Concepts_version_2.pdf
 
Migrate Custom data/object in SAP S/4 HANA
Migrate Custom data/object in SAP S/4 HANA Migrate Custom data/object in SAP S/4 HANA
Migrate Custom data/object in SAP S/4 HANA
 
Tech ed 2012 eim260 modeling in sap hana-exercise
Tech ed 2012 eim260   modeling in sap hana-exerciseTech ed 2012 eim260   modeling in sap hana-exercise
Tech ed 2012 eim260 modeling in sap hana-exercise
 
Cbse computer science (c++) class 12 board project bank managment system
Cbse computer science (c++)  class 12 board project  bank managment systemCbse computer science (c++)  class 12 board project  bank managment system
Cbse computer science (c++) class 12 board project bank managment system
 
SenchaCon 2016: Handle Real-World Data with Confidence - Fredric Berling
SenchaCon 2016: Handle Real-World Data with Confidence - Fredric Berling SenchaCon 2016: Handle Real-World Data with Confidence - Fredric Berling
SenchaCon 2016: Handle Real-World Data with Confidence - Fredric Berling
 
Inventory management system
Inventory management systemInventory management system
Inventory management system
 
Apex enterprise patterns
Apex enterprise patternsApex enterprise patterns
Apex enterprise patterns
 
SetFocus SQL Portfolio
SetFocus SQL PortfolioSetFocus SQL Portfolio
SetFocus SQL Portfolio
 
Cbsecomputersciencecclass12boardproject bankmanagmentsystem-180703065625-conv...
Cbsecomputersciencecclass12boardproject bankmanagmentsystem-180703065625-conv...Cbsecomputersciencecclass12boardproject bankmanagmentsystem-180703065625-conv...
Cbsecomputersciencecclass12boardproject bankmanagmentsystem-180703065625-conv...
 
Shubham.Cv
Shubham.CvShubham.Cv
Shubham.Cv
 
How to embed reporting into your asp.net core web applications
How to embed reporting into your asp.net core web applications How to embed reporting into your asp.net core web applications
How to embed reporting into your asp.net core web applications
 
Transforming Feature Ideas into Machine Learning Inputs
Transforming Feature Ideas into Machine Learning InputsTransforming Feature Ideas into Machine Learning Inputs
Transforming Feature Ideas into Machine Learning Inputs
 
Data Science training in Bangalore - Learnbay.in
Data Science training in Bangalore - Learnbay.inData Science training in Bangalore - Learnbay.in
Data Science training in Bangalore - Learnbay.in
 
Advanced Remarketing in Google Analytics Using CRM Data
Advanced Remarketing in Google Analytics Using CRM DataAdvanced Remarketing in Google Analytics Using CRM Data
Advanced Remarketing in Google Analytics Using CRM Data
 
Warranty processing recall bbp
Warranty processing recall bbpWarranty processing recall bbp
Warranty processing recall bbp
 
T3SolutionsTeamProjectPowerPointforFinancialApplication (1)
T3SolutionsTeamProjectPowerPointforFinancialApplication (1)T3SolutionsTeamProjectPowerPointforFinancialApplication (1)
T3SolutionsTeamProjectPowerPointforFinancialApplication (1)
 
Binding to multiple datasources on a single xPage
Binding to multiple datasources on a single xPageBinding to multiple datasources on a single xPage
Binding to multiple datasources on a single xPage
 
iOS Contact List Application Tutorial
iOS Contact List Application TutorialiOS Contact List Application Tutorial
iOS Contact List Application Tutorial
 

Plus de Odoo

Timesheet Workshop: The Timesheet App People Love!
Timesheet Workshop: The Timesheet App People Love!Timesheet Workshop: The Timesheet App People Love!
Timesheet Workshop: The Timesheet App People Love!Odoo
 
Odoo 3D Product View with Google Model-Viewer
Odoo 3D Product View with Google Model-ViewerOdoo 3D Product View with Google Model-Viewer
Odoo 3D Product View with Google Model-ViewerOdoo
 
Keynote - Vision & Strategy
Keynote - Vision & StrategyKeynote - Vision & Strategy
Keynote - Vision & StrategyOdoo
 
Opening Keynote - Unveilling Odoo 14
Opening Keynote - Unveilling Odoo 14Opening Keynote - Unveilling Odoo 14
Opening Keynote - Unveilling Odoo 14Odoo
 
Extending Odoo with a Comprehensive Budgeting and Forecasting Capability
Extending Odoo with a Comprehensive Budgeting and Forecasting CapabilityExtending Odoo with a Comprehensive Budgeting and Forecasting Capability
Extending Odoo with a Comprehensive Budgeting and Forecasting CapabilityOdoo
 
Managing Multi-channel Selling with Odoo
Managing Multi-channel Selling with OdooManaging Multi-channel Selling with Odoo
Managing Multi-channel Selling with OdooOdoo
 
Product Configurator: Advanced Use Case
Product Configurator: Advanced Use CaseProduct Configurator: Advanced Use Case
Product Configurator: Advanced Use CaseOdoo
 
Accounting Automation: How Much Money We Saved and How?
Accounting Automation: How Much Money We Saved and How?Accounting Automation: How Much Money We Saved and How?
Accounting Automation: How Much Money We Saved and How?Odoo
 
Rock Your Logistics with Advanced Operations
Rock Your Logistics with Advanced OperationsRock Your Logistics with Advanced Operations
Rock Your Logistics with Advanced OperationsOdoo
 
Transition from a cost to a flow-centric organization
Transition from a cost to a flow-centric organizationTransition from a cost to a flow-centric organization
Transition from a cost to a flow-centric organizationOdoo
 
Synchronization: The Supply Chain Response to Overcome the Crisis
Synchronization: The Supply Chain Response to Overcome the CrisisSynchronization: The Supply Chain Response to Overcome the Crisis
Synchronization: The Supply Chain Response to Overcome the CrisisOdoo
 
Running a University with Odoo
Running a University with OdooRunning a University with Odoo
Running a University with OdooOdoo
 
Down Payments on Purchase Orders in Odoo
Down Payments on Purchase Orders in OdooDown Payments on Purchase Orders in Odoo
Down Payments on Purchase Orders in OdooOdoo
 
Odoo Implementation in Phases - Success Story of a Retail Chain 3Sach food
Odoo Implementation in Phases - Success Story of a Retail Chain 3Sach foodOdoo Implementation in Phases - Success Story of a Retail Chain 3Sach food
Odoo Implementation in Phases - Success Story of a Retail Chain 3Sach foodOdoo
 
Migration from Salesforce to Odoo
Migration from Salesforce to OdooMigration from Salesforce to Odoo
Migration from Salesforce to OdooOdoo
 
Preventing User Mistakes by Using Machine Learning
Preventing User Mistakes by Using Machine LearningPreventing User Mistakes by Using Machine Learning
Preventing User Mistakes by Using Machine LearningOdoo
 
Becoming an Odoo Expert: How to Prepare for the Certification
Becoming an Odoo Expert: How to Prepare for the Certification Becoming an Odoo Expert: How to Prepare for the Certification
Becoming an Odoo Expert: How to Prepare for the Certification Odoo
 
Instant Printing of any Odoo Report or Shipping Label
Instant Printing of any Odoo Report or Shipping LabelInstant Printing of any Odoo Report or Shipping Label
Instant Printing of any Odoo Report or Shipping LabelOdoo
 
How Odoo helped an Organization Grow 3 Fold
How Odoo helped an Organization Grow 3 FoldHow Odoo helped an Organization Grow 3 Fold
How Odoo helped an Organization Grow 3 FoldOdoo
 
From Shopify to Odoo
From Shopify to OdooFrom Shopify to Odoo
From Shopify to OdooOdoo
 

Plus de Odoo (20)

Timesheet Workshop: The Timesheet App People Love!
Timesheet Workshop: The Timesheet App People Love!Timesheet Workshop: The Timesheet App People Love!
Timesheet Workshop: The Timesheet App People Love!
 
Odoo 3D Product View with Google Model-Viewer
Odoo 3D Product View with Google Model-ViewerOdoo 3D Product View with Google Model-Viewer
Odoo 3D Product View with Google Model-Viewer
 
Keynote - Vision & Strategy
Keynote - Vision & StrategyKeynote - Vision & Strategy
Keynote - Vision & Strategy
 
Opening Keynote - Unveilling Odoo 14
Opening Keynote - Unveilling Odoo 14Opening Keynote - Unveilling Odoo 14
Opening Keynote - Unveilling Odoo 14
 
Extending Odoo with a Comprehensive Budgeting and Forecasting Capability
Extending Odoo with a Comprehensive Budgeting and Forecasting CapabilityExtending Odoo with a Comprehensive Budgeting and Forecasting Capability
Extending Odoo with a Comprehensive Budgeting and Forecasting Capability
 
Managing Multi-channel Selling with Odoo
Managing Multi-channel Selling with OdooManaging Multi-channel Selling with Odoo
Managing Multi-channel Selling with Odoo
 
Product Configurator: Advanced Use Case
Product Configurator: Advanced Use CaseProduct Configurator: Advanced Use Case
Product Configurator: Advanced Use Case
 
Accounting Automation: How Much Money We Saved and How?
Accounting Automation: How Much Money We Saved and How?Accounting Automation: How Much Money We Saved and How?
Accounting Automation: How Much Money We Saved and How?
 
Rock Your Logistics with Advanced Operations
Rock Your Logistics with Advanced OperationsRock Your Logistics with Advanced Operations
Rock Your Logistics with Advanced Operations
 
Transition from a cost to a flow-centric organization
Transition from a cost to a flow-centric organizationTransition from a cost to a flow-centric organization
Transition from a cost to a flow-centric organization
 
Synchronization: The Supply Chain Response to Overcome the Crisis
Synchronization: The Supply Chain Response to Overcome the CrisisSynchronization: The Supply Chain Response to Overcome the Crisis
Synchronization: The Supply Chain Response to Overcome the Crisis
 
Running a University with Odoo
Running a University with OdooRunning a University with Odoo
Running a University with Odoo
 
Down Payments on Purchase Orders in Odoo
Down Payments on Purchase Orders in OdooDown Payments on Purchase Orders in Odoo
Down Payments on Purchase Orders in Odoo
 
Odoo Implementation in Phases - Success Story of a Retail Chain 3Sach food
Odoo Implementation in Phases - Success Story of a Retail Chain 3Sach foodOdoo Implementation in Phases - Success Story of a Retail Chain 3Sach food
Odoo Implementation in Phases - Success Story of a Retail Chain 3Sach food
 
Migration from Salesforce to Odoo
Migration from Salesforce to OdooMigration from Salesforce to Odoo
Migration from Salesforce to Odoo
 
Preventing User Mistakes by Using Machine Learning
Preventing User Mistakes by Using Machine LearningPreventing User Mistakes by Using Machine Learning
Preventing User Mistakes by Using Machine Learning
 
Becoming an Odoo Expert: How to Prepare for the Certification
Becoming an Odoo Expert: How to Prepare for the Certification Becoming an Odoo Expert: How to Prepare for the Certification
Becoming an Odoo Expert: How to Prepare for the Certification
 
Instant Printing of any Odoo Report or Shipping Label
Instant Printing of any Odoo Report or Shipping LabelInstant Printing of any Odoo Report or Shipping Label
Instant Printing of any Odoo Report or Shipping Label
 
How Odoo helped an Organization Grow 3 Fold
How Odoo helped an Organization Grow 3 FoldHow Odoo helped an Organization Grow 3 Fold
How Odoo helped an Organization Grow 3 Fold
 
From Shopify to Odoo
From Shopify to OdooFrom Shopify to Odoo
From Shopify to Odoo
 

Dernier

Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 

Dernier (20)

Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

How to customize views & menues of OpenERP online in a sustainable way. Frederic Gilson, OpenERP

  • 1. 1 View Customization How to customize views & menus of OpenERP Online in a sustainable way: the case of an Expertise Company Fré d é r i c G I LS O N Func tio na l C onsul ta nt a t O penERP Be lgium – Q uick St a r t Te a m O p e n Day s – J u l y 4 t h 2 0 1 3
  • 2. 2 Content ● Goal ● Scope ● What is/Why an inherited view ● Add an existing field ● Add new fields ● Add a 'Group by' ● Rename menu items ● Add new menu items ● Add a new selection field ● Add new m2o fields ● Add new o2m fields
  • 3. 3 Goal ● Use the standard OpenERP (without any custom module) ● Fully customize the Project Management interface in order to make it useful and understandable for the customer
  • 4. 4 Scope Insured people reports an incident to Broker Broker reports it to Insurance Company Insurance company asks for Experts to Our Company Our company manages experts' missions.
  • 5. 5 Customize a view 2 steps to modify a view properly: ● Modify the database structure Create new fields in the model associated to the original view (in Setting > Technical > Database Structure > Models) Keep the 'x_' syntax in order the field to survive updates! ● Modify the view Add an inherited view (including the new fields) to the original view (in Setting > Technical > User Interface > View)
  • 6. 6 Inherited view What is an inherited view? Why an inherited view to modify an existing one? ORIGINAL VIEW xml record stored in database (uploaded from sources) INHERITED VIEW new xml record in database ORIGINAL VIEW INHERITED VIEWUPDATED VIEW
  • 7. 7 1. Add an existing field Add customers' addresses in the list view ● Create an inherited view: ● Object: res.partner ● Inherited view: res.partner.form ● XML architecture:
  • 8. 8 2. Add new fields Add 'Insured' and 'Broker' checkboxes in the customer form view (below 'Website') ● Step 1: Edit the database structure – Create two new boolean fields in the 'Partner' model: i.e. 'x_insured' & 'x_broker' ● Step 2: Create an inherited view for the form view – Object: res.partner / Inherited view: res.partner.form – XML architecture:
  • 9. 9 3. Add a 'Group by' Add a 'Group by... City' in the customer list view ● Create a new inherited view ● Object: res.partner / Inherited view: res.partner.select ● XML architecture: ● The view type is automatically set by OpenERP.
  • 10. 10 4. Rename menu items Contextualize the Project menu items ● Rename the main menu item “Project” in “Claims” ● Go to Settings > User Interface > Menu Items and open the 'Project' item ● In the 'Name' field, click on the translation icon and create/modify the translation ● If you use the default English, you need to create a new translation. So install at least a second language and duplicate the existing translation (from the form view) in order to get automatically the right record ID (mandatory in that case). ● Rename “Issues” in “Missions” ● Etc
  • 11. 11 5. Add new menu items Add 'Insured' and 'Broker' menu items in the 'Claims' menu ● Create two new menu items in the 'Claims' menu ● Go to Settings > Database Structure > Models and open the 'Partner' item ● Create two new menu items based on this model (at the bottom) in 'Claims': 'Broker' and 'Insured' ● Filter the customer list displayed based on fields added in the customer view (Broker and Insured) ● Click on the 'Insured' item and open 'Edit Action' in the developer menu ● Add a domain value (filter): [('x_insured','=',True)] ● Add a contect value (default value for new records): {"default_x_insured":True} ● Do it the same for the 'Broker' item
  • 12. 12 6. Add a new selection field A mission can be: ● A storm ● A robbery ● A damage ● An accident Let's modify the view again in order to get a field with a set of predefined items (selection field).
  • 13. 13 6. Add a new selection field Add a new 'Incident type' selection field in the Mission form (below the 'Category' field) ● Step 1: Edit the database structure ● Create one new field: i.e. 'x_issue_type' (field type: selection) ● Expression: i.e. [('storm','Storm'),('robery','Robery'),('damage','Damage'), ('accident','Accident')] ● Step 2: Create a new inherited view ● Similar definition (inherited from Project Issue Tracker Form) ● XML architecture:
  • 14. 14 7. Add new m2o fields An issue has to be associated to: ● An Insurance company ● An expert ● An insured ● A broker The two new fields must be related to the 'Partner' object as well. → Contact → Responsible → Missing field → Missing field
  • 15. 15 7. Add new m2o fields Add new fields in the Mission form ● Step 1: Edit the database structure ● Create two new many-to-one fields in the 'project.issue' model: i.e. 'x_insured' & 'x_broker' (object relation: res.partner) ● Domain for 'x_insured' to filter the available contacts: [('x_insured','=',True)] ● Step 2: Create an inherited view including a tab ● Object: project.issue / Inherited view: Project Issue Tracker Form ● XML architecture: A group divides a tab into two columns!
  • 16. 16 8. Add new o2m fields Missions should be directly visible in the customer form view ● If the customer is an insured: see the missions wherein he is marked as insured ● If the customer is a borker: see the missions wherein he is marked as broker ● Need of two different tabs which appear depending on the customer type ● Insured = True → new tab “Missions linked to this insured” ● Broker = True → new tab “Missions linked to this broker”
  • 17. 17 8. Add new o2m fields Add contextual 'Missions' tabs with new o2m fields in the customer form ● Step 1: Edit the database structure ● Create two new one-to-many fields: i.e. 'x_missions_broker' ● Object relation: project.issue / Relation field: x_broker_partner ● Step 2: Create a new inherited view with 2 new tabs ● Object: res.partner / Inherited view: res.partner.form ● XML architecture:
  • 18. 18 TO SUMMARIZE: ● We have customized the original Project Management interface to entirely fit the context of our Expert Insurance company ● New links between objects without extra module thanks to m2o and o2m fields (i.e. customers & issues, meetings & issues, etc) ● You just need to add short XML views (inspired by existing ones) ● Sustainable thanks to inherited views (will get through updates and migrations) ● TIME SAVING ● SaaS PLATFORM COMPATIBLE 9. Conclusions