跳至内容
菜单
此问题已终结
2 回复
243 查看

Hi there!

I have two companies, A and B. Company A has Currency BAM. Company B currency EUR. I have shared products (field company_id is empty). If i create a product from the EUR company, the sales price still shows BAM as currency. Cost shows EUR, but Sales Price BAM.
Why is that? I do not have any custom modules installed. I know I can change sales price on sale orders with pricelists, its only about the currency which is shown in the product form view. Many thanks!
Best regards
Nate

形象
丢弃
最佳答案

Hi,


In Odoo multi-company setups, shared products (with company_id empty) display the sales price (list_price) in the currency of the main company by default. This happens because list_price is not company-dependent, so even if you are in Company B with EUR, the form shows BAM from Company A. On the other hand, the cost (standard_price) is company-dependent, so it correctly reflects EUR for Company B.


This behavior is standard and not a bug. On sale orders, the currency is determined by the order or pricelist, so sales transactions still use the correct currency. To display the sales price in the current company currency on the product form, you can either assign the product to the specific company, manage prices via company-specific pricelists, or implement a computed field that converts list_price to the current company’s currency dynamically.


Hope it helps

形象
丢弃
编写者

Hi! Thanks for the clear and informative answer. How can I change the main company?

编写者

I have found it, its external identifier base.main_company :-)

最佳答案

Hello Nathanael Lee,
The Sales Price is not a company-dependent field in Odoo, it is not reflect the changes based on companies and  the Cost field  is company-dependent, so it stores a separate value for each company.

形象
丢弃