-
-
Notifications
You must be signed in to change notification settings - Fork 485
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
[9.0][MIG] quality_control #198
Conversation
103f1b6
to
374ba42
Compare
374ba42
to
6d262f5
Compare
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.
LGTM 👍
But I think some of the previous commits could be squashed.
Cherry-picked fix done in #205 |
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.
Code review
# -*- coding: utf-8 -*- | ||
############################################################################## | ||
# For copyright and license notices, see __openerp__.py file in root directory | ||
############################################################################## |
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.
Change into short header
quality_control/wizard/__init__.py
Outdated
# -*- encoding: utf-8 -*- | ||
############################################################################## | ||
# For copyright and license notices, see __openerp__.py file in root directory | ||
############################################################################## |
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.
Change into short header
# -*- coding: utf-8 -*- | ||
############################################################################## | ||
# For copyright and license notices, see __openerp__.py file in root directory | ||
############################################################################## |
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.
Change into short header
quality_control/models/qc_trigger.py
Outdated
# -*- coding: utf-8 -*- | ||
############################################################################## | ||
# For copyright and license notices, see __openerp__.py file in root directory | ||
############################################################################## |
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.
Change into short header
# -*- coding: utf-8 -*- | ||
############################################################################## | ||
# For copyright and license notices, see __openerp__.py file in root directory | ||
############################################################################## |
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.
Change into short header
# -*- coding: utf-8 -*- | ||
############################################################################## | ||
# For copyright and license notices, see __openerp__.py file in root directory | ||
############################################################################## |
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.
Change into short header
# -*- coding: utf-8 -*- | ||
############################################################################## | ||
# For copyright and license notices, see __openerp__.py file in root directory | ||
############################################################################## |
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.
Change into short header
# -*- coding: utf-8 -*- | ||
############################################################################## | ||
# For copyright and license notices, see __openerp__.py file in root directory | ||
############################################################################## |
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.
Change into short header
quality_control/models/__init__.py
Outdated
# -*- encoding: utf-8 -*- | ||
############################################################################## | ||
# For copyright and license notices, see __openerp__.py file in root directory | ||
############################################################################## |
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.
Change into short header
quality_control/__init__.py
Outdated
# -*- coding: utf-8 -*- | ||
############################################################################## | ||
# For copyright and license notices, see __openerp__.py file in root directory | ||
############################################################################## |
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.
Change into short header
Open PRs in v8: |
784cce1
to
e12fbd6
Compare
@andhit-r Is this ok for you now? could you update your review? |
@andhit-r ping |
@OCA/manufacturing-maintainers can we get an update on this? |
Hi, on creation of the Test Categories there there is an error that tries to compute the name but as It's a new record, the value is still false: File "/mnt/extra-addons/manufacture/quality_control/models/qc_test_category.py", line 23, in _get_complete_name Replacing: Solves the issue. Daniel. |
Hi, I already fixed it and added some minor changes that I needed to test the module. I made a PR with the changes: Also, could you please explain the logic of triggers on the readme, I coudn't find a way to make triggers work. Thanks a lot. |
Hi @damendieta First of all: thanks for your review! Regarding the bug you reported, it is already being fixed in v8 and waiting to be ported to this PR after its merge, as noted here: #198 (comment). Please review that PR (#193) in order to move forward. About the qc triggers, let me clarify that to make use of them you need either quality_control_mrp or quality_control_stock modules. However, they still need to be migrated to v9. Your help would be appreciated 😉 |
@lreficent ok, I approved the PR #193, what else do we need for it to get merged? |
@damendieta fix from #193 added. Now you can review this PR and approve it if everything is ok for you. |
@lreficent hi, could you check commits like e6d8961 with no message and unrecognised author? |
Hi @eLBati It looks like "alfredo" has changed either his github email or name and that's why the author is unrecognized, however I don't know his current github account (If someone could point it to me I'll change the commit author accordingly). Regarding the squashing, I've already squashed consecutive transifex commits, I don't know if I can squash further since I'm not the author of any of the previous versions commits. |
Maybe @oihane or @pedrobaeza know about his account? |
Alfredo de la Fuente's github user is alfredoavanzosc |
…ondelete="cascade" * required changes
Making it a regular field, you can put any manual quantity in inspections
…if it is autogenerated
`TestQualityControl` is failing on `QcTestTemplateCatergory._get_complete_name` when `name` is set as `False`.
c3f8d94
to
00f2af7
Compare
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.
Just a remark
@@ -0,0 +1,24 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<openerp> |
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.
Please use odoo
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.
Done, Thanks!
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.
Just code review, looks good
@SimoRubi Hi, please use the option to approve when submitting the review: |
@damendieta If you are ok with this we can merge it I think |
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.
Code review, looks good
Continue the works started in #100.