Skip to content
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

[13.0][ADD] account_bank_statement_import_oca_camt54: #246

Merged

Conversation

i-vyshnevska
Copy link
Member

@i-vyshnevska i-vyshnevska commented Jan 8, 2020

extension logic for account_bank_statement_import_camt_oca

UPD addon to create aditional line in statement account_bank_statement_import_transfer_move

@i-vyshnevska i-vyshnevska force-pushed the 13-account_bank_statement_import_camt54 branch from 8ee8615 to c179bb9 Compare February 5, 2020 08:29
extension logic for account_bank_statement_import_camt_oca
@i-vyshnevska i-vyshnevska force-pushed the 13-account_bank_statement_import_camt54 branch from f91db70 to 520fde7 Compare February 5, 2020 10:11
@i-vyshnevska i-vyshnevska changed the title [13.0][ADD] account_bank_statement_import_oca_camt54: [NOMERGE][13.0][ADD] account_bank_statement_import_oca_camt54: Feb 5, 2020
@i-vyshnevska i-vyshnevska changed the title [NOMERGE][13.0][ADD] account_bank_statement_import_oca_camt54: [13.0][ADD] account_bank_statement_import_oca_camt54: Feb 6, 2020
@i-vyshnevska i-vyshnevska force-pushed the 13-account_bank_statement_import_camt54 branch 2 times, most recently from bed1ba5 to d9cd8c2 Compare February 7, 2020 11:14
@i-vyshnevska i-vyshnevska force-pushed the 13-account_bank_statement_import_camt54 branch from d9cd8c2 to 41a531a Compare February 7, 2020 11:40
@fclementic2c
Copy link
Member

functional test ok

Copy link

@Tonow-c2c Tonow-c2c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just code review

def _complete_stmts_vals(self, stmts_vals, journal, account_number):
"""Search partner from partner reference"""
stmts_vals = super()._complete_stmts_vals(stmts_vals, journal, account_number)
for st_vals in stmts_vals:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can't do a mapped() ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really how it can be optimized
stmts_vals will be returned as a result eventually and this is just dict not orm model

found_node = node.xpath(xpath_expr, namespaces={"ns": ns})
if found_node:
name = found_node[0].text
break

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you just comment this with functional explanation

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@simahawk
Copy link

simahawk commented Feb 7, 2020

/ocabot merge

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 13.0-ocabot-merge-pr-246-by-simahawk-bump-no, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Feb 7, 2020
Signed-off-by simahawk
@OCA-git-bot OCA-git-bot merged commit 41a531a into OCA:13.0 Feb 7, 2020
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 01c4592. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants