Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textile
    • Kov
    • Nábytek
    • Jídlo
    • Brewery
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • IT hardware a podpora
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Browse all Industries
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Services for Partners
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

next/prev on form view by ir.actions.act_window [odoo 12]

Odebírat

Get notified when there's activity on this post

This question has been flagged
viewsdomainactions
1 Odpovědět
5081 Zobrazení
Avatar
Riccardo parola

I'm creating buttons in a m2o table to open the full detail form for a record in the current window rather than a popup (with attachments and such).

I would like to have the ability to scroll through all records of the domain with the usual "<" and ">" buttons, but it only displays 1/1 if I go straight to the form.

If I switch the "views" to have 'tree' and then click on one of them it works, it will show (e.g 1/7 and allow < > to go through found records). Is there a way to have it work that way going straight to the form view?

@api.multi
def open_task(self):
    return {
        'type': 'ir.actions.act_window',
        'name': 'Open Task',
        'views': [[False, 'form'], [False, 'tree']],
        'res_model': 'project.task',
        'res_id': self.id,
        'target': 'current',
        'domain': [('site_id','=',self.site_id.id)],
    }

0
Avatar
Zrušit
HENNION Kévin

Hello,
I also have the same problem. I want to go directly to a form view and navigate with the < and > arrows. Did you solve the problem? I am desperately looking ... Thank you. Here is the link of my post -> https://www.odoo.com/fr_FR/forum/aide-1/odoo-return-record-lists-on-form-view-216914

Avatar
Ravi Gadhia
Nejlepší odpověď

Interesting but unfortunately there is no way :(
for the normal case, I mean a switch from list to form a view client has all records Id and you can iterate by from view even it has also limitation if a database has 2000 record but by default list only load 80 records so can only iterate 80 record using next previous button .

0
Avatar
Zrušit
Riccardo parola
Autor

I see your point, but pointing to the treeview in the example above does show all results for that domain in my test case 7 tasks out of thousands in the db. (7 that were at the specific site I'm linking from) why wouldn't the formview act just like the one I get from clicking on one of the rows in the treeview? and more importantly, is there a way to make it act that way? perhaps an action I can come up with on event?

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

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

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
Can we give sequence to action?
views actions
Avatar
Avatar
Avatar
Avatar
3
čvn 25
6837
CHANGE THE DOMAIN IN A FIELD OF INHERITED VIEW Vyřešeno
views domain
Avatar
Avatar
Avatar
5
říj 22
14637
[10] Action menu item in form/tree view only Vyřešeno
views actions 10
Avatar
Avatar
Avatar
Avatar
Avatar
4
bře 24
16036
Server actions in menuItem Vyřešeno
domain actions menuitem
Avatar
Avatar
Avatar
2
zář 23
6609
How can I compare 2 fields in a domain of an automated action?
domain automated actions
Avatar
Avatar
1
pro 21
4709
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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