-
-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[16.0] payroll_account support in hr_payslip.py for multicurrency #167
Comments
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
@pleirb Hello, i just see this issue, didn't see it before. I tend to be more aligned to have the payslips in company currency since it's not a common case to have payslips in more than one currency. But if you want to submit a PR proposing your change we can review it in detail. |
At some point I will be able to concentrate on this, surely at the beginning of winter (perhaps from August) I am currently very busy. I think there are advances regarding the multi-currency landscape that could be taken advantage of. In Uruguay, for example, it is very common to have the dollar as the base currency for both purchases and sales, but the payment of salaries must be in national currency (pesos). I suppose this scenario is recurrent in other countries. |
Hi everybody how are you?
What do you think or what is suggested to be done if the payroll has to be generated not in base currency?
Currently in the action_payslip_done method the value of the currency is obtained in this way:
Reference:
payroll/payroll_account/models/hr_payslip.py
Line 61 in d0196f8
It wouldn't be more real if you obtained the currency in this way?:
Of course, for this it would be necessary to have the following module installed, which is still under review in version 17.0: hr_contract_currency
On the other hand, the values of currency_id and amount_currency would have to be loaded into the debit and credit lines and then perform the corresponding reconciliation.
I am not an expert programmer or accountant but I have carried out some tests in a local development environment (in version 16.0) also using two old modules in version 8.0 of Odoo developed by ClearCorp that I migrated to version 16.0 and thus be able to contemplate this multi-currency scenario:
hr_payroll_multicurrency
This module was written to extend the functionality of payroll to support multi-currency
hr_payroll_account_multicurrency
This module was written to extend the functionality of payroll to create journal items in multi-currency
Basically I would like to know from the main people in charge of this repository if there are intentions to incorporate multi-currency support for payrolls and if not, receive an option on the path I am following to know if it is worth contributing to what I am doing. and that others can collaborate so that this functionality is present in version 16 and later
From already thank you very much
The text was updated successfully, but these errors were encountered: