Is it possible to edit sale.order workflow in Odoo9? - odoo

I active developer mode in odoo9. and go to Setting > Workflow > Workflow and can't find sale.order workflow.
after that.I try to edit workflow like odoo8. I go to Sale > Sale Orders > Open Debug Menu > Edit Workflow > Diagram
like this.
and I got this message.
Odoo Warning - Access Error
Is it posible to edit core workflow? because I need to change some step when I have sale order.

The sale.order workflow was removed in odoo 9. So no, it not possible to edit it because it is not there.

Related

Bigcommerce checkbox addons to product

Is it possible to have a checkbox on the product page that are upselling the current product? For example if the user wants to buy a computer they might want to add a mouse, is that possible to implement on the product page for the computer by adding a checkbox that says "Add a mouse +50 SEK", and mouse in this case is referring to another existing product?
natively you can add a customized checkbox value to your pdp. You would do this under Products > View > Edit > Customizations. Select checkbox. Then enter rules to increase the price when selected. However, this is not tied directly to the product, so you'd have to run your own custom logic to handle inventory if you go this route.
Another option is to use a picklist. This is in the same location as checkbox. However the difference is that you can directly link this to a product on your storefront and not have to worry about inventory as it can be handled within BC if you select that option.
A third option is to use an app from the App Marketplace. I've used the BuyButtons app + an HTML widget on the pdp in a quick test to see how this would look. It would need some tweaking to get it to how you'd like, but it was fairly straight forward.
There are likely many other ways to accomplish this, though! These are just some native options & an app option. Thanks!

Odoo11 - Restrict user assignment to project team members

I downloaded the .exe file of the community edition of odoo 11, installed it on a windows server and configured rules, that projects can only be seen by users who are assigned to the project as team members.
That works fine!
Now, in a task I want to restrict the options in the "assigned to" dropdown of a task: In the dropdown I want to see only users, who are actually assigned to that project. At the moment I can see all existing users and can assign the task to any of them.
In the form view I tried to restrict the list as follows by adding the domain attribute:
<field name="user_id" class="o_task_user_field" domain="('user_id','in', [project.members])" />
This gives an error on save.
Field 'project' used in attributes must be present in view but is missing
Update: 2. approach:
I tried to update the field user_id in model project.task and set the domain as follows:
('project_id.members','in', [user.id])
But I got the error (translated from german): you cannot make changes in a basic field!
How can I limit the options in the dropdown (without making code changes as I donĀ“t have the code forked from github)?
Any help appreciated!
Thanks
For this you just need to update one onchange and in that add domain. No need to add it from xml. There is by default onchange_projectmethod is there. In that you just inherit it and add one line..
result.update({'domain':{'user_id':[('project_ids','in',project_id)]}})

Change the status of dokan plugin

Hello thank you for helping me
I want to change the product status of the product in the dokan plugin after it has been edited, which is still published? please guide me
Please navigate to admin panel > dokan > settings > selling options and check the option Edited Product Status. See following image

Magento Customize product custom options

I am working on magento. I want to add drop-down menu at product detail page. For this i tried custom options at product configuration in back-end. But now problem is that i have more than 10 drop down menus each has more than 20 option values.It is not possible to add them manually at the time of create new product.
Is there any way to add option values of drop-down in custom options from code.
now i have following questions:-
1. How to add drop-down list option values from code or any other way.
2. how to add custom options automatically when add new product.
Please reply asap.If there is any other way to do this please mention here.
try below link for creating and updating custom options programmatically
http://subesh.com.np/2009/12/adding-custom-options-product-magento/
How to update custom options programatically in magento?

Mapping a widget template to a user control in SiteFinity 5

(Crossposted in SiteFinity's forums)
I'm using SiteFinity 5.0. I created a custom module, using the module builder, called Promos. It's content type is called Promo.
Next, I created a new widget template called PromoFlexSpace. I basically copied the auto-generated template for a single Promo display and changed it a bit.
What I would like to do is globally map this widget template to a user control, so that any time that template is selected, it actually uses my user control. I've found how to do this for an individual item:
http://www.sitefinity.com/documentation/documentationarticles/designer-s-guide/widget-templates/using-external-widget-template-file
http://www.sitefinity.com/blogs/joshmorales/posts/11-05-10/mapping_external_templates_for_sitefinity_4_widgets.aspx
And I found something that came close to explaining what I'm trying to do on a global level:
http://www.sitefinity.com/blogs/joshmorales/posts/11-07-26/customizing_sitefinity_4_controls_with_the_viewmap.aspx
But I haven't found a way to accomplish what I'm trying to do yet (apologies if that last link actually does explain it - I need a better breakdown if it does).
What I've tried so far is going into the advanced settings > controls > view map and adding an entry there, but I can't find a value for HostType that works.
If you go to Administration > Settings > Advanced > Toolboxes > ... > [Your Widget Control] there's a setting for "LayoutTemplate" where you can enter a path to an .ascx file.