Skip to content

Commit

Permalink
[IMP] project_budget: increase tests
Browse files Browse the repository at this point in the history
  • Loading branch information
oihane committed Oct 17, 2018
1 parent 6b5d399 commit c9a9328
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion project_budget/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{
"name": "Project Bugdet",
"version": "11.0.3.0.0",
"version": "11.0.3.1.0",
"category": "Custom Module",
"license": "AGPL-3",
"author": "AvanzOSC",
Expand Down
2 changes: 1 addition & 1 deletion project_budget/i18n/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ msgstr "Presupuesto"
#. module: project_budget
#: model:ir.model.fields,field_description:project_budget.field_crossovered_budget_lines_budget_active
msgid "Budget Active"
msgstr "Budget Active"
msgstr "Presupuesto activado"

#. module: project_budget
#: model:ir.model.fields,field_description:project_budget.field_crossovered_budget_budget_date
Expand Down
2 changes: 2 additions & 0 deletions project_budget/tests/test_project_budget.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ def test_project_creation(self):
self.project.mapped('budget_ids.crossovered_budget_line')), 26)
self.project.create_initial_project_budget()
self.assertEquals(len(self.project.budget_ids), 1)
action_dict = self.project.budget_ids[:1].open_pivot_view()
self.assertEquals(action_dict.get('view_mode'), 'pivot')

def test_initial_budget_per_project_year(self):
new_budget = self.project.budget_ids.copy()
Expand Down

0 comments on commit c9a9328

Please sign in to comment.