Multi-Currency Module

good day

We have been developing a multi-currency module that is operated to certain limitations, only works for orders to vendor, vendor invoices and payment records.
between the special things he does are:

-Choice of currency used in the supplier price
-Choice of currency used in the purchase order
-Enter the exchange rate or automatically update Internet
-Show what currency is being used in Muscadet PDF
-Show the amount in words depending on the currency used
-Maintain the integrity of the banks as the primary currency is entered to record the purchase

We actually like to return the favor Dolibarr has given us the wonderful system that is. so somehow I would like to contact Laurent Regis or to see if they can implement and maintain on both sides of developers.

Congratulations again to all supporters and developers who make opensource Dolibarr the best system I’ve used.

Best Regards

—I´m sorry if i´m spamming this forum i don´t know where post this—

Wooow
This sounds like being the best news of the day !
Is that working on a 3.2 version ?
Any way to give a try ?

Thanks guys

yes it’s interesting, I had just started multi-currency module that retrieves exchange rates from various suppliers. We could see to merge. Your module changes files from the heart of dolibarr, or is it independent? you work on a github fork?

It’s currently working but have some bugs but it’s fixable, currently this module it’s a modification of some scripts and changes some lines but it’s really simple. let my send you a copy of files for you can test.

Best Regards

Hello,

How can I try your module ? can you send it to me ?

Thanks

Javier, Regis,

For me personally this is the best Dolibarr news I could ever hope for :woohoo:

Me, among others have been begging for multi-currency, and I find it absolutely awesome you have taken the time and effort to give this to Dolibarr and the community.

Looking forward to seeing it implemented!

can i also test it. i’m need to start working on a multi currency module (even that i preferd something in the core of my dolibarr because few clientes of mine usuing multi currency for the same cliente in the same facture - example they can charge one facture in dolar and other facture in pesos and charge them every time with differnte Currency and in the cliente card they want to see both or all the multi curreny sub totals and more) Regis have you think about it??? i know you are working on multi currency for almost a year. so please think for this point.

Great, please send it to me too, it would be extremely important for us in Brasil, especially in import operations.

Rgds
Saxa

If this module gets finished/implemented, Dolibarr is well on its way to world domination! :lol:

A first specification sheet has been wrote on page:
http://wiki.dolibarr.org/index.php/Draft:Multi-Currency

Two methods are available.
The first one "Way of working for a Quick feature called “Multi-currency Light” seems to be complete and ready to be implemented into Dolibarr.
Do you agree with this specification ?

The second one, "Way of working for Complete feature called “Multi-currency Complete”, can’t be implemented yet because there is too many question on how it could works with no answers.

Hi Eldy,

Thank you for your reply!

I’ve read up on the Draft, and Multi-Currency Light sounds like it can do the job as a good workaround until the Complete module has been finished.

Though we need to see it in order to be sure, of course :happy:
So it would be great to see this enabled in the next demo/build, so we can check it out.

Regards

Hello,
Multi-currency management was a nightmare for us as we have to deal everyday with 5 currencies… I’m not a PHP developer but I nevertheless decided to put my hands in the code to get our Dolibarr fitting our need for multi-currency management. The result is working pretty good and clear for us !
For information below is the features list of the job done:

Products/Services:

… list: show the currencies for selling prices and for buying prices

… customers prices: you can select the currency (not yet embedded for multi-prices as we don’t use it !)

… suppliers prices: you can select the currency

… sub-products: improved view for parents and childs products with more detailed information and display provisional profit in your company currency

Third parties:

… you can set the currency on credit notes or absolute discounts (detail list will show the documents in the currency they’ve been done and total is shown in your company currency)

… customer and supplier preview: shows the balance in your company currency

… nothing else special related to multi-currency as we can deal with one third party in various currencies
Proposals / Customer Order / Supplier Order / Customer Invoice /

Supplier Invoice:

… list: show currency information in a column next to ‘Amount (net of tax)’ , then bottom of the list show the total in your company currency

… new proposal: you select in which currency you want to create the proposal, it means that all prices inside the proposal will be considered as being in the same currency as the proposal currency (actually it is working like that for all of the documents that you can create)

… new customer order : automatically gets the currency from the proposal if any

… new invoice automatically gets the currency from the order if any (for customer or supplier)

… anyway currency of any document can be further modified if necessary (i.e. useful if you create a new customer order without prior proposal …)

… PDF automatically display the currency used for the document

