2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

Bug fix for purchase order pricing (#4373)

* Account for pack size when calculating purchase_price for received line items

* Clearer display of "unit pricing" when part has units

* Add data migration to fix historical pricing bugs

* Remove debug statement
This commit is contained in:
Oliver
2023-02-20 17:22:47 +11:00
committed by GitHub
parent 9964687cf3
commit 95ecd0cd32
5 changed files with 113 additions and 4 deletions

View File

@ -334,6 +334,7 @@
{% else %}
{% render_currency pricing.overall_min %} - {% render_currency pricing.overall_max %}
{% endif %}
{% if part.units %}&nbsp / {{ part.units }}{% endif %}
</td>
</tr>
{% endif %}