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] account_payment_term_extension: Migration to 11.0 #375

Merged
merged 10 commits into from
May 31, 2018

Conversation

cubells
Copy link
Sponsor Member

@cubells cubells commented Apr 16, 2018

cc @Tecnativa

Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

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

Please squash commits by logical set/author

@@ -58,30 +55,30 @@ msgstr "Nombre mostrado"
#. module: account_payment_term_extension
#: model:ir.ui.view,arch_db:account_payment_term_extension.view_payment_term_line_form
msgid "Due Date Computation"
msgstr ""
msgstr "álculo de fecha de vencimiento"
Copy link
Member

Choose a reason for hiding this comment

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

Missing initial C

@@ -1,29 +1,25 @@
# Translation of Odoo Server.
Copy link
Member

Choose a reason for hiding this comment

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

Remove this file

# Copyright 2013-2016 Camptocamp SA (Yannick Vaucher)
# Copyright 2004-2016 Odoo S.A. (www.odoo.com)
# Copyright 2015-2016 Akretion
# (Alexis de Lattre <alexis.delattre@akretion.com>)
# Copyright 2018 Simone Rubino - Agile Business Group
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).


from functools import reduce
Copy link
Member

Choose a reason for hiding this comment

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

Why this?

Copy link
Sponsor Member Author

Choose a reason for hiding this comment

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

reduce function is used here:
https://github.com/OCA/account-invoicing/pull/375/files#diff-d0188f250f37daab85f1680d28b455ccR198
and in python3 does not exist. We have two solutions, import from functools or replace reduce function by a for loop.
I choose import option.

Copy link
Member

Choose a reason for hiding this comment

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

OK, thanks for the explanations

@cubells cubells force-pushed the 11.0-mig-account_payment_term_extension branch 2 times, most recently from 3f06ab4 to 749b770 Compare April 17, 2018 08:28
@pedrobaeza pedrobaeza requested a review from rafaelbn May 19, 2018 18:36
@pedrobaeza pedrobaeza force-pushed the 11.0-mig-account_payment_term_extension branch from 749b770 to 96e8f18 Compare May 31, 2018 07:35
@pedrobaeza pedrobaeza merged commit dc73e08 into OCA:11.0 May 31, 2018
@pedrobaeza pedrobaeza deleted the 11.0-mig-account_payment_term_extension branch May 31, 2018 07:49
@pedrobaeza pedrobaeza added this to the 11.0 milestone May 31, 2018
@pedrobaeza pedrobaeza mentioned this pull request May 31, 2018
36 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants