Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
A question maybe easy, but sought to restrict the fields (in xml or py) with security permissions. Someone who can help or give guidance?? Thanks.
you can use groups keywords/attribute in python as well as in xml.
some thing Like in xml [/account/account_invoice_view.xml]:
<field domain="[('company_id', '=', company_id), ('type', '=', 'payable')]"
some thing Like in .py [/addons/account/partner.py]:
'total_invoiced': fields.function(_invoice_total, string="Total Invoiced",
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
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
|Asked: 5/5/16, 3:34 PM|
|Seen: 331 times|
|Last updated: 5/6/16, 1:38 AM|