c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #36013
[Bug 884160] [NEW] [Trunk] one2many in domains
Public bug reported:
Hi,
I'm using the latest trunk (rev 1926). I had a domain on a field based
on a FUNCTIONNAL one2many, which is invisible.
Example : We have an "address_id" many2one field, which have a domain
based on a "my_partner_address_ids", my functional one2many field, in
readonly, and invisible.
<field name="address_id" domain="[('id', 'in',
my_partner_address_ids)]"/>
This doesn't work anymore. The "my_partner_address_ids" is evaluated as
a list of 3-tuples, liek this :
[(status, id, data),...]
Example :
[(0, 0, {'xxx' : 'yyy'}), (1, 21, {...}), ...]
Is it normal ?
** Affects: openobject-client
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/884160
Title:
[Trunk] one2many in domains
Status in OpenERP GTK Client:
New
Bug description:
Hi,
I'm using the latest trunk (rev 1926). I had a domain on a field based
on a FUNCTIONNAL one2many, which is invisible.
Example : We have an "address_id" many2one field, which have a domain
based on a "my_partner_address_ids", my functional one2many field, in
readonly, and invisible.
<field name="address_id" domain="[('id', 'in',
my_partner_address_ids)]"/>
This doesn't work anymore. The "my_partner_address_ids" is evaluated
as a list of 3-tuples, liek this :
[(status, id, data),...]
Example :
[(0, 0, {'xxx' : 'yyy'}), (1, 21, {...}), ...]
Is it normal ?
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client/+bug/884160/+subscriptions
Follow ups
References