I have a defined groups and i want to display a button according a group.
<button name="assign_ticket" states= "pending_assignment,draft" groups="group_centricare_care_agents" string="Assign to me"/>
i want this button to be displayed to the group "roup_centricare_care_agents" but when adding groups tag it cause an exception.
P.S.: This button in tree view.
How can i do this??
Thanks in advance
I think the groups attribute has to have the module name included in the group name. For example, groups="base.group_extended" is used a lot. The module name should be from the module that originally created the group. It might also be that the groups attribute is not supported in tree views or on buttons, I don't know.
Can you post details of what your error says?
I have also faced a same problem, i am using openerp 7 on window and when i edit the following code
buton name="purchase_approve" states="confirmed" string="Approve Order" class="oe_highlight" groups="base.gm_approved"
in form view of purchase order for access the button only for gm_approved group then this button does not show for any user. also i try groups="base.group_gm_approved" but same issue
Related
Here we have an article on how to add share buttons to a web page and it works:
https://developers.facebook.com/docs/plugins/share-button/
But on my website, I have a "Load more" button to fetch content dynamically and I have no idea how to add a Share button to newly generated items.
Obviously adding this div does not make any effect so I probably need to call some Facebook function to the newly created divs.
<div class="fb-share-button"
data-href="https://www.your-domain.com/your-page.html"
data-layout="button_count">
</div>
Is anyone aware what is the name of this magic function?
OK, found the solution here:
https://developers.facebook.com/docs/javascript/examples#dialogs
It shows how to trigger a share popup. It also gives more control over the look of the share button which is also what I've been looking for.
I installed PrestaShop 1.7.1.2 and I added many categories, one of them appears on the top menu of the front page, only a specific one of them. I don't know why, I didn't add any products to it.
you can see it by browsing to prestashop.tux-in.com and near the CLASSIC title which is a link to the homepage, DIFFERENT HOLDERS is also shown there which is an empty category. what am I missing? why is this category alone is shown there?
how can I remove it ?
It seems it coming from top horizontal menu module, please check it in admin under module section and remove it.
I am new to DNN. So please guide me for my this query.
My requirement is to display one user list page and that will contain one link called 'Edit'. On click of that link it's detail should be displayed.
For this, I have created one module which contains one user control called 'UserList' which is displaying list of users. Now for detail page
Should I create new module? If yes then how to communicate with that module from that 'Edit' link?
If there is any another way to have both view in same module?
Please guide me what to do in requirement?
Thanks in advance.
How can I communicate between multiple widgets?
I have 2 widgets on the same page, and when clicking on one of the first widget button, I need to modify the content of the second widget.
Can anyone help me?
Details:
I extend FieldMany2One (selectbox) and ListView. What I need is, when select an option in FieldMany2One, I need to update content in ListView. What I need is to get an instantiated widget into another widget.
In method reinit_value of FieldMany2One widget, I need to get instance of the ListView.
Best regards,
Pedro
I'm currently developing a Windows 8 Store app that uses a Grouped GridView in the HubPage showing Highlights for some Categories. So far, when clicking the Header you see More Highlights for this Category.
Now i want to add a control at the end of every Group leading the User to the "non-highlight" Category site, where just all the Items of this category are displayed.
Is there an easy and elegant way to do this - propably with a Template is suppose.
( i think the latest Bing-News-App has a similar feature )
Thanks in advance for every help.
There are a couple of ways you can do this.
You can add an arbitrary object to the end of your group, then use a DataTemplateSelector to style it.
You can create your own VariableSizedWrapGrid with the control added to the end in the constructor (slash "Arrange"). You can then add an arbitrary click handler as a dependency property and only show the button if the click handler is set, so you can reuse this on other pages, etc.
You can change the GroupStyle to include something similar at the end of the group, but it likely won't animate with the other items in the group (if that's important to you).
The easiest one to do is probably the first one. If your group is a list of SampleItems then make a subclass of the SampleItem class called something similar to TerminalSampleItem. Create a template for it (like you've made other data templates). Make an ItemTemplateSelector that has two properties, NonTerminalDataTemplate and TerminalDataTemplate (assuming you only have two data templates). Have the SelectTemplateOverride function check for (item is TerminalSampleItem);