Commit graph

6 commits

Author SHA1 Message Date
Marc Durepos
7f62a24819 [MIG] bemade_margin_vendor_pricelist to 18.0 2025-09-10 09:43:32 -04:00
Marc Durepos
ce69990df6 Remove modules with 17.0 versions 2025-09-03 09:42:04 -04:00
Marc Durepos
4b2b53caa7 Revert "Clean up repository for apps.odoo.com sharing: Remove non-18.0 addons and document them in README.md"
Addons were butchered by this commit.

This reverts commit b33f25c688.
2025-05-29 21:35:47 -04:00
Marc Durepos
b33f25c688 Clean up repository for apps.odoo.com sharing: Remove non-18.0 addons and document them in README.md 2025-05-06 09:04:12 -04:00
Marc Durepos
626d4c5dc2 add more tests for bemade_vendor_pricelist to get coverage up 2024-09-19 10:58:14 -04:00
Marc Durepos
5f6fb6002a bemade_margin_vendor_pricelist: Fix division by zero
Added tests and fixed an edge case where computing the gross profit
resulted in a division by zero. This happened in production with a zero
ordered quantity on a sales order line and a negative product
availability value.

Also added some test cases to ensure that the calculations for GP and GP
% are correct across logically different cases.
2024-09-19 09:52:57 -04:00