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

crm_rma_stock_location: Migration V9 #87

Merged
merged 10 commits into from
Aug 26, 2016
Merged

Conversation

cyrilgdn
Copy link

@cyrilgdn cyrilgdn commented May 11, 2016

Depends on #86

@cyrilgdn cyrilgdn mentioned this pull request May 11, 2016
10 tasks
string='RMA Forecasted Quantity'
)

def _rma_product_template_available(self):
Copy link
Member

Choose a reason for hiding this comment

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

I prefer when the compute methods start by _compute. I think you have to add a @api.depends() here.

Choose a reason for hiding this comment

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

@guewen
What about create a PR to MT with your guidelines?

Choose a reason for hiding this comment

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

Choose a reason for hiding this comment

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

I will add it to pylint-odoo roadmap...

Choose a reason for hiding this comment

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

@guewen
Copy link
Member

guewen commented May 11, 2016

Great, thanks 👍

##############################################################################
# © 2014-2016 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).


{'name': 'RMA Stock Location',
'version': '1.0',
Copy link
Author

@cyrilgdn cyrilgdn May 11, 2016

Choose a reason for hiding this comment

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

I forgot to change version.

# © 2016 Cyril Gaudin (Camptocamp)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from . import test_rma_stock
Copy link
Member

Choose a reason for hiding this comment

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

Missing EOL

@coveralls
Copy link

coveralls commented May 12, 2016

Coverage Status

Coverage remained the same at 100.0% when pulling dff5d17 on cyrilgdn:crm_rma_stock_location into 2f0b2ff on OCA:9.0.

@coveralls
Copy link

coveralls commented May 12, 2016

Coverage Status

Coverage remained the same at 100.0% when pulling bef7826 on cyrilgdn:crm_rma_stock_location into 2f0b2ff on OCA:9.0.

@yvaucher
Copy link
Member

yvaucher commented May 13, 2016

@cyrilgdn A little lint issue: crm_rma_stock_location/tests/__init__.py:6:1: W391 blank line at end of file

@coveralls
Copy link

coveralls commented May 13, 2016

Coverage Status

Coverage remained the same at 100.0% when pulling 9350d34 on cyrilgdn:crm_rma_stock_location into 2f0b2ff on OCA:9.0.


{'name': 'RMA Stock Location',
'version': '1.0',
'version': '9.0.1.0.0',
'author': "Camptocamp,Odoo Community Association (OCA)",
Copy link
Member

@yaniaular yaniaular May 16, 2016

Choose a reason for hiding this comment

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

Could you check the last author from 8.0?. Please

@cyrilgdn cyrilgdn changed the title crm_rma_stock_location: Migration V9 [WIP] crm_rma_stock_location: Migration V9 May 17, 2016
@cyrilgdn cyrilgdn force-pushed the crm_rma_stock_location branch 2 times, most recently from 2cca386 to a794047 Compare May 19, 2016 10:04
@cyrilgdn cyrilgdn changed the title [WIP] crm_rma_stock_location: Migration V9 crm_rma_stock_location: Migration V9 May 19, 2016
@cyrilgdn
Copy link
Author

@yaniaular @pedrobaeza PR reworked with V8 modifications!

@moylop260
Copy link

Could you help us to fix the new checks?

************* Module crm_rma_stock_location.tests.test_make_picking_from_picking
crm_rma_stock_location/tests/test_make_picking_from_picking.py:120: [W0123(eval-used), TestPickingFromPicking.assert_picking_type] Use of eval
crm_rma_stock_location/tests/test_make_picking_from_picking.py:140: [W0123(eval-used), TestPickingFromPicking.test_03_picking_type_loss] Use of eval

Use safe_eval instead.

@moylop260
Copy link

moylop260 commented May 19, 2016

crm_rma_stock_location/wizards/claim_make_picking_from_picking.py:9:1: F401 '_' imported but unused

https://travis-ci.org/OCA/rma/jobs/131372113#L420

@cyrilgdn cyrilgdn force-pushed the crm_rma_stock_location branch 2 times, most recently from 771bb8e to cb3e87d Compare May 23, 2016 08:02
@cyrilgdn
Copy link
Author

@moylop260 fixed.

@lasley
Copy link

lasley commented Aug 20, 2016

Thanks for the submission @cyrilgdn - would you mind checking out the failing builds please?

@cyrilgdn
Copy link
Author

@lasley Build is fixed and green!

@lasley
Copy link

lasley commented Aug 26, 2016

LGTM thanks @cyrilgdn 👍

@guewen guewen merged commit c5d1f01 into OCA:9.0 Aug 26, 2016
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.

None yet

9 participants