Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

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

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

Make field readonly after save it and only user creator and administrator can edit it.

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
fieldreadonlybuttonsOdooStudio
4 Răspunsuri
4092 Vizualizări
Imagine profil
azlam

Hi...


i'm using Odoo Studio 17 , and make form for Jobs Report. For now, if i click save (icon cloud save), the form is still can edit by every user.

how to make it readonly for other user and only me can edit it ?


or 


how to make all fields in the form to be readonly after it save and how to make an EDIT & SAVE button for change it.


Thank you

0
Imagine profil
Abandonează
Imagine profil
azlam
Autor Cel mai bun răspuns

Thank you for all answer but i'm sorry i can mention or reply becuase new user in this forum.

The poin is i must create new user GROUP :

1. make access right full permission 

2. creat record rules for set other user only read my record and can not edit.


i'm still dont understand about domain while i create new record rules for point no. 2 above. i try using here :

Record Rules Name : Jobs Report Team

domain : [(1, '=', 1)] and accest right is checkils only in READ

the result is other user can see my record ✅ but they still can edit. ❌


i try others :


Record Rules Name : Jobs Report Team

domain : [('create_uid', '=', user.id)] and accest right is checkils only in READ

the result is other user can not see my record. ❌


please advice me for make all user can view all records but only owner record can edit it.

0
Imagine profil
Abandonează
Niyas Raphy (Walnut Software Solutions)

[('create_uid', '=', user.id)] after applying the domain it is expected for the user to see only his records

Imagine profil
Niyas Raphy (Walnut Software Solutions)
Cel mai bun răspuns

Hi,
its good to implement the record rules for you model. You can design as follows by expecting there is two levels of users permission, lets say User in Jobs Report and Administrator in Jobs report.

* So create two user groups, which can be done from groups menu
* Add record rules for the both the groups for the model
* For user grand only permission to see his own records
* Administrator of the group can see all the record

Inside the rule, adjust the domain so that user will see his created records and admin will see all

Thanks

0
Imagine profil
Abandonează
Imagine profil
Vinsinfo Pvt Ltd
Cel mai bun răspuns

Hi

You can make your form uneditable once the form is created by changing the view properties in Studio.

Steps:

  1. Get into the form and click the Studio icon.
  2. Click the View tab in the top left corner of the Studio screen and uncheck the Can Edit option.


This will make the form uneditable for all users once the form is created.

If you want to make the form read-only for other users but editable by the owner, then change the user access for that module to "User: Own Documents Only" in Settings -> Users -> [the user you want to restrict].


Thanks.



0
Imagine profil
Abandonează
Imagine profil
Cybrosys Techno Solutions Pvt.Ltd
Cel mai bun răspuns

Hi,

To make a form readonly for other users and editable only for you in Odoo Studio 17, you'll need to implement access rights and record rules. For that, you need to create a new user group.Then, modify the model's access rights to give full permissions to this group. Create a record rule that allows only the creator to edit the records. Adjust other users' access rights to read-only. Finally, update your form view in Odoo Studio to include a domain filter that shows only records created by the current user. This approach ensures that you alone can edit the form while others can view it but not make changes.

Hope it helps.

0
Imagine profil
Abandonează
Enjoying the discussion? Don't just read, join in!

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

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
Set readonly on a button
readonly buttons
Imagine profil
Imagine profil
2
mar. 15
12305
Odoo Studio - Send Email Button Include Pdf report
buttons OdooStudio SendEmails odooonline
Imagine profil
0
iul. 24
2009
Change Base Field Properties in a New Module: Rezolvat
module field readonly basefield
Imagine profil
Imagine profil
Imagine profil
Imagine profil
Imagine profil
4
ian. 23
18125
How to define a read only field
field qweb readonly odooV8
Imagine profil
Imagine profil
Imagine profil
5
feb. 16
9690
Read only fields on products and customers in v7?
field user customer readonly
Imagine profil
Imagine profil
Imagine profil
2
mar. 15
4174
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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