To set a sale price in a different currency for two companies in Odoo v16, you can follow these steps:
Create the product "X" in both companies A and B.
Set the default currency for company A as AED, and for company B as KWD.
Set the price of product "X" in company A as AED. This price will be automatically converted to KWD based on the exchange rate set in the system.
Set the price of product "X" in company B as KWD. This price will be automatically converted to AED based on the exchange rate set in the system.
If you cannot use the same barcode for the same product in company B, you can create a new product with a new barcode in company B and link it to the original product in the system. To do this, go to the product form view, click on the "More" button and select "Create Variant". Then, select "Duplicate" to create a new variant with a new barcode.
Set the price of the new variant in company B as KWD, and Odoo will automatically convert it to AED based on the exchange rate set in the system.
You can track the sales and inventory of both products separately using their unique identifiers, such as product code or SKU.
Note: To set up exchange rates in Odoo, go to Accounting > Configuration > Currencies, and click on the "Update Rates" button to update the exchange rates from the internet. You can also set up manual exchange rates if needed.