Add insured amount

This commit is contained in:
2026-04-07 10:54:14 +02:00
parent 2109d7a3e4
commit 5179d98289
4 changed files with 61 additions and 6 deletions

View File

@@ -319,8 +319,11 @@ Source code: `modules/purchase_trade/stock.py`
Usage typique:
- templates shipment relies a l'assurance
- `report_insurance_amount`: montant affiche dans `Amount insured` (priorite a
`110%` du total incoming, fallback fee `Insurance`)
- `report_insurance_incoming_amount`: somme `incoming_moves` de
`quantity * unit_price`
`quantity * unit_price`, avec fallback lot
(`lot.line.unit_price * lot.get_current_quantity_converted()`)
- `report_insurance_amount_insured`: `110%` de
`report_insurance_incoming_amount`
- base de travail pour un certificat d'assurance lie a un shipment