İç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

Wizard doesn't show up in selection more list view

Abone Ol

Get notified when there's activity on this post

Bu soru işaretlendi
actionwizard
1 Cevapla
6225 Görünümler
Avatar
Ajeng Shilvie

I want to add wizard in selection more list view in stock.production.lot refer to my new object wtc.permohonan.faktur but my wizard doesn't show up .

i am using this code

.py

    def action_button_permohonan(self,cr,uid,ids,context=None):
        print "============BUTTON==============",ids
        lot = self.pool.get('stock.production.lot')

        for val in ids :
            vals = lot.browse(cr,uid,val)

            form_id  = 'permohonan.faktur.form'
            view_pool = self.pool.get("ir.ui.view")
            vit = view_pool.search(cr,uid, [
                                         ("name", "=", form_id),
                                         ("model", "=", 'wtc.permohonan.faktur'),
                                        ])
            form_browse = view_pool.browse(cr,uid,vit)
        
        return {
            'name': 'Permohonan Faktur',
            'view_type': 'form',
            'view_mode': 'form',
            'res_model': 'wtc.permohonan.faktur',
            'type': 'ir.actions.act_window',
            'view_id' : form_browse.id,
            'nodestroy': True,
            'target': 'new',
#             'res_id': vals.customer_stnk.id
            }

.xml

        <record id="action_permohonan_faktur" model="ir.actions.server">
            <field name="name">Mohonkan Faktur</field>
            <field name="type">ir.actions.server</field>
            <field name="model_id" ref="model_wtc_permohonan_faktur"/>
            <field name="state">code</field>
            <field name="code">self.action_button_permohonan(cr,uid,context.get('active_ids'),context=context)</field>
        </record>
        
        <record id="id_of_the_action_value" model="ir.values">
            <field name="name">Permohonan Faktur STNK</field>
            <field name="action_id" ref="action_permohonan_faktur"/>
            <field name="value" eval="'ir.actions.server,' + str(ref('action_permohonan_faktur'))"/>
            <field name="key">action</field>
            <field name="model_id" ref="model_stock_production_lot"/>
            <field name="model">stock.production.lot</field>
            <field name="key2">client_action_multi</field>
        </record>

 

anyone know how to fix it ?

thanks in advance ..

0
Avatar
Vazgeç
Emipro Technologies Pvt. Ltd.

Is you 'return' statement under the 'for loop'...??

Ajeng Shilvie
Üretici

no its outside ..

Ajeng Shilvie
Üretici

eh i mean yes it is under for loop

Emipro Technologies Pvt. Ltd.

That means that for every loop it should pop-up window? Do you think this is logical? I think you are making mistake here.

Ajeng Shilvie
Üretici

no , i am not using return inside of looping ..

Ajeng Shilvie
Üretici

@emipro i try to use and it show up , but i can't get ids of my selected record because it an action not a method, is there anyway to call a method in act_window ?

Ajeng Shilvie
Üretici

i try to use this code

Ajeng Shilvie
Üretici
Ajeng Shilvie
Üretici

i try to put act_window code , but it doesn't show up in here

Avatar
Ajeng Shilvie
Üretici En İyi Yanıt

i try different method , using act_window but i can't return ids of my selected record, is there anyway to put action in act_window ?

        <act_window name="New Sub menu"
            res_model="wtc.permohonan.faktur"
            src_model="stock.production.lot"
            key2="client_action_multi"
            view_mode="form" target="new"
            id="action_window_permohonan_faktur" />

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
İlgili Gönderiler Cevaplar Görünümler Aktivite
Problem with opening full composer in send message
action wizard
Avatar
0
Oca 25
1996
Basic wizard help with multiple object types
action wizard
Avatar
0
Mar 15
4630
Missing products in zpl report from wizard
action development wizard
Avatar
0
Tem 25
927
Is it possible to make a wizard that when called by action you can pass a records ID and it gets the data from related models like an init method?
action wizard odoo10
Avatar
0
Eki 19
3539
I want to automatically load my product name, qty and id in the wizard whenever i click the button
action wizard v9
Avatar
Avatar
1
Ağu 17
3762
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