-
-
Notifications
You must be signed in to change notification settings - Fork 603
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
[MIG] [16.0] pos_payment_change #929
[MIG] [16.0] pos_payment_change #929
Conversation
- Black python code - OCA Convention - Add tests - add configuration on pos.config, with two option 'refund' or 'update' - The 'refund' option makes the module compatible with (French) certification - make the module compatible with pos_order_return
…on PoS Order(s) to know the history of the payments
…ontrol ; [ADD] display old payment lines
Currently translated at 100.0% (31 of 31 strings) Translation: pos-12.0/pos-12.0-pos_payment_change Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_payment_change/es/
add new line Pylint fix pylint
Currently translated at 100.0% (33 of 33 strings) Translation: pos-12.0/pos-12.0-pos_payment_change Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_payment_change/es/
Currently translated at 100.0% (33 of 33 strings) Translation: pos-12.0/pos-12.0-pos_payment_change Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_payment_change/de/
A cash payment method must have a cash journal.
40eed6f
to
d30d774
Compare
dea747e
to
16a66fa
Compare
/ocabot migration pos_payment_change |
c4582f7
to
bfd1971
Compare
Hi @julenfl , I'm interested in migrating this module too, do you know when you will continue/finish working on this ? I can take it from here if this fits you. I've done a quick test and noticed the following:
|
[FIX] use float_compare to compare floats
First I apologize for not answering you. I have already accepted your PR, now I am working hard with other migrations. If you want you can continue with the migration, I can accept the PR or do it as you want. thanks |
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.
Functional test OK
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.
Code review LGTM
@legalsylvain can you merge it, thanks |
<field name="amount_total" invisible="1" /> | ||
<field name="old_line_ids" colspan="4"> | ||
<tree> | ||
<field name="old_payment_method_id" /> |
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.
<field name="old_payment_method_id" /> | |
<field name="old_payment_method_id" widget="selection"/> |
that should do the job, regarding @victor-champonnois remarks.
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.
I have added the changes that you have requested in the PR, thanks
<tree editable="bottom"> | ||
<field | ||
name="new_payment_method_id" | ||
options="{'no_open': True, 'no_create_edit': True}" |
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.
options="{'no_open': True, 'no_create_edit': True}" | |
widget="selection" |
same here I guess. Don't you think ?
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.
I have added the changes that you have requested in the PR, thanks
c6aa9df
to
d0cf40e
Compare
This PR has the |
1 similar comment
This PR has the |
d0cf40e
to
82e3147
Compare
/ocabot merge nobump Thanks for your contribution. |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at 41c1d71. Thanks a lot for contributing to OCA. ❤️ |
PR for migration from v15.0 to v16.0
related task: #849