Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Planning - how can I see *all* employees that are available for Tasks?

Subscribe

Get notified when there's activity on this post

This question has been flagged
4 Replies
5764 Views
Avatar
Homer Favenir

Hi,

In the Planning module, there is a gantt view of resource id.

However, these list only displays the employees that has shift on that date (day, week, month, year).


Solution 1: 

Looking for a solution to display all employees with or without shift on that particular date.  

Solution 2: I need to view all employees that has no shift on that particular date.


Please help.


Thank you in advance

0
Avatar
Discard
Homer Favenir
Author

@chantrie,

Hi,

Any idea how to accomplish this?


Thanks

Avatar
Barbara Arias (bai)
Best Answer

Hi Homer,

Odoo will display an empty line in the Gantt view if:

  1. You create a single Task "Team" and add each Employee on the team as an assignee
  2. The employee has something assgined on that period
  3. The employee has something assigned on the previous period
  4. You search on a skill of that employee

I recommend you to download the Skills module and assign one skill to each employee so that you can filter by skill in the planning app :) Here is a video to see how to do it: https://drive.google.com/file/d/1ZGYxjhmTQKSMcp_sYS9JOncNOjd2yUVs/view?usp=sharing

Good luck!

1
Avatar
Discard
Avatar
shubham shiroya
Best Answer

Solution 1: Display All Employees

To display all employees regardless of whether they have shifts on a particular date, you'll likely need to customize the gantt view. This may require extending the existing views or creating a new view to override the default behavior. This approach might involve some technical development work.

Solution 2: Display Employees Without Shifts

To display only employees who don't have shifts on a particular date, you can follow these steps:

  1. Create a Custom View:

    You can create a custom view for the gantt chart that filters employees based on their shifts. This will require creating a new view definition in XML.

  2. Add Filter Criteria:

    In the custom view definition, you can add a domain to filter the employees displayed in the gantt chart. The domain should be constructed to exclude employees with shifts on the selected date.

    -->example of what the XML code might look like:

record id="view_custom_planning_gantt" model="" rel="ugc">ir.ui.view">

field name="name">Custom Planning Gantt

field name="model">resource.calendar.attendance

field name="inherit_id" ref="planning.planning_gantt_view"/>

field name="arch" type="xml">

xpath expr="//ganttview" position="attributes">

attribute name="default_domain">[('date', '!=', selected_date)]

/xpath>

/field>

/record>


  1. In this example, replace selected_date with the actual date you want to filter by.

  2. Activate the Custom View:

    After defining the custom view, activate it in your module. This will ensure that the view is used when displaying the gantt chart in the Planning module.




0
Avatar
Discard
Homer Favenir
Author

Hi, i just want to know why the model is resource.calendar.attendace?
Thanks

Avatar
Chantria Thomas
Best Answer

I'm sure that it instructed something to each peruser. We esteem your sharing of this data. I really had the opportunity to explore this awesome data.


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

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

Sign up
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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