On 29 Apr 11:28, Simon Klemenc wrote:
> Hi there, 
> 
> As there is active record available in on_change (Thanks for that!), i 
> would like to make use of it to create invoice/shipment bound addresses.
> Now, the hassle is to hide those addresses from the party address subfield.
> I saw it is possible to add a domain clause to the many2many field, but i 
> am not sure this is what i want.
> All i want is to add a domain to a view. I see that is working with 
> ir.action.act_window, but the m2m fields always use a 
> ir.action.act_window.view so i dont really know how to make that happen...

The fields instance have a domain attribute:
http://doc.tryton.org/3.6/trytond/doc/ref/models/fields.html#domain


-- 
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Reply via email to