Also here is an example of controlling the visibility of your tab. This code conditionally shows a tab(Customers tab) on a product if that product has been marked as salable or not: http://hg.tryton.org/hgwebdir.cgi/modules/sale/file/5244221bf646/sale.xml#l888
-Ian On Thu, Jan 28, 2010 at 11:41 PM, Korbinian Preisler <[email protected]> wrote: > Hi, > > take a look at party_type: > http://mercurial.intuxication.org/tryton/party_type/ > > Maybe this is helpful for you as it devides Parties into Persons and > Organisations. You could use this type field to control the visibility > of your tab. > > Am Donnerstag, den 28.01.2010, 10:05 -0800 schrieb Mourad ANIS: >> Hi, >> I need to extend party to store some extra infos (for ex: salary, >> insurance...), and manage it on an additional tab. >> I will use the same behavior as used to manage contact infos (tel, >> email..) with the exeption that i will store >> the type. (3 extra fields: name, type, value). >> The problem is: i don't want my new tab with extra infos shown on all >> parties, but only one category of them >> - would it be possible to controle this? >> - is there some similar work done? some starting point for me? >> >> >> Thanks >> > -- > Korbinian Preisler > ____________________________________ > virtual things > Preisler & Spallek GbR > Munich - Aix-la-Chapelle > > Windeckstr. 77 > 81375 Munich - Germany > Tel: +49 (89) 710 481 55 > Fax: +49 (89) 710 481 56 > > [email protected] > http://www.virtual-things.biz > > -- > [email protected] mailing list -- [email protected] mailing list
