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
    • Artificial Intelligence
    • 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ó
    • Property Management
    • 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
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

Field Service Planned date

Subscriure's

Get notified when there's activity on this post

This question has been flagged
FieldServiceodoo16features
2 Respostes
6643 Vistes
Avatar
Wombat, Wombat

Hi, I am testing 16 and hoping we can use the Field Services module for our installers. In creating a task in the Field Servies module, the Planned Date fields are missing. Does anyone know how the scheduling and planning is intended to work in 16?

3
Avatar
Descartar
Wombat, Wombat
Autor

Sorry, I should have said that when creating a task, the planned to and from date are not showing. Is there a setting I am missing?

Van Damme Handyman, Thijs Van Damme

This is beyond ridiculous, why is there no explanation of this to explain the logic here whatsoever on the official docs?? It stuff like this that makes me look at different software options... seriously why hide this?

Wombat, Wombat
Autor

I know right.
I cannot fathom how the developers think its a good ideas to hide one of the most important feature of a task - scheduling. I keep looking at this and hoping that someone with some common sense will put it back.
Some workarounds have been proposed however they are still second rate solutions. There is only one fix. Put the scheduling back on the form!

Enki Denys

I also encountered this problem while implementing Odoo in my service company. Our consultant gave the explanation that this field was removed on purpose to avoid confusion when creating tasks, but I find that a very hard sell... My guess is that the feature is buggy and to avoid fixing it, they removed it altogether. That being said, our consultant did add it back. We have indeed encountered a small bug (if start time = end time, it doesn't show up under "my tasks").

Avatar
Alouna Ahmad
Best Answer

Hello,

it seems to be changed in v16, you can add planned date From/To through Gant chart view

1
Avatar
Descartar
Wombat, Wombat
Autor

Thank you. I appreciate the response. Unfortunately that is not a good solution. It requires the task to be created from the gantt view only. The tasks we want to use will be created automatically from a SO. One of our Schedulers can then go in and co-ordinate the date/times for the installation to occur. We need to be able to schedule the task directly from the kanban and/or list views.

Wombat, Wombat
Autor

OK, I think I stumbled upon a workable solution. From list view, if the checkbox is selected, I can edit the start and end time/dates. If it is not selected, then it opens up in kanban view and you cannot see the start/end dates.
It seems quite strange to me that these fields have been hidden from the kanban view if empty. Its hard to enter data if the fields are hidden!

Alouna Ahmad

Basically you still can create a task from SO but in order to have a better overview of all planned tasks you could use Gant

Avatar
KITA Packaging Machinery, Kevin Jinkerson
Best Answer

I just ran across the same issue - I thought I was doing something wrong, as no matter what I changed, I couldn't access the planned date for the task level items.

Thankfully, it's easy to adapt the default views.

You can make the following changes to an inherited view for project.task.form
(Via Studio or manually creating the inherited view )

<xpath expr="//form[1]/sheet[1]/group[1]/group[2]/label[@for='planned_date_begin']" position="attributes">
    <attribute name="attrs">{}attribute>
xpath>
<
xpath expr="//form[1]/sheet[1]/group[1]/group[2]/div[@class='w-100']" position="attributes">
    <attribute name="attrs">{}attribute>
xpath>


Here is the original within project.task.view.form.inherit.project.enterprise

<label for="planned_date_begin" string="Planned Date" attrs="{'invisible': [('planned_date_begin', '=', False), ('planned_date_end', '=', False)]}"/>
<
div class="w-100" attrs="{'invisible': [('planned_date_begin', '=', False), ('planned_date_end', '=', False)]}">


Here is how you can create an inherited view without Studio:

  • Enable Developer Mode ( Settings / Activate developer mode )
  • Create the inherited view ( Settings / Technical / User Interface / Views )

    

  • Be sure to include:
    • View Name ( use anything you want, but something like Project.Task.Form.Inherited will make it easy to keep track of )
    • Model: project.task
    • Inherited View: project.task.form

        


0
Avatar
Descartar
Wombat, Wombat
Autor

Thank you for your post. Unfortunately I still cannot get the planning dates to appear on the form when creating a new entry or trying to set a time/date for one created via a SO.
I tried using Studio however I struggled to find the settings etc. I also tried using debug/creating a view as proposed which did save successfully however the fields still do not appear on a new field services task.

I just cannot believe that someone thought it would be a good idea to prevent users from scheduling a task as the task is being created. It seems so silly and completely crazy to me.

Wombat, Wombat
Autor

I am trying to put this into a addon module but seem to be doing something wrong. Here is my code:
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="project_task_view_form_inherit_project_enterprise" model="ir.ui.view">
<field name="name">project.task.form.inherited</field>
<field name="model">project.task</field>
<field name="inherit_id" ref="project.task.form"/>
<field name="mode">extension</field>
<field name="view_mode">form</field>
<field name="arch" type="xml">
<data>
<xpath expr="//form[1]/sheet[1]/group[1]/group[2]/label[@for='planned_date_begin']" position="attributes">
<attribute name="attrs">{}</attribute>
</xpath>
<xpath expr="//form[1]/sheet[1]/group[1]/group[2]/div[@class='w-100']" position="attributes">
<attribute name="attrs">{}</attribute>
</xpath>
</data>
</field>
</record>
</odoo>

Any help greatly appreciated

Wombat, Wombat
Autor

Ok, I have my addon working now. Here is the view code:
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="project_task_view_form_inherit_project_enterprise" model="ir.ui.view">
<field name="name">project.task.form.inherited</field>
<field name="model">project.task</field>
<field name="inherit_id" ref="project.view_task_form2"/>
<field name="mode">extension</field>
<field name="arch" type="xml">
<data>
<xpath expr="//form[1]/sheet[1]/group[1]/group[2]/label[@for='planned_date_begin']" position="attributes">
<attribute name="attrs">{}</attribute>
</xpath>
<xpath expr="//form[1]/sheet[1]/group[1]/group[2]/div[@class='w-100']" position="attributes">
<attribute name="attrs">{}</attribute>
</xpath>
</data>
</field>
</record>
</odoo>

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
Duplicate Field Service Worksheet Template
FieldService
Avatar
Avatar
1
de maig 26
2771
DeprecationWarning: The longpolling-port is a deprecated alias to the gevent-port option, please use the latter Solved
odoo16features
Avatar
Avatar
Avatar
Avatar
Avatar
5
de set. 25
29204
How to Add wizard under print button inside the form view.
odoo16features
Avatar
Avatar
Avatar
Avatar
3
d’ag. 25
5801
How to add @api.onchange in _get_view() method odoo 16
odoo16features
Avatar
Avatar
1
de maig 25
5260
get all partners which are internal users or portal users odoo16
odoo16features
Avatar
Avatar
1
d’abr. 25
6211
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 Svenska ภาษาไทย 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