DomainError is raised when issuing advance payment on non company's currency
Steps to reproduce:
- Create an advancement term
- Create a sale using the advancement term and a currency different from the company one.
- Confirm the sale
Current behaviour:
- A domain validation error is raised
Expected behaviour:
- The advancament invoice (and its lines) are created using the sale currency.