ingadhoc/account-financial-tools#854
Created by Camila Vives
Closed
- label
- adhoc-dev:18.0-t-61301-cav
- head
- 51adc7f2153bb7fd9301ddae7b0d97ef2db41ad9
| ingadhoc/account-payment | ingadhoc/account-financial-tools | |
|---|---|---|
| 18.0 | #861 | #854 |
[IMP] account_exchange_difference_invoice: Add demo data
This commit creates demo data for testing exchange rate differences in Odoo invoices for Argentinian companies. It:
-
Sets up exchange rates: Creates USD/ARS rates for today and past 3 months (1300, 1200, 1100, 1000)
-
Creates 3 customer invoices in USD with different amounts and tax combinations:
- Invoice 1: 237.5 USD @ rate 1000
- Invoice 2: 753.5 USD @ rate 1100
- Invoice 3: 121 USD @ rate 1000 (different partner) -
Creates payments at different exchange rates to generate exchange differences:
- Payment 1: 991 USD @ rate 1200 (for invoices 1 & 2)
- Payment 2: 121 USD @ rate 1100 (for invoice 3)