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
[IMP] Ecuadorian Localization #75055
Conversation
@jco-odoo ping |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of things to talk about.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we leave out l10n_ec_extra_tax for the moment (and add it later on after the freeze) A lot to handle still...
cefd9ed
to
0c8aeec
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you still check?
@jco-odoo Maybe can this method has an issue odoo/addons/l10n_cl/models/account_move.py Lines 117 to 119 in a8e6b57
I'm not sure but in this case we are asking for company, when journals already has company |
Check this lines odoo/addons/l10n_cl/demo/account_demo.py Lines 29 to 41 in 33476a4
It should ask if is a cl company to change latam_document_type, this is changing in ec document type, and make issue, this commit should change this behavior? |
79aedad
to
ecd949a
Compare
@@ -251,6 +253,65 @@ def check_vat_ch(self, vat): | |||
return check == int(num[8]) | |||
return False | |||
|
|||
def _checksum_ci_ec(self, number): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why would you need to copy all the validation code from stdnum
? it's a dependency, you can call it. There are even handy shortcuts:
stdnum.util.get_cc_module("ec", "ci")
stdnum.util.get_cc_module("ec", "ruc")
PS: please never copy code without giving attribution, copyright and license, that's not nice (and it violates the original license, copyright law, and the Odoo CLA) ;)
@@ -0,0 +1,11 @@ | |||
Ecuador, 2021-08-20 | |||
|
|||
I hereby agree to the terms of the Odoo Individual Contributor License |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems your company has already signed the Corporate CLA, so unless you own the copyright to this code personally, your name should be added instead in the contributors for your organization:
https://github.com/odoo/odoo/blob/master/doc/cla/corporate/opa-consulting.md
The CLA implies that you are granting a license to all code you contribute, so you must be the copyright owner. In many companies and countries, employment contracts have a clause where the copyright of the works employees produce for the company (including code) belongs to the company. You may need to double-check that :)
Staging failed: ci/runbot on 848be48463e7732cdd412c68644684900f8eb86e (view more at http://runbot.odoo.com/runbot/build/9780752) |
@robodoo retry |
- Added own implementation, for CI and RUC Validation Part-of: #75055
- Chart of Account based on IFRS - Validation for RUCs and CI for Ecuadorian VAT - Taxes and Groups - minimum - Initial Structure for 103 and 104 Reports to SRI - Entity, Point of Emission, address of emission, and type of emission added to journal - SRI payment methods, used on EDI Process - Ecuadorian Banks data - Latam Identification Types - Latam Document Types Related closes #75055 Signed-off-by: Josse Colpaert <jco@openerp.com>
- Chart of Account based on IFRS - Validation for RUCs and CI for Ecuadorian VAT - Taxes and Groups - minimum - Initial Structure for 103 and 104 Reports to SRI - Entity, Point of Emission, address of emission, and type of emission added to journal - SRI payment methods, used on EDI Process - Ecuadorian Banks data - Latam Identification Types - Latam Document Types Related
@robodoo r+ |
Can you please avoid such random retry/push/r+ in freeze period? You just cancelled an almost merged batch. |
- Added own implementation, for CI and RUC Validation Part-of: #75055
- Chart of Account based on IFRS - Validation for RUCs and CI for Ecuadorian VAT - Taxes and Groups - minimum - Initial Structure for 103 and 104 Reports to SRI - Entity, Point of Emission, address of emission, and type of emission added to journal - SRI payment methods, used on EDI Process - Ecuadorian Banks data - Latam Identification Types - Latam Document Types Related closes #75055 Signed-off-by: Josse Colpaert <jco@openerp.com>
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr