İçereği Atla
Odoo Menü
  • Portal
  • Ücretsiz deneyin
  • Uygulamalar
    Finans
    • Muhasebe
    • Faturalama
    • Masraf Yönetimi
    • Elektronik Çizelge (BI)
    • Belgeler
    • İmza
    Satış
    • Müşteri İlişkileri Yönetimi (CRM)
    • Satış
    • Satış Noktası Mağaza
    • Satış Noktası Restoran
    • Abonelikler
    • Kiralama
    Web Sitesi
    • Web Sitesi Oluşturucu
    • eTicaret
    • Blog
    • Forum
    • Canlı Sohbet
    • eÖğrenme
    Tedarik Zinciri
    • Envanter
    • Üretim
    • Ürün Yaşam Döngüsü Yönetimi
    • Satın Alma
    • Bakım
    • Kalite
    İnsan Kaynakları
    • Çalışanlar
    • İşe Alım
    • İzin
    • Değerlendirme
    • Referans
    • Filo Yönetimi
    Pazarlama
    • Sosyal Medyada Pazarlama
    • E-posta ile Pazarlama
    • SMS ile Pazarlama
    • Etkinlikler
    • Pazarlama Otomasyonu
    • Anket
    Hizmetler
    • Proje Yönetimi
    • Çalışma Çizelgeleri
    • Saha Hizmeti
    • Yardım Masası
    • Planlama
    • Randevular
    Verimlilik
    • Sohbet
    • Onay
    • Nesnelerin İnterneti
    • VoIP
    • Bilgi Bankası
    • WhatsApp
    Üçüncü taraf uygulamalar Odoo Stüdyo Odoo Bulut Platformu
  • Sektörler
    Perakende satış
    • Kitapçı
    • Giyim Mağazası
    • Mobilya Mağazası
    • Gıda Marketi
    • Hırdavat Dükkanı
    • Oyuncak Dükkanı
    Gıda ve Konaklama
    • Bar ve Pub
    • Restoran
    • Fast Food Restoranı
    • Konuk Evi
    • İçecek Distribütörü
    • Otel
    Gayrimenkul
    • Emlak Acentesi
    • Mimarlık Firması
    • İnşaat
    • Emlak Yönetimi
    • Bahçe Tasarımı
    • Mülk Sahipleri Derneği
    Uzmanlık
    • Muhasebe Firması
    • Odoo Partner
    • Pazarlama Ajansı
    • Hukuk Firması
    • Yetenek Kazanımı
    • Denetim ve Belgelendirme
    Üretim
    • Tekstil
    • Metal
    • Mobilyalar
    • Gıda
    • Bira fabrikası
    • Kurumsal Hediye
    Sağlık ve Spor
    • Spor Kulübü
    • Optik Mağazası
    • Fitness Merkezi
    • Sağlıklı Yaşam Merkezi
    • Eczane
    • Kuaför Salonu
    Ticaret
    • Tamirci
    • BT Donanım & Destek
    • Güneş Enerjisi Sistemleri
    • Ayakkabı İmalatçısı
    • Temizlik Hizmetleri
    • HVAC Hizmetleri
    Diğerleri
    • Kar Amacı Gütmeyen Kuruluş
    • Çevre Ajansı
    • Reklam Panosu Kiralama
    • Fotoğrafçılık
    • Bisiklet Kiralama
    • Yazılım Bayisi
    Tüm Sektörlere Göz Atın
  • Topluluk
    Öğrenim
    • Eğitim Araçları
    • Dokümantasyon
    • Sertifikasyonlar
    • Eğitim Etkinlikleri
    • Blog
    • Podcast
    Eğitim ve Gelişim
    • Eğitim Programı
    • Scale Up! İşletme Oyunu
    • Odoo'yu Ziyaret Edin
    Yazılım
    • İndirin
    • Sürümleri Kıyaslayın
    • Sürümler
    İş Birliği
    • Github
    • Forum
    • Etkinlikler
    • Çeviriler
    • Partner Olun
    • Partnerler için Hizmetler
    • Muhasebe Firmanızı Kaydettirin
    Hizmetler
    • Partner Bulun
    • Muhasebeci Bulun
    • Bir danışmanla görüşün
    • Kurulum Hizmetleri
    • Müşteri Referansları
    • Destek
    • Sürüm Yükseltme
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Demo randevusu alın
  • Fiyatlandırma
  • Yardım

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

  • Müşteri İlişkileri Yönetimi
  • e-Commerce
  • Muhasebe
  • Envanter
  • PoS
  • Proje Yönetimi
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
Yardım

Add more button to calendar popup form

Abone Ol

Get notified when there's activity on this post

Bu soru işaretlendi
2 Cevaplar
8734 Görünümler
Avatar
Vu Huynh

Hi everyone, 

