odoo/enterprise#57639
Created by Bugfix, Youssef Bashandy (yoba)
Merged
at 2a73cd04ecaa7db3aeb84821499d806bcac81496
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: Contact runbot team on discord for help.
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- ci/l10n: (runtime 1486s)
Linked pull requests
- label
- odoo-dev:16.0-opw-3734743-different_values_fleet_services-yoba
- head
- b4ddef0414c1cdb719a2f14e5f68fff21766b142
- merged
- 2 years ago by Bugfix, Youssef Bashandy (yoba)
| odoo/odoo | odoo/enterprise | |
|---|---|---|
| 16.0 | #155632 | #57639 |
| saas-16.3 | #163128 | #61359 |
| saas-16.4 | #163203 | #61397 |
| 17.0 | #163228 | #61408 |
| saas-17.1 | #163258 | #61422 |
| saas-17.2 | #163273 | #61427 |
| 18.0 | ||
| saas-18.2 | ||
| saas-18.3 | ||
| saas-18.4 | ||
| 19.0 | ||
| saas-19.1 | ||
| saas-19.2 | ||
| saas-19.3 | ||
| master | #163440 | #61495 |
[FIX] account_asset_fleet : store the correct cost value in fleet service
Steps to reproduce:
1- Install Accounting, Fleet modules
2- Create a bill in accounting with a different currency than the company's default, and add a line with a chosen vehicle_id.
3- Go to the chosen vehicle in Fleet module
4- Navigate to the service created for this bill
Current behavior before PR:
If we create a bill for a vehicle using a different currency than the company's default. The fleet service that will be created will be having the company's currency but the value will be the amount in the currency used in the bill
Desired behavior after PR is merged:
We now create the fleet service using the value in debit not the unit price or the price subtotal.