-
-
Notifications
You must be signed in to change notification settings - Fork 150
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
[ADD] business_requirement_deliverable_cost #6
[ADD] business_requirement_deliverable_cost #6
Conversation
…le_cost Improved the README.rst and icon for business_requirement_deliverable_cost.
…pricelist based on customer. and UnitTest regards refactoring. modified: business_requirement_deliverable_cost/models/business.py modified: business_requirement_deliverable_cost/tests/test_br.py modified: business_requirement_deliverable_cost/views/business.xml
@elicoidal also I add button to Update Pricelist so manager can decide if wants to recalculate again. |
1 similar comment
@api.onchange('product_id') | ||
def product_id_change(self): | ||
super(BusinessRequirementResource, self).product_id_change() | ||
unit_price = 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.
do you really need the 2 steps?
1 similar comment
…pricelist based on customer. and UnitTest regards refactoring. modified: business_requirement_deliverable_cost/models/business.py modified: business_requirement_deliverable_cost/tests/test_br.py modified: business_requirement_deliverable_cost/views/business.xml
…not passed. modified: business_requirement_deliverable_cost/__openerp__.py modified: business_requirement_deliverable_cost/models/business.py
4ae9ed7
to
c442ed1
Compare
…UT on specific functions. Fix others comments made by GitHub reviewers. modified: business_requirement_deliverable_cost/models/business.py modified: business_requirement_deliverable_cost/tests/test_br.py
…e Coverall. modified: business_requirement_deliverable_cost/tests/test_br.py
@elicoidal Please review. |
@@ -0,0 +1,60 @@ | |||
<?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.
should be 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.
Not in 8.0
Don't put the same icon as the main one. You can use it that one with a "sub-icon" in one corner representing the specific feature this module adds. |
|
Remove useless introduction from README.rst
…ble_cost 4 business requirement deliverable cost
@gurneyalex Could you help with https://runbot.odoo-community.org/runbot/build/3154238 ? cc @elicoidal |
@victormartinelicocorp I triggered a rebuild after restarting postgresql. ping me if this does not help. |
…nt_deliverable_cost rebase 4 business requirement deliverable cost
@api.multi | ||
@api.depends( | ||
'deliverable_lines' | ||
) |
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 we make this a single line?
@api.multi | ||
@api.depends( | ||
'deliverable_lines' | ||
) |
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.
One line?
Yes: non-blocking but I will work on a set of icon for each of the modules |
…ble_cost 4 business requirement deliverable cost
…itHub regards decorator multi. modified: business_requirement_deliverable_cost/models/business.py modified: business_requirement_deliverable_cost/tests/test_br.py modified: business_requirement_deliverable_cost/views/business.xml
…rds python style. modified: business_requirement_deliverable_cost/models/business.py
@elicoidal @dreispt @pedrobaeza Could review? |
👍 |
@victormartinelicocorp is this one clean to merge? |
Yes @elicoidal |
@dreispt @pedrobaeza can we move forward? |
Merging for the code sprint |
…case-field [IMP]business_requirement: add test case field
Please replace back to openerp (shame)
@elicoidal?
self.ensure_one()
instead the loop.partner_id
?self.ensure_one()
instead the loopsame as above @elicoidal @dreispt ?
This should have a self.ensure_one() instead the loop
ok
Coverage remained the same at 86.218% when pulling d1a8b6b on victormartinelicocorp:4_business_requirement_deliverable_cost into af25af1 on OCA:8.0.
Coverage remained the same at 86.218% when pulling 4ae9ed7 on victormartinelicocorp:4_business_requirement_deliverable_cost into af25af1 on OCA:8.0.
Coverage decreased (-4.4%) to 86.218% when pulling c442ed1 on victormartinelicocorp:4_business_requirement_deliverable_cost into 8442e3f on OCA:8.0.
Coverage decreased (-1.3%) to 89.32% when pulling 9fd81bf on victormartinelicocorp:4_business_requirement_deliverable_cost into 8442e3f on OCA:8.0.
Coverage increased (+3.2%) to 93.851% when pulling f008d91 on victormartinelicocorp:4_business_requirement_deliverable_cost into 8442e3f on OCA:8.0.
Coverage increased (+3.2%) to 93.851% when pulling fd8175e on victormartinelicocorp:4_business_requirement_deliverable_cost into 8442e3f on OCA:8.0.
@dreispt @jbeficent @pedrobaeza Thanks for your help
@elicoidal ?
Coverage increased (+3.4%) to 94.006% when pulling f67d0f7 on victormartinelicocorp:4_business_requirement_deliverable_cost into 8442e3f on OCA:8.0.
Coverage increased (+3.4%) to 94.006% when pulling e5611b3 on victormartinelicocorp:4_business_requirement_deliverable_cost into 8442e3f on OCA:8.0.
status killed.
cc @elicoidal