A good example is in invoice:
You get fields:
partner_id
address_invoice_id
by default you get a domain in address_invoice_id:
[('partner_id','=',partner_id)]
In view for address_invoice_id field add widget="selection" and look if
you get in combo list only address for partner selected.
Regards,
--
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/778016
Title:
Domain does not works with widget= "selection"
Status in OpenERP GTK Client:
Incomplete
Bug description:
if widget= "selection" domain not working in openerp 6.0.2
example
<field name="caste_id" widget="selection"/>
<field name="caste_sub_id"
domain="[('caste','=',caste_id)]"/>
Is it possible give me a solution
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client/+bug/778016/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp