Odoo Hilfe

3

0
4 Antworten
1
K.Amrita Indien
25.01.19, 01:04

Hi

Indeed you can achieve this through specific group.
You can add field paper_weight_id  twice in view with attrs condition if matches paper_weight_id with option no_create else paper_weight_id without any option.
Hope this makes senses to you.

0
Andres Fontenele Spanien
16.02.19, 14:13

Did anyone find a less hacky solution?

It seems like "can_create" attribute doesn't work, so you can't use it.

Is there any place where people explain which attributes (domain, attrs, etc...) allow conditions and why?

It's so boring to have to debug the whole code everytime you need any solution.

0

Hi,

You can use access rights to your model and only allow specific group users to read a record or create a record.


Fragen Sie
Writer
Keep Informed
3 Verfolger
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now