-
-
Notifications
You must be signed in to change notification settings - Fork 526
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] contract_payment_mode: Migration to 11.0 #164
[MIG] contract_payment_mode: Migration to 11.0 #164
Conversation
* Copy partner payment mode to contracts when installing * Filter payment modes for sales * Adding tests
in recurring invoice
089b845
to
9993b20
Compare
contract_payment_mode/README.rst
Outdated
@@ -51,6 +51,7 @@ Contributors | |||
* Vicent Cubells <vicent.cubells@tecnativa.com> | |||
* David Vidal <david.vidal@tecnativa.com> | |||
* Carlos Dauden <carlos.dauden@tecnativa.com> | |||
* Vicent Cubells <vicent.cubells@tecnativa.com> |
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.
You are already on the list
# Copyright 2015 Domatix (<www.domatix.com>) | ||
# Copyright 2016 Antiun Ingenieria S.L. - Antonio Espinosa | ||
# Copyright 2017 Tecnativa - Vicent Cubells | ||
# Copyright 2017 Tecnativa - David Vidal | ||
# Copyright 2017 Tecnativa - Carlos Dauden <carlos.dauden@tecnativa.com> | ||
# Copyright 2018 Tecnativa - Vicent Cubells <vicent.cubells@tecnativa.com> |
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.
Don't duplicate lines, but move your line to the bottom and put the year intervals
9993b20
to
6867489
Compare
|
||
@api.onchange('partner_id') | ||
def on_change_partner_id(self): | ||
if self.partner_id.customer_payment_mode_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.
Remove condition, if contract has a payment_mode and now the new customer selected has not one, the contract payyment_mode must be False
@@ -0,0 +1,39 @@ | |||
<?xml version="1.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.
Add missed tag utf-8
6867489
to
f072447
Compare
@sergio-teruel @rafaelbn done! |
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.
@sergio-teruel @pedrobaeza your comments have been attended.
Tested functionally 👍
cc @Tecnativa