-
-
Notifications
You must be signed in to change notification settings - Fork 152
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
[8.0][FIX] Wizard to generate the project #42
Conversation
…displayed when the stage is set to Stakeholder approval (rename to Approved by Stakeholders)
…displayed when the stage is set to Stakeholder approval (rename to Approved by Stakeholders)
Hey @khalidoss, thank you for your Pull Request. It looks like some users haven't signed our Contributor License Agreement, yet.
Appreciation of efforts, |
Please check CLA and Travis status |
@khalidoss can you check the status for travis? |
@elicoidal I signed the CLA in the OCA sprint |
OK thanks! |
@khalidoss I hope you are fine: any news on this PR? |
Please note that UT is failing as Travis said: Here is just a Trace: 2017-02-24 07:34:12,599 5370 ERROR openerp_test openerp.addons.business_requirement_deliverable_project.tests.test_br: ` File "/home/travis/build/OCA/business-requirement/business_requirement_deliverable_project/tests/test_br.py", line 155, in test_wizard_apply 2017-02-24 07:34:12,599 5370 ERROR openerp_test openerp.addons.business_requirement_deliverable_project.tests.test_br: ` action = self.brA.generate_project_wizard() 2017-02-24 07:34:12,599 5370 ERROR openerp_test openerp.addons.business_requirement_deliverable_project.tests.test_br: ` AttributeError: 'business.requirement' object has no attribute 'generate_project_wizard' |
@victormartinelicocorp can you fix it? |
@victormartinelicocorp @sudhir-serpentcs can you check this PR, fix conflict and travis? |
@elicoidal Fixed the conflicts. |
@sudhir-serpentcs Travis still needs some love |
Yeah, test cases failed. We will check and make them working. |
@elicoidal I have fixed the previous error "generate_project_wizard not found for business.requirement model". Now, its throwing some exception from the code. |
@sudhir-serpentcs Have a look on this piece of code:
Means on the Test the BR should be on this states to not raise ValidationError or cc @elicoidal |
@sudhir-serpentcs not sure why but I think is not the main point of this PR. Somehow the name of the states check on the function was not exactly the same as BR main module.
So I guess you think to fix it directly on main module
IMO should be fix here on this module |
@victormartinelicocorp agree with your solution. We will plan for a migration later on as this is not relevant today |
@sudhir-serpentcs can you update the status here so that we can merge? |
@elicoidal I already have made changes as per the review. I don't have anything to update / push. |
@sudhir-serpentcs We should not change the stages name which is currently what you do in this PR. |
@elicoidal If you check the commit history, you will see that I just fixed the conflicts. The stages name were already changed in this PR. |
Yes please. I do not want to trigger a migration for this version. We will do it for v10 as there s currently no code created. |
@sudhir-serpentcs let me know when we can move forward |
@elicoidal Please review. |
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.
@victormartinelicocorp can you have a look on the tests?
Do you mean the UT? LGTM |
OK |
* [FIX]Move when button to generate the project appears. It should get displayed when the stage is set to Stakeholder approval (rename to Approved by Stakeholders) * [FIX]Move when button to generate the project appears. It should get displayed when the stage is set to Stakeholder approval (rename to Approved by Stakeholders) * [Fix] Fix unit test * [IMP] Improved the UT to fix the Travis. * [IMP] Improved UT for increase Code Coverage. * [IMP] Added UT to increase coveralls. * [IMP] Added UT to increase coveralls. * [IMP] Added UT to increase coveralls. * [FIX] stakeholder_approval * [FIX] stakeholder_approval
* [FIX]Move when button to generate the project appears. It should get displayed when the stage is set to Stakeholder approval (rename to Approved by Stakeholders) * [FIX]Move when button to generate the project appears. It should get displayed when the stage is set to Stakeholder approval (rename to Approved by Stakeholders) * [Fix] Fix unit test * [IMP] Improved the UT to fix the Travis. * [IMP] Improved UT for increase Code Coverage. * [IMP] Added UT to increase coveralls. * [IMP] Added UT to increase coveralls. * [IMP] Added UT to increase coveralls. * [FIX] stakeholder_approval * [FIX] stakeholder_approval
* [FIX]Move when button to generate the project appears. It should get displayed when the stage is set to Stakeholder approval (rename to Approved by Stakeholders) * [FIX]Move when button to generate the project appears. It should get displayed when the stage is set to Stakeholder approval (rename to Approved by Stakeholders) * [Fix] Fix unit test * [IMP] Improved the UT to fix the Travis. * [IMP] Improved UT for increase Code Coverage. * [IMP] Added UT to increase coveralls. * [IMP] Added UT to increase coveralls. * [IMP] Added UT to increase coveralls. * [FIX] stakeholder_approval * [FIX] stakeholder_approval
* [FIX]Move when button to generate the project appears. It should get displayed when the stage is set to Stakeholder approval (rename to Approved by Stakeholders) * [FIX]Move when button to generate the project appears. It should get displayed when the stage is set to Stakeholder approval (rename to Approved by Stakeholders) * [Fix] Fix unit test * [IMP] Improved the UT to fix the Travis. * [IMP] Improved UT for increase Code Coverage. * [IMP] Added UT to increase coveralls. * [IMP] Added UT to increase coveralls. * [IMP] Added UT to increase coveralls. * [FIX] stakeholder_approval * [FIX] stakeholder_approval
* [FIX]Move when button to generate the project appears. It should get displayed when the stage is set to Stakeholder approval (rename to Approved by Stakeholders) * [FIX]Move when button to generate the project appears. It should get displayed when the stage is set to Stakeholder approval (rename to Approved by Stakeholders) * [Fix] Fix unit test * [IMP] Improved the UT to fix the Travis. * [IMP] Improved UT for increase Code Coverage. * [IMP] Added UT to increase coveralls. * [IMP] Added UT to increase coveralls. * [IMP] Added UT to increase coveralls. * [FIX] stakeholder_approval * [FIX] stakeholder_approval
* [FIX]Move when button to generate the project appears. It should get displayed when the stage is set to Stakeholder approval (rename to Approved by Stakeholders) * [FIX]Move when button to generate the project appears. It should get displayed when the stage is set to Stakeholder approval (rename to Approved by Stakeholders) * [Fix] Fix unit test * [IMP] Improved the UT to fix the Travis. * [IMP] Improved UT for increase Code Coverage. * [IMP] Added UT to increase coveralls. * [IMP] Added UT to increase coveralls. * [IMP] Added UT to increase coveralls. * [FIX] stakeholder_approval * [FIX] stakeholder_approval
* [FIX]Move when button to generate the project appears. It should get displayed when the stage is set to Stakeholder approval (rename to Approved by Stakeholders) * [FIX]Move when button to generate the project appears. It should get displayed when the stage is set to Stakeholder approval (rename to Approved by Stakeholders) * [Fix] Fix unit test * [IMP] Improved the UT to fix the Travis. * [IMP] Improved UT for increase Code Coverage. * [IMP] Added UT to increase coveralls. * [IMP] Added UT to increase coveralls. * [IMP] Added UT to increase coveralls. * [FIX] stakeholder_approval * [FIX] stakeholder_approval
* [FIX]Move when button to generate the project appears. It should get displayed when the stage is set to Stakeholder approval (rename to Approved by Stakeholders) * [FIX]Move when button to generate the project appears. It should get displayed when the stage is set to Stakeholder approval (rename to Approved by Stakeholders) * [Fix] Fix unit test * [IMP] Improved the UT to fix the Travis. * [IMP] Improved UT for increase Code Coverage. * [IMP] Added UT to increase coveralls. * [IMP] Added UT to increase coveralls. * [IMP] Added UT to increase coveralls. * [FIX] stakeholder_approval * [FIX] stakeholder_approval
* [FIX]Move when button to generate the project appears. It should get displayed when the stage is set to Stakeholder approval (rename to Approved by Stakeholders) * [FIX]Move when button to generate the project appears. It should get displayed when the stage is set to Stakeholder approval (rename to Approved by Stakeholders) * [Fix] Fix unit test * [IMP] Improved the UT to fix the Travis. * [IMP] Improved UT for increase Code Coverage. * [IMP] Added UT to increase coveralls. * [IMP] Added UT to increase coveralls. * [IMP] Added UT to increase coveralls. * [FIX] stakeholder_approval * [FIX] stakeholder_approval
* [FIX]Move when button to generate the project appears. It should get displayed when the stage is set to Stakeholder approval (rename to Approved by Stakeholders) * [FIX]Move when button to generate the project appears. It should get displayed when the stage is set to Stakeholder approval (rename to Approved by Stakeholders) * [Fix] Fix unit test * [IMP] Improved the UT to fix the Travis. * [IMP] Improved UT for increase Code Coverage. * [IMP] Added UT to increase coveralls. * [IMP] Added UT to increase coveralls. * [IMP] Added UT to increase coveralls. * [FIX] stakeholder_approval * [FIX] stakeholder_approval
* [FIX]Move when button to generate the project appears. It should get displayed when the stage is set to Stakeholder approval (rename to Approved by Stakeholders) * [FIX]Move when button to generate the project appears. It should get displayed when the stage is set to Stakeholder approval (rename to Approved by Stakeholders) * [Fix] Fix unit test * [IMP] Improved the UT to fix the Travis. * [IMP] Improved UT for increase Code Coverage. * [IMP] Added UT to increase coveralls. * [IMP] Added UT to increase coveralls. * [IMP] Added UT to increase coveralls. * [FIX] stakeholder_approval * [FIX] stakeholder_approval
[fix Move when button to generate the project appears. It should get displayed when the stage is set to Stakeholder approval (rename to Approved by Stakeholders)