-
-
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
[9.0][ADD] Migrated business_requirement_deliverable_cost module from v8 to v9 #30
[9.0][ADD] Migrated business_requirement_deliverable_cost module from v8 to v9 #30
Conversation
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 update the README in separate file
Introduction | ||
============ | ||
|
||
This module is part of a set of modules (`Business Requirements <https://github.com/OCA/business-requirement/blob/8.0/README.md>`_) |
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.
9.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.
👍
Small details
@pedrobaeza @moylop260 @mmalorni
"business_requirement_deliverable", | ||
], | ||
'image': [ | ||
'static/description/icon.png', |
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.
add icon image
…erable_categ Cleansed the README+__openerp__.py
…o 9.0-migrate_business_requirement_deliverable_cost
Rebased the PR. |
br_id = False | ||
if self.business_requirement_deliverable_id: | ||
br_deliverable = self.business_requirement_deliverable_id | ||
if br_deliverable and br_deliverable.business_requirement_id: |
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 apply the same fix that was made for V8 in https://github.com/OCA/business-requirement/pull/66/files
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.
@sudhir-serpentcs Can you attend @astirpe recommendation so that we can merge cleanly?
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.
@astirpe @elicoidal Done
@astirpe @sudhir-serpentcs can we merge this one? |
I think yes. We can merge it. |
With commit 6ebfc4b the method |
agree with @astirpe indeed. |
@elicoidal @astirpe Replaced the _get_partner() method by related partner_id 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.
small details then we can move forward
for resource in self: | ||
resource.sale_price_total = resource.sale_price_unit * resource.qty | ||
|
||
# @api.multi |
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 remove dead codes
|
||
<record id="group_business_requirement_estimation" model="res.groups"> | ||
<field name="name">Business Requirement Estimation</field> | ||
<field name="implied_ids" eval="[(4, ref('business_requirement.group_business_requirement_user'))]"/> |
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.
Can you improve the format of the lines for readibility?
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.
For me is OK to merge, after the removal of dead code ...
@elicoidal @astirpe Removed dead code and improved security xml. |
WIP until #25 and #26 is merged
Migrated business_requirement_deliverable_cost module from v8 to v9.
WIP: Clean up of unit test cases.
@dreispt @pedrobaeza @jbeficent @moylop260 Please review.