Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Re: Module to allow bigger/smaller rate into OCA (account-financial-tools)
by
Eska Yazilim, Levent Karakaş
Kitti,
We have gone pass through a similar challange and let me explain how we handled it in v8. (Currency rate in v9+ is another story)But this lead conversion problems due to precision. (if y = 1/x then x <> 1/y)
Let me know if this could be a solution in your case.
2017-05-11 9:38 GMT+03:00 Kitti Upariphutthiphong <kittiu@ecosoft.co.th>:
Hello contributors,I want to discuss on a needed module for country with small currency like us. The feature to allow input bigger / smaller currency rate.(1) Bigger/Smaller Rate --> https://github.com/OCA/account-financial-tools/ issues/476 Form the discussion with some members, we also find out that the similar feature is already PR here,(2) Inverted Rate --> https://github.com/OCA/account-financial-tools/pull/ 337 Summary on the discussion,(2) is simple, we also like, but it seem to have conflict with other addons, i..e, currency_rate_update (don't know rate may be inverted), so the update value can be invalid for some currency.
- The (1) and (2) has different approach.
- (1) is more comlex, it introduce a new "rate_input" field, which converted into correct standard "rate" field as used by Odoo and other addons.
- (2) is more simple approached, it use 1/rate when inverted.
(1) will not have this problem, as the rate already the converted one.But there is a good advice that, we can do a glue module between #2 and currency_rate_update which will solve this problem. But then, another question is, it can still have problem with other future module which also use this field ??Both will work for me, but to proceed, I like to get some suggestion from members first. I can either1) Help on (2), by adding the glue module.2) Do new PR as in approach (1)Kitti______________________________
_________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
Reference
-
Module to allow bigger/smaller rate into OCA (account-financial-tools)
byEcosoft Co. Ltd., Kitti Upariphutthiphong-
Re: Module to allow bigger/smaller rate into OCA (account-financial-tools)
byEcosoft Co. Ltd., Kitti Upariphutthiphong -
Re: Module to allow bigger/smaller rate into OCA (account-financial-tools)
byEska Yazilim, Levent Karakaş
-