Open GoogleCodeExporter opened 9 years ago
account\account.py
1785行
('credit_debit2', 'CHECK (credit+debit>=0)', 'Wrong credit or debit value in model !'),
应该就是这个导致不能输入负数,但不知sql_constrains能不能通
过继承的方式去掉。而且官方不允许负数到底有哪些考量也��
�可知。
Original comment by wjfonhand
on 27 Aug 2010 at 8:15
Original issue reported on code.google.com by
wjfonhand
on 27 Aug 2010 at 8:11