Name 1b178f96bcde746d4540c3168736fdef0f164916
Repo enterprise
Subject [FIX] l10n_de_pos_cert: division by zero when calculating the price_per_unit in the export The reason why we calculate the `price_per_unit` using the `price_subtotal_incl` divided by the quantity is to always have the tax included in the price. When the quantity is zero, we don't really care about the `price_per_unit` since the total amount will not be affected by this orderline. We could put 0 but using the `price_unit` (which may not include the tax) of the `orderline` is more correct (having 0 is less indicative than a real price).
Date 2021-06-04 13:25:40
Author Jacky (trj) <>

Last Status

Branch naming   failure build

Branch presence history

2021-06-04 14:48:32 odoo/enterprise tmp.13.0
2021-06-04 15:35:24 odoo/enterprise 13.0

Status history

Branch naming   failure build