How to add group to ir.actions.server in odoo 9? - odoo

I 'm usin odoo 9. I have ir.actions.server on one of my model, I want this action to be invisible if user of specific group log in to the system? Can this be achieved?

As far as i know, both used models (ir.actions.server for the action itself and ir.values for the More-Menu entry) have no field for access groups. Hence there is no Odoo vanilla solution for your requirement.
But i looked into model ir.values. It has a field user_id. Maybe that could be used.

Related

How to add custom logic in odoo10 e-commerce module? Which model in odoo10 should I inherit to extend e-commerce cart logic?

I want to add some custom logic into odoo 10 e-commerce module. I know I have to create a new addon for that. But I am not getting from where I should start the module development.
As the developer mode not helping me in website module to show elements properties when I hover over it. So I am not getting the model's name, field name.. What are the starting steps towards this development?
I want to change the logic in web when we add product to the cart I want to serve that product on monthly basis so select 2 dates, and then the regular billing for the same.
You should read the source code of the modules related to website_sale, you could find it online at:
https://github.com/odoo/odoo/tree/11.0/addons

Create contact record from registration form in odoo 9

Using Odoo 9 SA, I've added custom fields to my crm.lead model and added those fields to a registration form. I'd like to have that custom lead information carry over to the contact record that is created in res.partner when the lead is qualified.
My question is how can I go about doing that? I don't know where the action is that would copy the fields from crm.lead to res.partner.
You must add these fields to res.partner model and it will store it (related fields would be best choise I think)

"stock.picking.out" and "stock.picking.in" are missing in Odoo 8

I am using Odoo 8. In order to use Webkit to custom my invoices, I have to install the "Invoice to Picking Relation" module (technical name: picking_invoice_rel). However, when I try to install this module, I discover that the stock.picking.out and stock.picking.in models are missing.
These models were afforded by the stock module in OpenERP 7.
Could someone tell me what to do?
#Zoumourrouda
Yes you are right new WMS in v8 has removed the stock.picking.out and stock.picking.in object that sad part but good part was those both object were _inherits from stock.picking object so you can create sme report on stock.picking object and you an use picking_type_id.code field to check this is supplier or customer or internal picking and create report label according.
and Moreover you can migrate your stock.picking.out and stock.picking.in data on stock.picking table and you wll still have all data. (NOTE" BECAREFULL WHILE DOING MIGRATION TO MESH UP ;))
Thanks

Need to pass lead custom field value to partner when converting to lead to partner in OpenERP 7

I'm new to OpenERP 7 and I'm trying to pass a custom field value from Lead to Partner when I convert a Lead to Partner.
I understand that I need to modify or add some functions in wizard directory of my new module (I assume I need to extend the crm module)
Is correct? Anyone can recommend me any example or let me know some tips?
Thanks in advance.
There are actually two methods defined in crm._lead_create_partner and _lead_create_contact. These methods create partner and contact respectively. You can override these methods(first use the _lead_create_partner) to pass value to partner.

Does OpenERP SAAS support use of related field?

I am using OpenERP 7.0 SAAS environment.
I have to use details of partner_id from res.partner in custom table. Is there any method to access the values of selected partner_id to be used in that table.
Thanks & Regards,
Atchuthan
No, because on the SaaS/Cloud environment you can only create custom fields via the user interface, and the UI does not currently support creating function fields (fields.related is a kind of function field).
Depending on your use case there's a good chance you can find an alternative satisfying approach, though ;-)