2011/8/3 Jerzy Orłowski <jerzy.orlow...@lacan.com.pl> > ** > 1. Is [('product_id.category_id > <http://product_id.category_id.name/>','=',category_id)] > possible? From which version? id domain and in filters? How about XML-RPC? > 2. Suppose I want to choose sale order lines with product in selected > category. >
Both are posible. Regards, > > > > On 08/03/2011 07:34 AM, Ovnicraft wrote: > > > > 2011/8/2 Jerzy Orłowski <jerzy.orlow...@lacan.com.pl> > >> Is it possible tu use "django way" values in searches and domai values. >> Something like [('product_id.category_id.name','=','Computers')]? > > > In fact in openerp i cant see the case when you do that, yo possibly do: > > [('product_id.category_id <http://product_id.category_id.name/> > ','=',category_id)] > > when category_id is a field in your wizard or object. > > So you can give us more info about what you want to do and we can help > you in openobject way. :) > > Regards, > >> >> >> >> On 08/02/2011 07:18 PM, Fabien Pinckaers wrote: >> >>> Hello, >>> >>> There is no easy way to put values of the model instance being loaded >>> but the ID of the model instance (and IDS if you select severals) are >>> provided in the context (active_id and active_ids). So you can load the >>> values in your action. >>> >>> Viktor Nagy wrote: >>> >>>> hi, >>>> >>>> I would like to set the context of an action given in a record xml tag >>>> depending on some value of the model instance being loaded >>>> >>>> is this possible? >>>> >>>> Viktor >>>> >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> Mailing list: https://launchpad.net/~openerp-community >>>> Post to : openerp-community@lists.launchpad.net >>>> Unsubscribe : https://launchpad.net/~openerp-community >>>> More help : https://help.launchpad.net/ListHelp >>>> >>> >>> >> >> -- >> Pozdrawiam serdecznie, >> >> Jerzy Orłowski >> >> Lacan Technologies Group >> Członek Zarządu ds. technologii >> Al. Stanów Zjednoczonych 53 >> 04-028 Warszawa >> tel. +48 (22) 266 01 02 >> tel. +48 (22) 292 16 16 >> kom. 668 151 245 >> www.lacan.com.pl >> www.erpsystems.com.pl >> www.serwerownie.com >> >> >> Lacan Technologies Sp. z o.o. Sąd Rejonowy dla m.st. Warszawy w >> Warszawie, XIII Wydział Gospodarczy Krajowego Rejestru Sądowego, KRS: >> 0000319673, NIP: 521-351-01-01 >> >> Kapitał zakładowy: 50.000 PLN >> >> >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~openerp-community >> Post to : openerp-community@lists.launchpad.net >> Unsubscribe : https://launchpad.net/~openerp-community >> More help : https://help.launchpad.net/ListHelp >> > > > > -- > Cristian Salamea > @ovnicraft > > > > -- > Pozdrawiam serdecznie, > > Jerzy Orłowski > > Lacan Technologies Group > Członek Zarządu ds. technologii > Al. Stanów Zjednoczonych 53 > 04-028 Warszawa > tel. +48 (22) 266 01 02 > tel. +48 (22) 292 16 16 > kom. 668 151 245www.lacan.com.plwww.erpsystems.com.plwww.serwerownie.com > > > Lacan Technologies Sp. z o.o. Sąd Rejonowy dla m.st. Warszawy w Warszawie, > XIII Wydział Gospodarczy Krajowego Rejestru Sądowego, KRS: 0000319673, NIP: > 521-351-01-01 > > Kapitał zakładowy: 50.000 PLN > > > _______________________________________________ > Mailing list: https://launchpad.net/~openerp-community > Post to : openerp-community@lists.launchpad.net > Unsubscribe : https://launchpad.net/~openerp-community > More help : https://help.launchpad.net/ListHelp > > -- Cristian Salamea @ovnicraft
_______________________________________________ Mailing list: https://launchpad.net/~openerp-community Post to : openerp-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-community More help : https://help.launchpad.net/ListHelp