-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
[14.0] [MIG] account_statement_import_coda #130
[14.0] [MIG] account_statement_import_coda #130
Conversation
The module is a rewrite of l10n_be_coda using the pycoda parser.
Use the Structured Communication as name else use the communication if it's provided else use '/'. If the line is a details line use the communication from the related globalisation as name. The module now depends of l10n_be_coda since the first one is automatically installed when installing l10n_be. The menuitem 'Import Coda File' from l10n_be_coda is however removed to avoid confusion and force the use of the current module
…ote of statement line with the same transaction_ref
The declaration prevents the install of the module if the dependency is not met
…ty constraint with the demo data of l10n_be_coda.
this makes the test more robust (the previous version did not work in presence of account_constraints, and could not be run twice in a row on the same database)
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: l10n-belgium-12.0/l10n-belgium-12.0-account_bank_statement_import_coda Translate-URL: https://translation.odoo-community.org/projects/l10n-belgium-12-0/l10n-belgium-12-0-account_bank_statement_import_coda/
[MIG] account_bank_statement_import_coda: Migration to 13.0 [MIG] account_bank_statement_import_coda: Migration to 13.0 [MIG] account_bank_statement_import_coda: Migration to 13.0 [UPD] Update account_bank_statement_import_coda.pot [UPD] README.rst
…ement_import_coda
Migration of account_bank_statement_import_coda from v13 to v14. Changed the name of the module to follow what was done for account_statement_import. |
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.
LGTM
This PR has the |
@robinkeunen I think we have a PR ready to me merged here |
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.
LGTM
/ocabot merge patch |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at 37202ef. Thanks a lot for contributing to OCA. ❤️ |
if line.transaction_amount_sign == AmountSign.DEBIT: | ||
amount = -amount | ||
return { | ||
"name": self.get_st_line_name(line, globalisation_dict), |
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.
Now that account.bank.statement.line inherit from account.move, you're not supposed to force the "name" in this dict! Otherwise, the move will not have the "name" set by this code instead of having the "name" set by the journal like all the other moves. You should just set "payment_ref".
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.
Hi @alexis-via. I agree with you. A PR was opened several months ago with this fix, but wasn't approved yet. See #139
Btw, a second PR with another fix is here, could you also have a look please? #140
No description provided.