-
-
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
[MIG]Migrated Business requirement module from 8.0 to 10.0 #223
[MIG]Migrated Business requirement module from 8.0 to 10.0 #223
Conversation
3a4fa78
to
f3a764a
Compare
f3a764a
to
9b9a03e
Compare
@elicoidal @victormartinelicocorp |
714b739
to
4f41722
Compare
@elicoidal Should we keep this open to include demo data from #212 ? |
@victormartinelicocorp We will merge the PR in v8 in short so that we can push forward |
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.
Demo data to be added once merged in v8.
README to be updated.
Functional test to be done
Coverage is low: let's try to bring it up to 90% at least |
Looks like a first good start. Some small issues to be corrected:
|
It is strange: normally changing the stages is done by clicking on the stage itself (latest developments) but it seems that the buttons are back in this version. |
A new request: I want that some of the modules appear as Application in the list:
|
|
|
When I install the modules in v8, I have a pivot view for the "Business Requirement". Maybe it is defined in another module. Please check current Odoo 8 version
Yes there is: please check current Odoo 8 version |
|
Yes: the one for BR should be moved here and the one for deliverable in br_deliverable and the one for cost in brd_cost module |
Yes, I have checked its code in |
@YogeshMahera-SerpentCS Please fix v8 and we will forward port to v10 for the sake of consistency |
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.
Small indentation issues
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
<report | ||
id="business_requirement_report" |
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.
First parameter should be on the same line as the tag
</div> | ||
<div class="oe_right oe_button_box" | ||
name="buttons" groups="base.group_user"> | ||
<button class="oe_inline oe_stat_button" |
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.
Over-indented of 1 space
<notebook> | ||
<page string="Business Requirement"> | ||
<group string="Customer Story"> | ||
<field name="business_requirement" nolabel="1"/> |
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.
All field
tags below are over-indented of 1 space
<form string="Business Requirement"> | ||
<sheet> | ||
<group> | ||
<field name="name"/> |
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.
Over-indented
<field name="priority">20</field> | ||
<field name="arch" type="xml"> | ||
<tree string="Business Requirement"> | ||
<field name="name"/> |
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.
Over-indented
@seb-elico Improved Changes |
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
@YogeshMahera-SerpentCS as is not clear then here is the work expected on UT: Refactor UT from: business_requirement/tests/test_project.py:
Refactor UT from: business_requirement/tests/test_br.py
|
b1472df
to
3e83abd
Compare
@YogeshMahera-SerpentCS let's try to finish it today 😄 |
@elicoidal Yes, I am doing my best. |
9d974fd
to
8c6b15c
Compare
@victormartinelicocorp Can you 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.
Let's move forward. The rest of UT to be improved on the next batch.
@bistaray thanks for reporting: I could not reproduce the error. |
@elicoidal - I pulled the latest version of Odoo 10 Community + Enterprise and re-downloaded the repo. Now I can create a BR without the error. So whatever my issue was, it is gone now. (bistaray -> vcloud9raymond) |
@vcloud9raymond Great! thanks for reporting back |
* [MIG]Migrated Business requirement module from 8.0 to 10.0 * [FIX]Fix Pylint * [IMP]Added new blankline in security file * [IMP]Added Test-Cases for Coverage * [IMP]Added report,improved fields in py and xml * [IMP]Improved code * [IMP] Removed default dimensions from pivot view * [FIX]Fixed Pylint * [IMP]Improved code * [IMP]Improved code * [FIX]Fixed Travis * [IMP]Test-cases Improved * [IMP]Improved view as per OCA standards * [IMP]Improved assert in test-cases * [IMP]-Added assertEqual in test-cases * [IMP]Improved Test-cases * [IMP]Improved Code as per OCA Standard in XML * [IMP/REM]Cover whole BR-code and removed unnecessary test-cases. * [IMP]Cover test-cases default_comany function
* [MIG]Migrated Business requirement module from 8.0 to 10.0 * [FIX]Fix Pylint * [IMP]Added new blankline in security file * [IMP]Added Test-Cases for Coverage * [IMP]Added report,improved fields in py and xml * [IMP]Improved code * [IMP] Removed default dimensions from pivot view * [FIX]Fixed Pylint * [IMP]Improved code * [IMP]Improved code * [FIX]Fixed Travis * [IMP]Test-cases Improved * [IMP]Improved view as per OCA standards * [IMP]Improved assert in test-cases * [IMP]-Added assertEqual in test-cases * [IMP]Improved Test-cases * [IMP]Improved Code as per OCA Standard in XML * [IMP/REM]Cover whole BR-code and removed unnecessary test-cases. * [IMP]Cover test-cases default_comany function
* [MIG]Migrated Business requirement module from 8.0 to 10.0 * [FIX]Fix Pylint * [IMP]Added new blankline in security file * [IMP]Added Test-Cases for Coverage * [IMP]Added report,improved fields in py and xml * [IMP]Improved code * [IMP] Removed default dimensions from pivot view * [FIX]Fixed Pylint * [IMP]Improved code * [IMP]Improved code * [FIX]Fixed Travis * [IMP]Test-cases Improved * [IMP]Improved view as per OCA standards * [IMP]Improved assert in test-cases * [IMP]-Added assertEqual in test-cases * [IMP]Improved Test-cases * [IMP]Improved Code as per OCA Standard in XML * [IMP/REM]Cover whole BR-code and removed unnecessary test-cases. * [IMP]Cover test-cases default_comany function
* [MIG]Migrated Business requirement module from 8.0 to 10.0 * [FIX]Fix Pylint * [IMP]Added new blankline in security file * [IMP]Added Test-Cases for Coverage * [IMP]Added report,improved fields in py and xml * [IMP]Improved code * [IMP] Removed default dimensions from pivot view * [FIX]Fixed Pylint * [IMP]Improved code * [IMP]Improved code * [FIX]Fixed Travis * [IMP]Test-cases Improved * [IMP]Improved view as per OCA standards * [IMP]Improved assert in test-cases * [IMP]-Added assertEqual in test-cases * [IMP]Improved Test-cases * [IMP]Improved Code as per OCA Standard in XML * [IMP/REM]Cover whole BR-code and removed unnecessary test-cases. * [IMP]Cover test-cases default_comany function
* [MIG]Migrated Business requirement module from 8.0 to 10.0 * [FIX]Fix Pylint * [IMP]Added new blankline in security file * [IMP]Added Test-Cases for Coverage * [IMP]Added report,improved fields in py and xml * [IMP]Improved code * [IMP] Removed default dimensions from pivot view * [FIX]Fixed Pylint * [IMP]Improved code * [IMP]Improved code * [FIX]Fixed Travis * [IMP]Test-cases Improved * [IMP]Improved view as per OCA standards * [IMP]Improved assert in test-cases * [IMP]-Added assertEqual in test-cases * [IMP]Improved Test-cases * [IMP]Improved Code as per OCA Standard in XML * [IMP/REM]Cover whole BR-code and removed unnecessary test-cases. * [IMP]Cover test-cases default_comany function
* [MIG]Migrated Business requirement module from 8.0 to 10.0 * [FIX]Fix Pylint * [IMP]Added new blankline in security file * [IMP]Added Test-Cases for Coverage * [IMP]Added report,improved fields in py and xml * [IMP]Improved code * [IMP] Removed default dimensions from pivot view * [FIX]Fixed Pylint * [IMP]Improved code * [IMP]Improved code * [FIX]Fixed Travis * [IMP]Test-cases Improved * [IMP]Improved view as per OCA standards * [IMP]Improved assert in test-cases * [IMP]-Added assertEqual in test-cases * [IMP]Improved Test-cases * [IMP]Improved Code as per OCA Standard in XML * [IMP/REM]Cover whole BR-code and removed unnecessary test-cases. * [IMP]Cover test-cases default_comany function
* [MIG]Migrated Business requirement module from 8.0 to 10.0 * [FIX]Fix Pylint * [IMP]Added new blankline in security file * [IMP]Added Test-Cases for Coverage * [IMP]Added report,improved fields in py and xml * [IMP]Improved code * [IMP] Removed default dimensions from pivot view * [FIX]Fixed Pylint * [IMP]Improved code * [IMP]Improved code * [FIX]Fixed Travis * [IMP]Test-cases Improved * [IMP]Improved view as per OCA standards * [IMP]Improved assert in test-cases * [IMP]-Added assertEqual in test-cases * [IMP]Improved Test-cases * [IMP]Improved Code as per OCA Standard in XML * [IMP/REM]Cover whole BR-code and removed unnecessary test-cases. * [IMP]Cover test-cases default_comany function
* [MIG]Migrated Business requirement module from 8.0 to 10.0 * [FIX]Fix Pylint * [IMP]Added new blankline in security file * [IMP]Added Test-Cases for Coverage * [IMP]Added report,improved fields in py and xml * [IMP]Improved code * [IMP] Removed default dimensions from pivot view * [FIX]Fixed Pylint * [IMP]Improved code * [IMP]Improved code * [FIX]Fixed Travis * [IMP]Test-cases Improved * [IMP]Improved view as per OCA standards * [IMP]Improved assert in test-cases * [IMP]-Added assertEqual in test-cases * [IMP]Improved Test-cases * [IMP]Improved Code as per OCA Standard in XML * [IMP/REM]Cover whole BR-code and removed unnecessary test-cases. * [IMP]Cover test-cases default_comany function
* [MIG]Migrated Business requirement module from 8.0 to 10.0 * [FIX]Fix Pylint * [IMP]Added new blankline in security file * [IMP]Added Test-Cases for Coverage * [IMP]Added report,improved fields in py and xml * [IMP]Improved code * [IMP] Removed default dimensions from pivot view * [FIX]Fixed Pylint * [IMP]Improved code * [IMP]Improved code * [FIX]Fixed Travis * [IMP]Test-cases Improved * [IMP]Improved view as per OCA standards * [IMP]Improved assert in test-cases * [IMP]-Added assertEqual in test-cases * [IMP]Improved Test-cases * [IMP]Improved Code as per OCA Standard in XML * [IMP/REM]Cover whole BR-code and removed unnecessary test-cases. * [IMP]Cover test-cases default_comany function
* [MIG]Migrated Business requirement module from 8.0 to 10.0 * [FIX]Fix Pylint * [IMP]Added new blankline in security file * [IMP]Added Test-Cases for Coverage * [IMP]Added report,improved fields in py and xml * [IMP]Improved code * [IMP] Removed default dimensions from pivot view * [FIX]Fixed Pylint * [IMP]Improved code * [IMP]Improved code * [FIX]Fixed Travis * [IMP]Test-cases Improved * [IMP]Improved view as per OCA standards * [IMP]Improved assert in test-cases * [IMP]-Added assertEqual in test-cases * [IMP]Improved Test-cases * [IMP]Improved Code as per OCA Standard in XML * [IMP/REM]Cover whole BR-code and removed unnecessary test-cases. * [IMP]Cover test-cases default_comany function
#48