… the small form “add new line products/service recorded” shows the currency of each listed item (currency shown is coming from the product customers prices, useful as if you make a proposal in USD so when you add a recorded product you can be sure that the product price is in USD… if not so you still can further update the product price in the proposal line…)

… while ‘do payment’ from customer invoice or supplier invoice : you have to select the right bank account ! And for sure to make payments one by one if the list shows various currencies…

… so… documents are directly generated in the requested final currency as we suppose the payments (inwards or outwards) to be processed to/from a bank account in the said currency… This is the basic idea for this multi-currency version… as we do work like that ! If you work differently so it may not fit your needs.
Bank:

… need to create at least one account for each currency you have to work with (then to affect a currency to each account… )

… list transactions and bank transactions: currency is displayed
for each line, so you can easily check whether or not there was affectation mistake…

… bank transfers: automatically credits the receiving account in it’s own currency (you can still adjust the amount later with ‘reconcile’ feature)

… bank main menu:
…… the balance of each account is shown in the account currency
…… the total for the 3 kinds of accounts (current, cash, savings) is shown in your company currency + 1 grand total information in your company currency

… finally it’s like the multi-currency account service that your bank should provide you with !

Financial (top menu):

… information boxes show the currency for each document, and the amount in the said currency

… you can use MAIN_SHOW_HT_ON_SUMMARY (=1 in Setup/Other) to switch from ‘including VAT’ amounts to ‘net of tax’ amounts information

… total at the bottom of each boxes is shown in your company currency

… customer’s invoices/payments/reporting: the PDF automatically show the currencies

… orders to bill: list shows the currency of each document, total is shown in your company currency

… reporting:
…… income/expense: all figures are shown in your company currency
…… by third party : the list shows amounts in the original currency and the sub-totals and profit information are shown in your company currency
…… turnover, by third party, by user : all are shown in your company currency
…… sales and purchase journal: add the information about currency used for each item
Projects:

… referrers list: show the currency used for each document and display totals in your company currency

Coming next (so far I’m stuck to figure out a solution for modifying the code !):

… bank/cash graphics are regardless of the currencies so outputs are wrong

… commercial/financial: statistics : also regardless of the currencies so outputs are wrong
Not sure that I’ll be able to achieve that (makes me dizzy) but I’ll try to get it right with priority on the statistics

… multi-currency on products multi-prices is not yet finished
General considerations:

… you can use as many currencies as you need, just keep the ones you need activated in the dictionary (disable all others so you’ll get a shorter list when you select in which currency you want to create whatever a proposal or an order or an invoice…) and create the exchange rates in Setup/Other (only admin can update periodically, but no history recorded)

The core is from a regular 3.2.3 Dolibarr version which includes the 3.2.4 bug fixes from the github, as many files from the core and database tables have been modified so I can supply a zip package including everything (actually same as for a standard Dolibarr distribution zip package). The install embed the necessary modifications on the SQL tables… so you can else use it to make a fresh install of 3.2.3~4 multi-currency or upgrade to 3.2.3~4 multi-currency !!)… if you’re already in 3.2.3 or 3.2.4 so select the upgrade anyway and it will generate the necessary extra database fields.

If you’ve already upgraded to 3.3… sorry…

Anyone interested to get this for a reasonable cost, please contact me by email: dlausseur@gmail.com

Regards.

Hi Humphrey,

You’ve done quite a lot of work on the code, from what I read! Awesome job!

Wouldnt it be smart for you to turn this into a paid module? Or maybe get in contact with Eldy, I’m sure he can help you fix any issues that it has.

Thanks for your support!

Hello,

So far issues are on graphics and statistics… but I can live with that for running the daily business, I’ll try to get it fixed later.

Regards.

Hi,

statistics are now working… all results are displayed in the company currency.

Rgds.

Hello,

FYI a demo is available at http://www.odiff.fr/dolibarr-mc

Rgds.

Any news for å public paid version and news regarding 3.3…?

Hi,

No problem if you want this version please contact me by email

This will not be distributed on Dolistore as many core files and database tables are impacted so it can’t be packed as a module.

It’s not available in 3.3 and frankly speaking I didn’t start anything for that yet !

Rgds.

Is this on the roadmap yet?..I could not find any recent mention of it…I have been holding out on my implementation waiting for this feature to be core code and would like a reality check.
Thanks.

Thank you for developing the Multi-Currency Module.
Please let me know - is there a way to display additional currency in .odt template?