跳至內容
選單
此問題已被標幟
3 回覆
8923 瀏覽次數

Hi!

At one of our companies we sell electrical appliances so therefore also cables.

In Austria, we charge a base price for the cable that includes some of the copper or aluminium and other commodities and an extra charge for the commodities that targets the volatility of them.

Is there a way or a module that can calculate the prices like once a week or per day based on the amount of the commodity that is in the cable while we set the commodity price manually or dynamically?

The formula looks something like:
Base price + Amount of the commodity * commodity price

Thanks!

頭像
捨棄
最佳答案

Create a scheduler that runs every week and updates the price of the product based on commodity price / any other parameter for volatility that you use.



頭像
捨棄
最佳答案

Hi,

look at this module - https://apps.odoo.com/apps/modules/11.0/variants_bridge_pricing_numerical/

If amount of commodity is an attribute of the product, it might suit.

頭像
捨棄
作者 最佳答案

 @IT Libertas: Thanks, I'm going to write the developer to see if that works!
In general it maybe should also be possible to hardcode a formula that takes the base price + the amount of the commodity (from an attribute) to multiply it with the commoditiy price - even though I don't know where I should store that price. (Maybe as another product? Like a copper product, an aluminium product and so on)


@vishalratani: Thanks, is it possible to run a recalculation when the price of the commodity changes?

頭像
捨棄

yes that too can be done.

相關帖文 回覆 瀏覽次數 活動
1
2月 21
4139
2
7月 25
878
1
6月 23
242
2
3月 23
2231
1
12月 22
4202