Open GoogleCodeExporter opened 9 years ago
This snippet is from an other project, but similar code should be use:
def init(self, cr):
cr.execute("alter table sale_order_line alter column discount type
numeric(16,7);")
_columns = {
'discount' : fields.float('Discount (%)', digits=(16,7)),
}
Original comment by rva...@gmail.com
on 19 Dec 2008 at 5:18
Original issue reported on code.google.com by
rva...@gmail.com
on 11 Dec 2008 at 11:53