cannot schedule only one project
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
High
|
OpenERP R&D Addons Team 1 |
Bug Description
trunk, project long term
create 2 projects, then, go to scheduling, compute phase scheduling. then, choose the option "Compute a single project" and choose one project. then, click on compute -> BUG
Last revision No. & ID :1762 launchpad_
Traceback (most recent call last):
File "/home/
result = ExportService.
File "/home/
res = fn(db, uid, *params)
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
return self.compute_
File "/home/
project_
File "/home/
project = Task.BalancedPr
File "/home/
_Allocation
File "/home/
self.
File "/home/
task.
File "/home/
c._
File "/home/
self.
File "/home/
self.
File "<string>", line 17, in Phase_4
NameError: global name 'Resource_2' is not defined
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 656 lines (+63/-65)32 files modifiedaccount/account_invoice_view.xml (+2/-2)
account/account_view.xml (+7/-7)
account/partner_view.xml (+1/-1)
account/project/project_view.xml (+1/-1)
account_analytic_default/account_analytic_default_view.xml (+4/-4)
account_analytic_plans/account_analytic_plans_view.xml (+2/-2)
account_budget/account_budget_view.xml (+1/-1)
account_voucher/account_voucher_view.xml (+1/-1)
auction/auction_view.xml (+3/-3)
base_contact/base_contact_view.xml (+1/-1)
crm/crm_phonecall_menu.xml (+1/-1)
crm_claim/crm_claim_view.xml (+1/-1)
event/event_view.xml (+2/-2)
event_project/event_project_view.xml (+1/-1)
fetchmail/fetchmail_view.xml (+1/-2)
hr_contract/hr_contract_view.xml (+1/-1)
hr_evaluation/hr_evaluation_view.xml (+1/-1)
hr_holidays/hr_holidays_view.xml (+1/-1)
hr_payroll/hr_payroll_view.xml (+1/-0)
hr_timesheet_invoice/report/report_analytic_view.xml (+1/-1)
hr_timesheet_sheet/hr_timesheet_sheet_view.xml (+4/-4)
marketing_campaign/marketing_campaign_view.xml (+3/-3)
procurement/procurement_view.xml (+3/-5)
project/project_view.xml (+4/-4)
project_issue/project_issue_menu.xml (+1/-1)
project_messages/project_messages_view.xml (+1/-1)
project_scrum/project_scrum_view.xml (+2/-2)
purchase/purchase_view.xml (+2/-2)
sale/sale_view.xml (+2/-2)
stock/stock_view.xml (+2/-2)
survey/survey_view.xml (+3/-3)
wiki/wiki_view.xml (+2/-2)
- OpenERP Core Team: Pending requested
-
Diff: 417 lines (+75/-73)5 files modifiedproject_long_term/__openerp__.py (+6/-6)
project_long_term/test/project_schedule_consecutive_day.yml (+31/-31)
project_long_term/test/project_schedule_without_wroking_hour.yml (+15/-15)
project_long_term/test/schedule_phase_tasks.yml (+6/-6)
project_long_term/test/test_schedule_phases_case1.yml (+17/-15)
Changed in openobject-addons: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
importance: | Medium → High |
assignee: | nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1) |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | Fix Committed → Fix Released |
Changed in openobject-addons: | |
milestone: | none → 6.0 |
Hello,
This we have fixed this bug and committed to the lp:~openerp-dev/openobject-addons/trunk-dev-addons1-extra, and this bug comes due to invalid resource allocation to the Project and Phases, so we have added proper message.
Thank You.