On 22/10/10 17:54 +0200, Paul J Stevens wrote:
> 
> Hi all,
> 
> Looking at trytond_product/product.py
> 
> I see:
> 
>     list_price = fields.Property(fields.Numeric('List Price', states=STATES,
>         digits=(16, 4)))
> 
> so why did you use fields.Property here, rather than plain fields.Numeric?

Because property can handle different values per company.

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgpNFVyi3g66w.pgp
Description: PGP signature

Reply via email to