Hi all! I just have a question... I'm trying to override the default 
product template cost_price_method to 'average'. I'm trying this:

@staticmethod
def default_cost_price_method():
    print 'default_cost_price_method is being called'
    return 'average'

But when I press to create a new product template on the client, the 
cost_price_method field remains on 'fixed'. I know the method is being 
called correctly because it prints 'default_cost_price_method is being 
called'. I'm not sure why the default value is not 'average'... Is it 
because it is a property field or am I forgetting something?

Regards,

Martín Guzmán

Reply via email to