- def test_paid(self, cr, uid, ids, context=None):
- """ Test all amount is paid for this order
- @return: True
- """
- for order in self.browse(cr, uid, ids, context=context):
- if order.lines and not order.amount_total:
- return True
- if (not order.lines) or (not order.statement_ids) or \
- Decimal(str(order.amount_total)) != Decimal(str(order.amount_paid)):
- return False
- return True
Coming from the point_of_sale module in addons, find the hell!
I help you, this code bugs the point of sale when we change the price accuracy of OpenERP
This blog talks about OpenERP, an OpenERP business application trying to manage an enterprise in an easier and powerful. I will try to explain how difficult it is to develop with OpenERP due to the bugs and the database model made by Tiny. Because I'm impartial I will also explain some good features.
Thursday, January 20, 2011
Hell in point of sale
Subscribe to:
Posts (Atom)