-
-
Notifications
You must be signed in to change notification settings - Fork 413
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
[17.0][MIG] account_payment_widget_amount: Migration to 17.0 #745
base: 17.0
Are you sure you want to change the base?
[17.0][MIG] account_payment_widget_amount: Migration to 17.0 #745
Conversation
- adds tests to the python side
Currently translated at 100.0% (4 of 4 strings) Translation: account-payment-12.0/account-payment-12.0-account_payment_widget_amount Translate-URL: https://translation.odoo-community.org/projects/account-payment-12-0/account-payment-12-0-account_payment_widget_amount/pt/
Currently translated at 100.0% (4 of 4 strings) Translation: account-payment-15.0/account-payment-15.0-account_payment_widget_amount Translate-URL: https://translation.odoo-community.org/projects/account-payment-15-0/account-payment-15-0-account_payment_widget_amount/ca/
Currently translated at 100.0% (4 of 4 strings) Translation: account-payment-15.0/account-payment-15.0-account_payment_widget_amount Translate-URL: https://translation.odoo-community.org/projects/account-payment-15-0/account-payment-15-0-account_payment_widget_amount/pt_BR/
Currently translated at 100.0% (5 of 5 strings) Translation: account-payment-16.0/account-payment-16.0-account_payment_widget_amount Translate-URL: https://translation.odoo-community.org/projects/account-payment-16-0/account-payment-16-0-account_payment_widget_amount/it/
ac994db
to
8432645
Compare
@dc-oerp Sorry, I'm not js specialist. Maybe @pedrobaeza |
Hi @ChrisOForgeFlow @pedrobaeza Could you please check the pre-commit issue in this PR? Thank you |
The error seems clear:
you need to fix that. If the JS code is modern style, you need to rename the file to |
8b3f6d0
to
22dc423
Compare
Hi @pedrobaeza I have fixed the js pre-commit issue and I think this is ready to be merged. Thank you |
/ocabot migration account_payment_widget_amount Well, now it's OK formally. Then there must be reviews: https://github.com/OCA/odoo-community.org/blob/master/website/Contribution/CONTRIBUTING.rst#review |
Hi @pedrobaeza Should I tag somebody to review this? Thank you |
Ping the original contributors of the module, and you can review other PRs and ask in exchange that they review yours. |
Could you please review this PR? Thank you |
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, Functional and code review
43b8894
to
862f9ba
Compare
All comments have been fixed. Thank you |
Would you mind reviewing this commit again, all the comments has been fixed. Thanks |
) | ||
invoice.with_context(paid_amount=100.0).js_assign_outstanding_line( | ||
payment_ml.id | ||
) | ||
self.assertEqual(invoice.amount_residual, 100.0) | ||
self.assertEqual(invoice.amount_residual, 300.0) |
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.
Could you explain all the amounts changes ?
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.
Sorry for the delay,
I have pushed the latest changes to the branch.
The test cases were right, but the code did not give the right result due to some bugs.
I have fixed them all; this should be ready to merge into the production.
Please review again
Thank you
3811e68
to
ce4bbfb
Compare
dcf7e97
to
e19888f
Compare
05f4ff8
to
6503d57
Compare
Migrate account_payment_widget_amount module from 16.0 to 17.0