Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

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

Subscriure's

Get notified when there's activity on this post

This question has been flagged
viewsdomainactions
1 Respondre
5086 Vistes
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
Descartar
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
Best Answer

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
Descartar
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!

Registrar-se
Related Posts Respostes Vistes Activitat
Can we give sequence to action?
views actions
Avatar
Avatar
Avatar
Avatar
3
de juny 25
6841
CHANGE THE DOMAIN IN A FIELD OF INHERITED VIEW Solved
views domain
Avatar
Avatar
Avatar
5
d’oct. 22
14649
[10] Action menu item in form/tree view only Solved
views actions 10
Avatar
Avatar
Avatar
Avatar
Avatar
4
de març 24
16041
Server actions in menuItem Solved
domain actions menuitem
Avatar
Avatar
Avatar
2
de set. 23
6612
How can I compare 2 fields in a domain of an automated action?
domain automated actions
Avatar
Avatar
1
de des. 21
4710
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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