-
-
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
[IMP][8.0][22070][ISSUE#115]-Modify projects and BR id relationship #192
[IMP][8.0][22070][ISSUE#115]-Modify projects and BR id relationship #192
Conversation
@darshan-serpent thanks for the contribution.
Rest looks good but I still need a test on BR with sub-BR |
Test with Children project are similar to the one with Deliverables Problem while copying:
|
@elicoidal Regarding creating projects from Deliverables. I am not really sure how to create a project from deliverables, can you please describe it in brief?! |
@darshan-serpent What is the situation on this BR? |
@darshan-serpent @sudhir-serpentcs What is the situation here? |
@elicoidal There's still some confusion here, I'll let you know the details soon of current situation. |
…o 8.0-22070-Issue-115-link_with_generated_projects
d84a510
to
b538893
Compare
@elicoidal @victormartinelicocorp |
Small details:
Rest looks OK! |
@victormartinelicocorp |
…veriable from project
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.
Others LGTM
@@ -43,6 +44,22 @@ def generate_projects_wizard(self): | |||
compute='_compute_planned_hour' | |||
) | |||
|
|||
@api.multi | |||
def open_linked_projects(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.
@darshan-serpent This returns type action so the name need to be according:
s/open_linked_projects
r/action_open_linked_projects
) | ||
|
||
@api.multi | ||
def open_linked_br_dl(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.
@darshan-serpent This returns type action so the name need to be according:
s/open_linked_br_dl
r/action_open_linked_br_dl
d58eaaf
to
75c2eec
Compare
@victormartinelicocorp could you please review. |
@YogeshMahera-SerpentCS Can you recheck Travis? |
7e6e85d
to
a605c51
Compare
@elicoidal Travis Green |
@darshan-serpent I still see many issues with smart buttons in Project and the more I think about the more I think this is anyway a mistake create a smart button for this kind of field: it should be a simple m2o field right (for one given project, there could only be one BR, right?) ? If so I would put it below customer in the project form |
@sudhir-serpentcs any feedback on this? |
5082649
to
e7883eb
Compare
@elicoidal Could 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.
@YogeshMahera-SerpentCS LGTM!
@victormartinelicocorp @dreispt @pedrobaeza Thanks for your review |
@api.depends('linked_project', 'deliverable_lines') | ||
def _compute_linked_project_count(self): | ||
for rec in self: | ||
domain = ['|', |
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.
@darshan-serpent @YogeshMahera-SerpentCS Need to understand the exactly purpose of this domain?
This two fields:
business_requirement_id
business_requirement_deliverable_id
As parameters domains means should be fields on the business.requirement
model, right?
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.
thanks @darshan-serpent @sudhir-serpentcs
3db392c
to
bfa65cf
Compare
@elicoidal @seb-elico As you know we could see just the code that changes when it's created a PR. @YogeshMahera-SerpentCS Please it's very important to be sure and understand the scope. So if the topic is Furthermore on wizard for generate projects still exist check and assignations that depends on Others smalls details, that could be quick correct. Now we have and issue #241 and now I have to review the whole code and check whether is new or old modification. |
…CA#192) * [IMP][8.0][22070][ISSUE#115]-Improved code as per changes * [IMP]Improved domain and added copy=False in linked_project * [ADD/IMP]Linked Project with BR and DL with Smartbutton * [IMP]Improved code * [IMP]Count number of linked project in BR,removed count function and veriable from project * [IMP]Improved method name * [FIX]Fix Travis * [IMP]Improved code * [IMP]Improved code * [IMP] Improved method name to field
…CA#192) * [IMP][8.0][22070][ISSUE#115]-Improved code as per changes * [IMP]Improved domain and added copy=False in linked_project * [ADD/IMP]Linked Project with BR and DL with Smartbutton * [IMP]Improved code * [IMP]Count number of linked project in BR,removed count function and veriable from project * [IMP]Improved method name * [FIX]Fix Travis * [IMP]Improved code * [IMP]Improved code * [IMP] Improved method name to field
…CA#192) * [IMP][8.0][22070][ISSUE#115]-Improved code as per changes * [IMP]Improved domain and added copy=False in linked_project * [ADD/IMP]Linked Project with BR and DL with Smartbutton * [IMP]Improved code * [IMP]Count number of linked project in BR,removed count function and veriable from project * [IMP]Improved method name * [FIX]Fix Travis * [IMP]Improved code * [IMP]Improved code * [IMP] Improved method name to field
…CA#192) * [IMP][8.0][22070][ISSUE#115]-Improved code as per changes * [IMP]Improved domain and added copy=False in linked_project * [ADD/IMP]Linked Project with BR and DL with Smartbutton * [IMP]Improved code * [IMP]Count number of linked project in BR,removed count function and veriable from project * [IMP]Improved method name * [FIX]Fix Travis * [IMP]Improved code * [IMP]Improved code * [IMP] Improved method name to field
…CA#192) * [IMP][8.0][22070][ISSUE#115]-Improved code as per changes * [IMP]Improved domain and added copy=False in linked_project * [ADD/IMP]Linked Project with BR and DL with Smartbutton * [IMP]Improved code * [IMP]Count number of linked project in BR,removed count function and veriable from project * [IMP]Improved method name * [FIX]Fix Travis * [IMP]Improved code * [IMP]Improved code * [IMP] Improved method name to field
…CA#192) * [IMP][8.0][22070][ISSUE#115]-Improved code as per changes * [IMP]Improved domain and added copy=False in linked_project * [ADD/IMP]Linked Project with BR and DL with Smartbutton * [IMP]Improved code * [IMP]Count number of linked project in BR,removed count function and veriable from project * [IMP]Improved method name * [FIX]Fix Travis * [IMP]Improved code * [IMP]Improved code * [IMP] Improved method name to field
…CA#192) * [IMP][8.0][22070][ISSUE#115]-Improved code as per changes * [IMP]Improved domain and added copy=False in linked_project * [ADD/IMP]Linked Project with BR and DL with Smartbutton * [IMP]Improved code * [IMP]Count number of linked project in BR,removed count function and veriable from project * [IMP]Improved method name * [FIX]Fix Travis * [IMP]Improved code * [IMP]Improved code * [IMP] Improved method name to field
…CA#192) * [IMP][8.0][22070][ISSUE#115]-Improved code as per changes * [IMP]Improved domain and added copy=False in linked_project * [ADD/IMP]Linked Project with BR and DL with Smartbutton * [IMP]Improved code * [IMP]Count number of linked project in BR,removed count function and veriable from project * [IMP]Improved method name * [FIX]Fix Travis * [IMP]Improved code * [IMP]Improved code * [IMP] Improved method name to field
…CA#192) * [IMP][8.0][22070][ISSUE#115]-Improved code as per changes * [IMP]Improved domain and added copy=False in linked_project * [ADD/IMP]Linked Project with BR and DL with Smartbutton * [IMP]Improved code * [IMP]Count number of linked project in BR,removed count function and veriable from project * [IMP]Improved method name * [FIX]Fix Travis * [IMP]Improved code * [IMP]Improved code * [IMP] Improved method name to field
…CA#192) * [IMP][8.0][22070][ISSUE#115]-Improved code as per changes * [IMP]Improved domain and added copy=False in linked_project * [ADD/IMP]Linked Project with BR and DL with Smartbutton * [IMP]Improved code * [IMP]Count number of linked project in BR,removed count function and veriable from project * [IMP]Improved method name * [FIX]Fix Travis * [IMP]Improved code * [IMP]Improved code * [IMP] Improved method name to field
…CA#192) * [IMP][8.0][22070][ISSUE#115]-Improved code as per changes * [IMP]Improved domain and added copy=False in linked_project * [ADD/IMP]Linked Project with BR and DL with Smartbutton * [IMP]Improved code * [IMP]Count number of linked project in BR,removed count function and veriable from project * [IMP]Improved method name * [FIX]Fix Travis * [IMP]Improved code * [IMP]Improved code * [IMP] Improved method name to field
Issue #115
Added Smart button Linked Project.
Added two fields business_requirement_id and business_requirement_deliverable_id in project.project.
Make invisible linked_project field form BR.
Made read-only field for_br while generated projects wizard is open.
@seb-elico @elicoidal @victormartinelicocorp