On 17 Oct 18:30, Sergi Almacellas Abellana wrote:
> Hi,
> 
> It's possible to trigger a custom code in order to generate tabs domains for
> and act_window? What i want is to dinamically create an equivalent version
> of the ir.action.act_window domain records
> 
> What I want to do is the following:
> 
> I have the following models (simplified):
> 
> class Type:
>      __name__ = 'type'
>      name = fields.Char()
> 
> class Model:
>      __name__ = 'model'
>      type = fields.Many2One('type')
> 
> I want to show a domain tab for each record in the type model and apply the
> domain based on the many2one field.
> 
> How can I achive this?

Create a act_window.domain record for each record of type.

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

Attachment: pgpxcNwEjlPbs.pgp
Description: PGP signature

Reply via email to