Odoo Help

1

mandatory filter for a user

By
ODF
on 10/1/13, 1:16 PM 1,276 views

When a user goes into the Purchasing menu the system applies a filter but the user can remove it. Can I apply this as a mandatory filter to specific user.... meaning the user is not even aware of this filter.

1

Ray Carnes

--Ray Carnes--
16009
| 9 7 9
Greater Los Angeles, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0; Odoo 8.0, 9.0, 10.0.

Completed Odoo Functional and Technical Training.

Major Skills:

  • User Needs and GAP Analysis;

  • Functional and Technical Design;

  • Prototyping and Proof of Concepts;

  • Requirements Specifications;

  • Agile Implementation;

  • Data Migration;

  • Configuration & Customization (UI and code);

  • Integration - Odoo and non Odoo Applications and Services;

  • Training and Knowledge Transfer;

  • Go Live Support;

  • Helpdesk;

  • Version Upgrades and Migration.

  • Accounting Expert.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

I am a skilled Communicator and I only take the serious things seriously!

Ray Carnes
On 10/1/13, 7:28 PM

Yes. Apply the filter in the Action that defines what happens when the menu is clicked.

1) Activate the Developer Mode

2) Navigate to the menu you want to modify the filter for, for example top level Purchases --> Purchase --> Quotations

3) From the debug menu, select Edit Action.

4) Modify the Domain Value.

image description

(In this example, the filter is applied to the purchase.order model to show only those documents that are not open purchase orders. If you look at the filter for the next menu down, the Purchase Orders menu, you will see the OPPOSITE filter. Both menus provide access to the same documents, but with mutually exclusive filters.)

Note this is not specific to a user. To add this part you would need to create a menu and and action that was only shown to this user, using security groups.

Bista Solutions US, Ray Carnes
on 10/1/13, 7:29 PM
0

Daniel Reis

--Daniel Reis--
3436
| 6 7 9
Lisbon, Portugal
--Daniel Reis--

Author of the "Odoo Development Essentials" book.

Applications Manager at Securitas Portugal

Github: https://github.com/dreispt

Twitter; @reis_pt


Daniel Reis
On 10/1/13, 7:54 PM

My suggestion is to use a Record Rule: Record Rules allows you to define filters (domains, to be more precise) to happy to a Group.

This means that you need to create a custom Group, assign it to the user, and set record rule for that Group.

Your Answer

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

Question tools

1 follower(s)

Stats

Asked: 10/1/13, 1:16 PM
Seen: 1276 times
Last updated: 3/16/15, 8:10 AM