So now we run the pre-tiny.py script and receive this error:

bash-3.2$ python pre-tiny.py -d terp -r postgres
Traceback (most recent call last):
  File "pre-tiny.py", line 171, in <module>
    cr.execute('ALTER TABLE sale_order_line ALTER price_unit TYPE 
numeric(16,2)')
psycopg.ProgrammingError: ERROR:  cannot alter type of a column used by a view 
or rule
DETAIL:  rule _RETURN on view sale_journal_picking_stats depends on column 
"price_unit"

ALTER TABLE sale_order_line ALTER price_unit TYPE numeric(16,2)

So on to investigate this problem...





_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to