[FIX] point_of_sale: allow negative prices again
5afb5ecd04 rewrote the tax computation
in both account and point_of_sale to fix complex tax computations but
it no longer allowed negative prices in the point of sale.
opw-778013
This commit is contained in:
@@ -1463,8 +1463,8 @@ exports.Orderline = Backbone.Model.extend({
|
||||
});
|
||||
return {
|
||||
taxes: taxes_vals,
|
||||
total_excluded: round_pr(total_excluded, currency_rounding_bak),
|
||||
total_included: round_pr(total_included, currency_rounding_bak)
|
||||
total_excluded: sign * round_pr(total_excluded, currency_rounding_bak),
|
||||
total_included: sign * round_pr(total_included, currency_rounding_bak)
|
||||
};
|
||||
},
|
||||
get_all_prices: function(){
|
||||
|
||||
Reference in New Issue
Block a user