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

[MIG] contract_payment_mode: Migration to 11.0 #164

Merged
merged 13 commits into from
Jun 21, 2018

Conversation

cubells
Copy link
Member

@cubells cubells commented May 17, 2018

@cubells cubells force-pushed the 11.0-mig-contract_payment_mode branch from 089b845 to 9993b20 Compare May 17, 2018 13:12
@@ -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>
Copy link
Member

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>
Copy link
Member

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

@pedrobaeza pedrobaeza added this to the 11.0 milestone May 17, 2018
@pedrobaeza pedrobaeza mentioned this pull request May 17, 2018
8 tasks
@cubells cubells force-pushed the 11.0-mig-contract_payment_mode branch from 9993b20 to 6867489 Compare May 24, 2018 09:20

@api.onchange('partner_id')
def on_change_partner_id(self):
if self.partner_id.customer_payment_mode_id:
Copy link
Contributor

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"?>
Copy link
Contributor

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

@cubells cubells force-pushed the 11.0-mig-contract_payment_mode branch from 6867489 to f072447 Compare June 13, 2018 14:43
@cubells
Copy link
Member Author

cubells commented Jun 13, 2018

@sergio-teruel @rafaelbn done!

Copy link
Member

@rafaelbn rafaelbn left a 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 👍

@pedrobaeza pedrobaeza merged commit 5e23baf into OCA:11.0 Jun 21, 2018
@pedrobaeza pedrobaeza deleted the 11.0-mig-contract_payment_mode branch June 21, 2018 17:04
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.