Odoo Help

Welcome!

This community 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.

1

mandatory filter for a user

By
ODF
on 10/1/13, 1:16 PM 1,200 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--
15717
| 9 7 9
Greater Los Angeles, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0 and Odoo 8.0, 9.0 (Since 2012)

Completed Functional and Technical Training.

Major Skills:

  • Needs Discovery and Requirements Analysis;

  • Function and Technical Specifications;

  • Project Planning;

  • Prototyping and Proof of concepts;

  • Data migration;

  • Configuration & Customization (UI and modules);

  • Integration - data, business logic and service levels;

  • Training and Knowledge transfer;

  • Go Live support;

  • Help desk;

  • Version Migration.

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. 

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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