I have a module where I set some default values for new product. When I set "Default UOM" and product is saleable and purchasable I have to fill Sale UOM and Purchase UOM.
But there I cant access UOM List and even cannot create new UOM. I have to delete "Default UOM" and set again. Then Sale UOM and Purchase UOM are filled with the same UOM as set in "Default UOM" Whats the reason for this? I make video: http://www.youtube.com/watch?v=xIapbV_sksk My Code: class Template(ModelSQL, ModelView): > "Product Template" > _name = "product.template" > > def default_default_uom(self): > return 1 > > Template() > -- -- [email protected] mailing list
