Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Dashboard View dissapears after service restart

Subscriure's

Get notified when there's activity on this post

This question has been flagged
xmldashboard
2175 Vistes
Avatar
osama khalid

Hi all
I have created a dashboard using standard dashboard module named "board"

The dashboard is created successfully and it appears on the menu click as well but the issue is that whenever i restart the service the dashboard dissapears

Following is the xml file attached and also link of the view after service upgraded 
https://ibb.co/bL8ZsMM


xml version="1.0"?>


noupdate="1">

id="view_todays_order_trees" model="ir.ui.view">
name="name">pos.order.tree.pos.reports
name="model">pos.order
name="type">tree
name="arch" type="xml">
string="Today’s Orders">
name="name"/>
name="user_id"/>
name="state" invisible="1"/>
name="partner_id"/>
name="amount_total" sum="Amount total"/>




id="view_yesterdays_order_trees" model="ir.ui.view">
name="name">pos.order.tree.pos.reports.yesterday
name="model">pos.order
name="type">tree
name="arch" type="xml">
string="Yesterday’s Orders">
name="name"/>
name="user_id"/>
name="state" invisible="1"/>
name="partner_id"/>
name="amount_total" sum="Amount total"/>




id="view_last_week_order_trees" model="ir.ui.view">
name="name">pos.order.tree.pos.reports.last.week
name="model">pos.order
name="type">tree
name="arch" type="xml">
string="Last Week’s Orders">
name="name"/>
name="user_id"/>
name="state" invisible="1"/>
name="partner_id"/>
name="amount_total" sum="Amount total"/>




id="view_current_month_order_trees" model="ir.ui.view">
name="name">pos.order.tree.pos.reports.current.month
name="model">pos.order
name="type">tree
name="arch" type="xml">
string="Current Month’s Orders">
name="name"/>
name="user_id"/>
name="state" invisible="1"/>
name="partner_id"/>
name="amount_total" sum="Amount total"/>





id="pos_dashboard_action" model="ir.actions.act_window">
name="name">Income Dashboard
name="res_model">pos.order
name="view_mode">tree,form
name="target">current
name="view_id" ref="view_todays_order_trees"/>
name="domain">[('date_order','>=', datetime.datetime.combine(context_today(), datetime.time(0,0,0))),
('date_order','<', datetime.datetime.combine(context_today(), datetime.time(23,59,59)))]




id="pos_dashboard_action_yesterday" model="ir.actions.act_window">
name="name">Yesterday Orders
name="res_model">pos.order
name="view_mode">tree,form
name="target">current
name="view_id" ref="view_yesterdays_order_trees"/>
name="domain">[('date_order','>=',datetime.datetime.combine(context_today() -
relativedelta(days=1),datetime.time(0,0,0))), ('date_order','<',datetime.datetime.combine(context_today()
-
relativedelta(days=1),datetime.time(23,59,59)))]




id="pos_dashboard_action_last_week" model="ir.actions.act_window">
name="name">Last Week Order's
name="res_model">pos.order
name="view_mode">tree,form
name="target">current
name="view_id" ref="view_last_week_order_trees"/>
name="domain">[('date_order','>',datetime.datetime.combine(context_today() -
relativedelta(weeks=1),datetime.time(0,0,0))), ('date_order','<',datetime.datetime.combine(context_today()
-
relativedelta(weeks=0),datetime.time(0,0,0)))]




id="pos_dashboard_action_current_month" model="ir.actions.act_window">
name="name">Current Months Orders
name="res_model">pos.order
name="view_mode">tree,form
name="target">current
name="view_id" ref="view_current_month_order_trees"/>
name="domain">[('date_order','<',(context_today()+relativedelta(months=1)).strftime('%Y-%m-01')),
('date_order','>=',time.strftime('%Y-%m-01'))]




id="dashboard_form_view" model="ir.ui.view">
name="name">Income Dashboard Form
name="model">board.board
name="type">form
name="arch" type="xml">
string="Income Dashboard" create="0">
style="1-1">
style="width: 20%">
string="Today's Orders"
name="%(pos_dashboard_action)d"/>
string="Yesterday's Orders"
name="%(pos_dashboard_action_yesterday)d"/>

style="width: 20%">
string="Last week’s Orders & Income" name="%(pos_dashboard_action_last_week)d"/>
string="Current Months Orders & Income"
name="%(pos_dashboard_action_current_month)d"/>










id="pos_dashboard" model="ir.actions.act_window">
name="name">Income Dashboard
name="res_model">board.board
name="view_mode">form
name="usage">menu
name="target">current
name="view_id" ref="pos_reports.dashboard_form_view"/>


name="Income Dashboard"
parent="pos_reports.menu_pos_reports"
action="pos_reports.pos_dashboard"
sequence="1"
id="menu_dashboard"/>





0
Avatar
Descartar
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
Resize and Display Many2many fields in Dashboard
xml dashboard odoo12
Avatar
0
de set. 19
2725
Enable Counters in odoo what is the use of it Solved
xml
Avatar
Avatar
1
de març 25
2831
uploading xml for invoicing tax not taken
xml
Avatar
0
de nov. 24
2714
Get Blanked after define simple dashboard
dashboard
Avatar
Avatar
1
d’ag. 24
2308
All items are removed when I select an item from dropdownlist in OWL Solved
dashboard
Avatar
Avatar
2
de juny 24
2763
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now