How to remove "Create: option in many 2 one field for user - odoo

How to remove "Create: option in search view opened after clicking Search view in odoo 9?
I want to hide create and hide option for many 2 one field for the user not for the manager?

If you want to remove create option than you can do this via adding options no_create. For not allowing editing, you can do that via no_edit option. For the particular user group you want to add options than you can do this via different access_rule and access_group

Related

Adding a filter in hubspot

I want to add a filter in my contacts, https://knowledge.hubspot.com/es/contacts/create-saved-filters:
But I don't see this option :
This issue can be easily solved, just follow the following few steps:
Go to the Contacts tab, click the More Filters tab, and open the right sidebar:
Then, filter by the Contact properties search box to find the wanted properties:
And, finally, check the is known radio button and press the Apply filter button.
there is a field named "more filter" available at the end. this one open a model with the list of your properties for adding filters to the contact based on the property data you entered

Oracle Forms Tab Detail

I am using Oracle Forms. I want to know how to determine which tab the user is on at run time.
For example: I have created four tabs in my canvas A,B,C,D. At run time, how do I get to know which tab is currently being accessed by the user?
With
Get_Item_Property(:system.cursor_Item, ITEM_CANVAS)
you can get the canvas name of the item. This will return the name of the tab control page. If you use the following command with this name:
GET_CANVAS_PROPERTY(canvas_name,TOPMOST_TAB_PAGE);
you will get the name of the tab that is activated at this moment

Setting up recycle bin functionality in Archer GRC

When deleting records within the platform, this action is not reversible via the front end. Is there a way to allow users to remove a record from their view without actually deleting the record?
You can simulate recycle bin functionality within Archer GRC by adding a record permission field that grants read access to "Everyone". If read access is no longer required then an editor of the record can go in and change "Everyone" to a group called "Recycle Bin."
Please note that if there are other record permission fields in the application, users or groups may still have access if they are selected in those fields. Perhaps You can set up a dropdown status field for the user to select "Recycle Bin" and use this condition for automatic record permissions to revoke permission to the record depending on the requirements or workflow of the application.
Solution shared by Igritte might be somewhat confusing for end users.
End user will see greyed out "Delete" button in the top toolbar, but he has to select "Recycle Bin" in the form. This solution was not accepted by my business owner at some point.
As a work around for "Soft delete", I wrote a custom object overriding "Delete" button functionality.
1. User doesn't have delete access to the record, so JavaScript code will make "Delete" button look like active and available.
2. Once the button is clicked, custom object will populate value in the
hidden value list and simulate the click on the "Save" button.
Update: Note that Custom object needs to hide the value list first once the page is loaded. Here you will need to use a JavaScript and do the following: [a] locate the value list DOM object and [b] set display attribute to none. I used jQuery library to do both. This way your value list is not displayed, but you still can use it to control data driven events.
3. With hidden value populated and submitted, record permission will hide this record from the end user.
Note that custom object hides one value list on the layout as well.
If for some reason JavaScript doesn't load properly, user simply will not be able to click on the grayed out "Delete" button.
Update: Hidden value list can be populated by custom object using JavaScript code as well. You need to identify the form tag "input" in HTML code of the page and set attribute "value" to the desired state. I used jQuery library to do this as well.
I have this solution in production working fine with IE11, FF and Chrome.
I can't share the code, but with WC3Schools JavaScript guides and 4 hours you can write and test it yourself with very little JavaScript skills.
Sometimes you have to use custom objects when you want to get a user-friendly solution of not available functionality.
Good luck!

Hide few fields in EditForm.asx of Picture Library in sharepoint 2010

I have a picture library and added few fields to it. When i click add new item from picture library, the EditForm.aspx appears after uploading the picture. This form contains many fields of which I want to hide Title, Date Picture Taken, Description, and Keyword. In short the EditForm should contain only Name, Preview and the columns that I have added. Is it possible to hide the other columns? I want to perform this out of the box.
Several possibilities.
You can use SharePoint Designer to manipulate the NewForm, EditForm and DisplayForm. Edit the existing form, use CSS to set the out of the box HTML form to hidden, then add a new custom form to the page and remove the columns you don't want to see.
If you don't want to use these columns at all, just delete them in the Library settings
If you don't want to delete the columns, click the parent content type in the Library settings, then edit each column and set it to "hidden"
Check this out: http://sarangasl.blogspot.in/2009/10/hide-column-in-edit-new-or-display-mode.html
I found this solution to be really simple and effective. Very well documented and descriptive.

How to select multiple entries in address book using ABPeoplePickerNavigationController

I need to allow the user to select multiple entries from the iPhone address book before proceeding to the next action.
Currently if I use the ABPeopleNavigationController, it only allows me to pick one entry at a time. Is there any way to allow multiple selections i.e. add a checkmark beside all the names I want to select before clicking on 'done' button
This is not possible with the standard ABPeopleNavigationController.
You'll have to use a UITableView to provide the list of people to select and enable multiple selection - basically you have to do it all yourself. It isn't that hard. Just write a custom table data source on your list of people.