[IMP][10.0][document_page] Change Requests and workflow improvements on documents (#155)

This commit is contained in:
Iván Todorovich
2018-04-13 11:36:33 -03:00
committed by FernandoRomera
parent b862c87e8c
commit 47320de3a2
21 changed files with 518 additions and 364 deletions

View File

@@ -19,7 +19,7 @@ class TestDocumentPageShowDiff(common.TransactionCase):
self.assertTrue(
show_diff_object.with_context(
active_ids=[i.id for i in history_pages]
).get_diff()
)._get_diff()
)
page.write({'content': 'Text content updated'})
@@ -30,7 +30,7 @@ class TestDocumentPageShowDiff(common.TransactionCase):
with self.assertRaises(Exception) as context:
show_diff_object.with_context(
active_ids=[i.id for i in history_pages]
).get_diff()
)._get_diff()
self.assertTrue(_("Select one or maximum two history revisions!")
in context.exception)