openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #16665
[Bug 1061690] Re: crm_claim categ_id domain is not working
Hello Benoit Guillot ,
For second issue please refer odo comment #4 in lp:695089 .
So we can not consider second point as a bug .
Thanks.
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1061690
Title:
crm_claim categ_id domain is not working
Status in OpenERP Addons (modules):
Confirmed
Bug description:
hello,
In the module crm_claim, the field categ_id has a domain :
'categ_id': fields.many2one('crm.case.categ', 'Category', \
domain="[('section_id','=',section_id),\
('object_id.model', '=', 'crm.claim')]"),
However, in the view crm_case_claims_form_view, the field has the
attribute widget="selection" :
<field name="categ_id" widget="selection"
domain="[('object_id.model', '=', 'crm.claim')]" />
So two problems appears here.
First the domain does not consider the section_id anymore.
Second, when the field is a selection, dynamical domains are not
allowed anymore.
The result is that the categories showed in the selection are not
depending on the section_id chosen.
Best regards,
Benoît
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1061690/+subscriptions
References