I'm using Odoo 10, and I'm improving some features of calendar module.

When click on a meeting event, a popup modal will be shown with event summary and 3 buttons: "Edit", "Delete" and "Close".

I known the action popup and the view definition in calendar_views.xml. But for the buttons in popup footer, I cannot find it and how to add more button to the footer?

The calendar view:

<record id="view_calendar_event_calendar" model="ir.ui.view">

        <field name="name">calendar.event.calendar</field>
        <field name="model">calendar.event</field>
        <field name="priority" eval="2"/>
        <field name="arch" type="xml">
            <calendar string="Meetings" date_start="start" date_stop="stop" date_delay="duration" all_day="allday"
                         display="[name]" color="color_partner_id" attendee="partner_ids" avatar_model="res.partner"
                         use_contacts="True" event_open_popup="%(calendar.view_calendar_event_form_popup)s">
                <field name="name"/>
                <field name="user_id"/>
                <field name="color_partner_id"/>
                <field name="partner_ids"/>
            </calendar>
        </field>
    </record>

And the popup form view:

<record id="view_calendar_event_form_popup" model="ir.ui.view">

        <field name="name">calendar.event.form</field>
        <field name="model">calendar.event</field>
        <field name="priority" eval="2"/>
        <field name="arch" type="xml">
            <form string="Meetings">
                <field name="state" invisible="1"/>
                <field name="is_attendee" invisible="1"/>
                <field name="attendee_status" invisible="1"/>
                <group>
                    <group>
                        <field name="start_date" string="Starting at" attrs="{'invisible': [('allday','=',False)]}"/>
                        <field name="start_datetime" string="Starting at" attrs="{'invisible': [('allday','=',True)]}"/>
                        <label for="duration" attrs="{'invisible': [('allday','=',True)]}"/>
                        <div attrs="{'invisible': [('allday','=',True)]}">
                            <field name="duration" widget="float_time" class="oe_inline"/>
                            <span> hours</span>
                        </div>
                        <field name="allday" class="oe_inline" attrs="{'invisible': [('allday','=',False)]}"/>
                        <field name="partner_ids" widget="many2manyattendee" string="Attendees"/>
                    </group>
                    <group>
                        <field name="location"/>
                        <field name="categ_ids" widget="many2many_tags"/>
                        <field name="alarm_ids" widget="many2many_tags" />
                    </group>
                </group>
            </form>
        </field>
    </record>


Thank you

0
Avatar
Vazgeç
Avatar
Omid
En İyi Yanıt

I have this problem with this popup and with the form view footer "when you click on edit on that popup view".
could anyone help? 

I know that one of the best way is using t-extend tag but I couldn't find the right xml for it.

0
Avatar
Vazgeç
Avatar
Raffaele Del Gatto
En İyi Yanıt

Hi Vuhynk,

some time has passed since your request, so I image and I (hope) that you may already find a solution. Anyway, I'll write a possible solution here, as it may be useful for other people with are trying to solve the same problem.

Usually, when there is the tag <footer> within the view you can modify it just by using something like:

<xpath expr="//footer" position="inside">

    <button name="your_button_goes_here"/>

</xpath>

However, since the footer tag is not present in the view you'll need to add it before the form. In this specific case, it means you need to add  the footer after the first group close:

<xpath expr="//group[1]" position="after">
<footer>
     <your_buttons_here/>
</footer>
</xpath>


NOTE: YOU'LL NEED TO RE-ADD ALL THE ORIGINAL BUTTON, AS THIS WILL WORK LIKE A FULL REPLACE OF THE FOOTER. HOPE IT MAY BE HELPFUL FOR SOMEONE.
0
Avatar
Vazgeç
Enjoying the discussion? Don't just read, join in!

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

Üye Ol
Topluluk
  • Eğitim Araçları
  • Dokümantasyon
  • Forum
Açık Kaynak
  • İndirin
  • Github
  • Runbot
  • Çeviriler
Hizmetler
  • Odoo.sh Hosting
  • Destek
  • Sürüm Yükseltme
  • Özel Geliştirmeler
  • Eğitim
  • Muhasebeci Bulun
  • Partner Bulun
  • Partner Olun
Hakkında
  • Şirketimiz
  • Pazarlama Gereçleri
  • İletişim
  • Kariyer
  • Etkinlikler
  • Podcast
  • Blog
  • Müşteriler
  • Hukuki • Gizlilik
  • Güvenlik
الْعَرَبيّة 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, müşteri ilişkileri yönetimi, eTicaret, muhasebe, envanter, satış noktası, proje yönetimi gibi şirketinizin tüm ihtiyaçlarını karşılayan bir açık kaynak işletme uygulamaları paketidir.

Odoo’nun eşsiz değer önermesi, aynı anda hem kullanımının çok kolay olup hem de tamamen entegre olmasıdır.

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