Calendar View In Odoo || Odoo Calendar View || Views In Odoo || Odoo Advanced Views

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ก.ย. 2024
  • 𝐕𝐢𝐝𝐞𝐨 𝐍𝐨: 117
    How to add calendar view in odoo. Calendar view in odoo. Advanced views in odoo. How to create calendar view in Odoo. Odoo calendar view.
    𝐂𝐚𝐥𝐞𝐧𝐝𝐚𝐫 𝐕𝐢𝐞𝐰:
    Calendar views display records as events in a daily, weekly, monthly or yearly calendar.
    𝗡𝗼𝘁𝗲
    By default the calendar view will be centered around the current date (today). You can pass a specific initial date to the context of the action in order to set the initial focus of the calendar on the period (see mode) around this date (the context key to use being initial_date)
    Their root element is calendar. Available attributes on the calendar view are:
    𝐝𝐚𝐭𝐞_𝐬𝐭𝐚𝐫𝐭 (required)
    name of the record’s field holding the start date for the event
    𝐝𝐚𝐭𝐞_𝐬𝐭𝐨𝐩
    name of the record’s field holding the end date for the event, if date_stop is provided records become movable (via drag and drop) directly in the calendar
    𝐝𝐚𝐭𝐞_𝐝𝐞𝐥𝐚𝐲
    alternative to date_stop, provides the duration of the event instead of its end date (unit: day)
    𝐜𝐨𝐥𝐨𝐫
    name of a record field to use for color segmentation. Records in the same color segment are allocated the same highlight color in the calendar, colors are allocated semi-randomly. Displayed the display_name/avatar of the visible record in the sidebar
    𝐟𝐨𝐫𝐦_𝐯𝐢𝐞𝐰_𝐢𝐝
    view to open when the user create or edit an event. Note that if this attribute is not set, the calendar view will fall back to the id of the form view in the current action, if any.
    𝐞𝐯𝐞𝐧𝐭_𝐨𝐩𝐞𝐧_𝐩𝐨𝐩𝐮𝐩
    If the option ‘event_open_popup’ is set to true, then the calendar view will open events (or records) in a FormViewDialog. Otherwise, it will open events in a new form view (with a do_action)
    𝐪𝐮𝐢𝐜𝐤_𝐚𝐝𝐝
    enables quick-event creation on click: only asks the user for a name (the field to which this values is saved can be controlled through rec_name) and tries to create a new event with just that and the clicked event time. Falls back to a full form dialog if the quick creation fails
    𝐜𝐫𝐞𝐚𝐭𝐞_𝐧𝐚𝐦𝐞_𝐟𝐢𝐞𝐥𝐝
    name of the record’s field holding the textual representation of the record, this is used when creating records through the ‘quick create’ mechanism
    𝐚𝐥𝐥_𝐝𝐚𝐲
    name of a boolean field on the record indicating whether the corresponding event is flagged as day-long (and duration is irrelevant)
    𝐦𝐨𝐝𝐞
    Default display mode when loading the calendar. Possible attributes are: day, week, month, year
    𝐬𝐜𝐚𝐥𝐞𝐬
    Comma-separated list of scales to provide. By default, all scales are available. See mode for possible scale values.
    𝐟𝐢𝐞𝐥𝐝
    declares fields to aggregate or to use in kanban logic. If the field is simply displayed in the calendar cards.
    𝑭𝒊𝒆𝒍𝒅𝒔 𝒄𝒂𝒏 𝒉𝒂𝒗𝒆 𝒂𝒅𝒅𝒊𝒕𝒊𝒐𝒏𝒂𝒍 𝒂𝒕𝒕𝒓𝒊𝒃𝒖𝒕𝒆𝒔:
    invisible use “True” to hide the value in the cards
    𝒂𝒗𝒂𝒕𝒂𝒓_𝒇𝒊𝒆𝒍𝒅 only for x2many field, to display the avatar instead of the display_name in the cards
    𝐰𝐫𝐢𝐭𝐞_𝐦𝐨𝐝𝐞𝐥 and 𝐰𝐫𝐢𝐭𝐞_𝐟𝐢𝐞𝐥𝐝 and 𝐟𝐢𝐥𝐭𝐞𝐫_𝐟𝐢𝐞𝐥𝐝
    you can add a filter and save the result in the defined model, the filter is added in the sidebar. The filter_field is optional and allows you to specify the field that will hold the status of the filter.
    𝐟𝐢𝐥𝐭𝐞𝐫 𝐚𝐧𝐝 𝐜𝐨𝐥𝐨𝐫
    use “True” to add this field in filter in the sidebar. You can specify a color field used to colorize the checkbox.
    𝐎𝐝𝐨𝐨 𝟏𝟓 𝐏𝐥𝐚𝐲𝐥𝐢𝐬𝐭: • How To Configure Odoo1...
    Sponsor Us: github.com/spo...
    𝐖𝐞𝐛𝐬𝐢𝐭𝐞: www.odoomates....
    𝐈𝐧𝐬𝐭𝐠𝐫𝐚𝐦: / odoomates
    𝐆𝐢𝐭𝐡𝐮𝐛: github.com/odo...
    𝐄𝐦𝐚𝐢𝐥 : odoomates@gmail.com
    𝐅𝐚𝐜𝐞𝐛𝐨𝐨𝐤: / odoomate
    𝐓𝐰𝐢𝐭𝐭𝐞𝐫: / odoomates
    𝐒𝐮𝐩𝐩𝐨𝐫𝐭 𝐔𝐬 𝐢𝐧 𝐊𝐨 𝐅𝐢 : ko-fi.com/odoo...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 46

  • @SamirSELLAMI
    @SamirSELLAMI 2 ปีที่แล้ว

    Great walkthrough explanation of this powerful view, Thanks OM !
    For the « quick_add » attribute, I wonder how the view gonna react if the model have some required fields ?

  • @rintoach
    @rintoach 2 ปีที่แล้ว

    Thanks for the detailed explanation on Calendar view. Great job ❤️

    • @OdooMates
      @OdooMates  2 ปีที่แล้ว

      Glad it was helpful!

    • @alfatihmohamed1634
      @alfatihmohamed1634 ปีที่แล้ว

      hi @@OdooMates . is there any way that i can lock task in calendar view on specific date thanks

  • @halahalboni3898
    @halahalboni3898 ปีที่แล้ว +1

    Hello sir thanks for your videos , if i use the calender / online appointment reservations to how can I limit the number of possible reservations at the same hour or at the same time? I mean, allow more than one user to book at the same time

    • @OdooMates
      @OdooMates  ปีที่แล้ว

      or this you may have to do some custom codes and make it possible

  • @gusgusgura
    @gusgusgura 2 ปีที่แล้ว +2

    Can i set custom colors?

  • @ShadHastam
    @ShadHastam 6 หลายเดือนก่อน

    Thanks a lot

    • @OdooMates
      @OdooMates  6 หลายเดือนก่อน

      Most welcome

  • @arinalrahmat8638
    @arinalrahmat8638 5 หลายเดือนก่อน

    Hello, is it possible with calendar view to restrict create record with past date?

  • @bala255
    @bala255 11 หลายเดือนก่อน

    How can I display the client/product name on the little calendar cards, instead of the event ID?

  • @ep6934
    @ep6934 ปีที่แล้ว

    This displays a calendar view but the events are not draggable for me. Any tips to make events draggable?

  • @alfatihmohamed1634
    @alfatihmohamed1634 ปีที่แล้ว

    hi odoo mates. is there any way that i can lock task in calendar view on specific date thanks

  • @ramdhannugraha99
    @ramdhannugraha99 ปีที่แล้ว

    hallo sir, why my filters field =state is show undefined name? thx

  • @user-fq7qd2dd8x
    @user-fq7qd2dd8x 2 ปีที่แล้ว +1

    hi when you need to start js in odoo ????

    • @OdooMates
      @OdooMates  2 ปีที่แล้ว +2

      one of our colleague will start js tutorials soon

    • @user-fq7qd2dd8x
      @user-fq7qd2dd8x 2 ปีที่แล้ว +1

      @@OdooMates i need to send remainder to user if employee not chick in today? How can do that?
      Thanks

    • @OdooMates
      @OdooMates  2 ปีที่แล้ว +1

      Scheduled action + email

    • @user-fq7qd2dd8x
      @user-fq7qd2dd8x 2 ปีที่แล้ว

      @@OdooMates can explain more please

    • @user-fq7qd2dd8x
      @user-fq7qd2dd8x 2 ปีที่แล้ว +1

      ؟؟؟

  • @wildbeauty9257
    @wildbeauty9257 ปีที่แล้ว

    👍👍👍

    • @OdooMates
      @OdooMates  ปีที่แล้ว

      thanks brother

    • @wildbeauty9257
      @wildbeauty9257 ปีที่แล้ว

      ​ @Odoo Mates Brother can I get a response by email? I mailed you yesterday.

    • @OdooMates
      @OdooMates  ปีที่แล้ว

      We will check and reply you soon

  • @HungNguyen-vz7mh
    @HungNguyen-vz7mh 2 ปีที่แล้ว +1

    How can I make a booking for every week?

    • @OdooMates
      @OdooMates  2 ปีที่แล้ว +1

      every week on single appointment or multiple appointments ?

    • @HungNguyen-vz7mh
      @HungNguyen-vz7mh 2 ปีที่แล้ว

      @@OdooMates for single appointment

    • @OdooMates
      @OdooMates  2 ปีที่แล้ว +1

      @@HungNguyen-vz7mh if we have date from and date to, we can achive it

  • @mohamedsobh2626
    @mohamedsobh2626 2 ปีที่แล้ว

    date_delay how to set in days not in hours?

  • @ezrasamson-ez2mv
    @ezrasamson-ez2mv 7 หลายเดือนก่อน

    thank you bro but you are not relied my email

    • @OdooMates
      @OdooMates  7 หลายเดือนก่อน

      Please send a follow up email now so that we will reply soon

    • @ezrasamson-ez2mv
      @ezrasamson-ez2mv 7 หลายเดือนก่อน

      thsnk you my brother you are good and godness is comes from our lord jesus christ thank you.

  • @dunghoang2869
    @dunghoang2869 2 ปีที่แล้ว

    How I can show 2 or many event in a single calendar view? For example, i have start date and finish date and i want to show all to the calender view. Have any solution ?

    • @OdooMates
      @OdooMates  2 ปีที่แล้ว

      there is a module for this in odoo10: apps.odoo.com/apps/modules/10.0/super_calendar/
      try to upgrade it to the required version

    • @dunghoang2869
      @dunghoang2869 2 ปีที่แล้ว

      @@OdooMates now I using odoo version 15, but the lasted version of super calendar is 10, so i can't install . Have a other way to solve it?

    • @OdooMates
      @OdooMates  2 ปีที่แล้ว +1

      There is no default option in odoo to show model data in single calender, yes I know the module is in odoo10, if you are tech person, try porting the module to odoo15

    • @dunghoang2869
      @dunghoang2869 2 ปีที่แล้ว +1

      @@OdooMates yes ,thank you very much.

    • @OdooMates
      @OdooMates  2 ปีที่แล้ว

      @@dunghoang2869 welcome