Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Field Service Planned date

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
FieldServiceodoo16features
2 Réponses
5641 Vues
Avatar
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
Ignorer
Wombat
Auteur

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?

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
Auteur

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
Meilleure réponse

Hello,

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

1
Avatar
Ignorer
Wombat
Auteur

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
Auteur

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
Kevin Jinkerson
Meilleure réponse

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
Ignorer
Wombat
Auteur

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
Auteur

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
Auteur

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>

Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Duplicate Field Service Worksheet Template
FieldService
Avatar
Avatar
1
oct. 25
1735
DeprecationWarning: The longpolling-port is a deprecated alias to the gevent-port option, please use the latter Résolu
odoo16features
Avatar
Avatar
Avatar
Avatar
Avatar
5
sept. 25
24778
How to Add wizard under print button inside the form view.
odoo16features
Avatar
Avatar
Avatar
Avatar
3
août 25
3777
How to add @api.onchange in _get_view() method odoo 16
odoo16features
Avatar
Avatar
1
mai 25
3692
get all partners which are internal users or portal users odoo16
odoo16features
Avatar
Avatar
1
avr. 25
4532
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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