Re: [tryton] Extending party

2010-01-30 Thread Ian Wilson
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

[tryton] Extending party

2010-01-28 Thread 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

Re: [tryton] Extending party

2010-01-28 Thread Korbinian Preisler
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