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 ;-)
Related
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.
I am working on a script (which is in Python) for doing some management on our Magento environment.
Now I am wondering if I can create categories with assigned ID.
I think this might be impossible due to key constraints. But is there a way?
Just putting category_id in the parameter list in catalog_category.create, it does not work, it just skips the parameter.
The main reason of wanting this is because I need to know the category ID in order to create the subcategories.
I do know the Magento API returns the ID of the created category. But, I have no way of knowing what subcategories are supposed to go to that created category. (Or I can rewrite a load of code, which I am not too fond of...).
So I was thinking this was the easiest way to go with right now.
Any suggestions, comments, answers? Anything is appreciated!
No, you can't. Magento's entity IDs are for Magento so you cannot specify what you'd like them to be.
When you create an entity with the API it will return the new ID, as you've said.
For your use case it might be easiest to add a new attribute to your categories in Magento, call it "my_category_id" or something and allow your API to set that instead.
I've got a lookup field on Account entity called something. Each such Something has a reference to an account. When my users click the magnifying glass, I want them to see a list of available Something records but filtered to view only such instances that link to the currently treated entity.
Also, I'll need to design such a filtration for Contact instances to only show the Something records that are related to the account that the currently regarded contact is a member of.
I can't decide between a plugin on Retrieve and some JS in OnLoad registering a fetchXML. All such operations will be done client-side. The solution needs only to work in CRM13 (and if possible apply some cool functionality in that version).
Suggestions?
JavaScript & FetchXml are your best option here as with a Retrieve plugin you're taking the performance hit of executing on every retrieve regardless of whether the entity is being retrieved for the lookup. A filtered lookup in JS only applies for those scenarios that require a change to the field on Account.
Another other good reason for using a filtered lookup in Js is they are now a supported feature in CRM 2013 as opposed to the "hack" that was required in 2011.
Some more info on addPreSearch and addCustomFilter can be found on MSDN and there's a decent blog post providing examples here.
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 anyone know if it's possible to define rules or trigger on rally?
For example, field X is required only if field Y is defined and so on?
Also, is there a way to create a field that acts like a plan Estimate field? I want to define custom QA estimate field and want it be updated once the child QA estimate has been changed (that happens automatically in plan Estimate field but I looking to have this functionality in my custom field.)
Custom rules and workflows aren't currently possible in Rally, although it's a popular feature request. I'd recommend signing into Rally Ideas, and adding your and your teammates' votes and comments to the following Idea:
Add definable workflow enforcement into work fields to enforce agile process
Which will enhance the visibility of this feature request with Rally's product owners and usability teams.