{"push_id":667008112,"size":1,"distinct_size":1,"ref":"refs/heads/8.0-pos-is_paid-sig","head":"02ee7141d95e5824731fd570e9f91ceb05663430","before":"81df88d5c30d718f90af05dc1894d5f777bdca82","commits":[{"sha":"02ee7141d95e5824731fd570e9f91ceb05663430","author":{"email":"b3ed2cf313e7546085c3c50622143ff31e467d23@odoo.com","name":"Goffin Simon"},"message":"[FIX] point of sale: function is_paid:\n\nWhen rounding globally, the function compute_all in charge to compute the taxes for\neach line uses a very high currency rounding to avoid rounding per line.\nThe round must be done on the sum of each total amount line with taxes. To validate a payment with the pos,\nthe function is_paid verified that this sum is the same that the amount just paid.\nInspired from \"sale.order.line\", the precision of 'price_unit' and 'price_subtotal' in \"pos.order.line\"\nmust be taken from 'Product Price' to avoid rounding per line.\n\nps: we could not use the function get_all_prices to round globally because it used on every line.\n\nFixes #6681\nCloses #6682\nopw:639686","distinct":true,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/02ee7141d95e5824731fd570e9f91ceb05663430"}]}