-
-
Notifications
You must be signed in to change notification settings - Fork 205
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
Conversation
string='RMA Forecasted Quantity' | ||
) | ||
|
||
def _rma_product_template_available(self): |
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 prefer when the compute
methods start by _compute
. I think you have to add a @api.depends()
here.
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.
@guewen
What about create a PR to MT with your guidelines?
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.
Forget it this guideline exists...
Thanks
https://github.com/OCA/maintainer-tools/blob/master/CONTRIBUTING.md#field
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 will add it to pylint-odoo roadmap...
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.
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', |
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 forgot to change version.
3ca8321
to
bd5b268
Compare
# © 2016 Cyril Gaudin (Camptocamp) | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
|
||
from . import test_rma_stock |
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.
Missing EOL
bd5b268
to
dff5d17
Compare
dff5d17
to
bef7826
Compare
@cyrilgdn A little lint issue: |
bef7826
to
9350d34
Compare
|
||
{'name': 'RMA Stock Location', | ||
'version': '1.0', | ||
'version': '9.0.1.0.0', | ||
'author': "Camptocamp,Odoo Community Association (OCA)", |
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.
Could you check the last author from 8.0?. Please
2cca386
to
a794047
Compare
@yaniaular @pedrobaeza PR reworked with V8 modifications! |
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 |
|
771bb8e
to
cb3e87d
Compare
@moylop260 fixed. |
cb3e87d
to
95cf293
Compare
Thanks for the submission @cyrilgdn - would you mind checking out the failing builds please? |
95cf293
to
9ef63fd
Compare
…n for product quantities on hand and forecasted, add unittest, add i18n terms
… correct typos in readme, change usage for created locations loss and refurbished, rename compute method _rma_product_available -> _rma_template_available and get defined with @api.multi decorator
…ntities calculation
9ef63fd
to
c2baa50
Compare
c2baa50
to
4e3baed
Compare
@lasley Build is fixed and green! |
LGTM thanks @cyrilgdn 👍 |
Depends on #86