From 423660b59e72dcfc748fadcfc0db5487ce18d229 Mon Sep 17 00:00:00 2001 From: Whitley Date: Fri, 14 Oct 2016 12:11:44 -0400 Subject: [PATCH 1/4] [CLA] signature for WhitleyStriber Closes #13825 --- doc/cla/individual/WhitleyStriber.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 doc/cla/individual/WhitleyStriber.md diff --git a/doc/cla/individual/WhitleyStriber.md b/doc/cla/individual/WhitleyStriber.md new file mode 100644 index 00000000000..b27db071d10 --- /dev/null +++ b/doc/cla/individual/WhitleyStriber.md @@ -0,0 +1,11 @@ +United States, 2016/10/14 + +I hereby agree to the terms of the Odoo Individual Contributor License +Agreement v1.0. + +I declare that I am authorized and able to make this agreement and sign this +declaration. + +Signed, + +Whitley andrewtramutolo@gmail.com https://github.com/WhitleyStriber From c840227e107ada77001369266b7400279c0c84a4 Mon Sep 17 00:00:00 2001 From: djt Date: Fri, 14 Oct 2016 11:01:34 -0400 Subject: [PATCH 2/4] [FIX] doc: correct a misspelled word Closes #13822 --- doc/setup/deploy.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/setup/deploy.rst b/doc/setup/deploy.rst index 806d7590f22..8f7f43e59b5 100644 --- a/doc/setup/deploy.rst +++ b/doc/setup/deploy.rst @@ -221,7 +221,7 @@ HTTPS ===== Whether it's accessed via website/web client or the webservice, Odoo transmits -authentication information in cleatext. This means a secure deployment of +authentication information in cleartext. This means a secure deployment of Odoo must use HTTPS\ [#switching]_. SSL termination can be implemented via just about any SSL termination proxy, but requires the following setup: From 42481f98499c582f1c8cdd6b564d8c2c06062a99 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Wed, 19 Oct 2016 18:26:34 +0200 Subject: [PATCH 3/4] [FIX] website: convert new test to new-api --- addons/website/tests/test_views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/website/tests/test_views.py b/addons/website/tests/test_views.py index 1d963c68026..06a1be33048 100644 --- a/addons/website/tests/test_views.py +++ b/addons/website/tests/test_views.py @@ -141,7 +141,7 @@ class TestViewSaving(common.TransactionCase): # create a view with an xmlid, like the file import would with self.env.norecompute(): - self.view_id = View.create(self.cr, self.uid, { + self.view_id = View.create({ 'name': "Test View", 'type': 'qweb', 'arch': ET.tostring(self.arch, encoding='utf-8').decode('utf-8') @@ -154,7 +154,7 @@ class TestViewSaving(common.TransactionCase): }) # the xml_id of the view should not be flagged as 'noupdate' - self.assertEqual(View.browse(self.cr, self.uid, self.view_id).model_data_id, imd) + self.assertEqual(self.view_id.model_data_id, imd) self.assertFalse(imd.noupdate) replacement = ET.tostring(h.DIV( From d53bb47163e3a2379791cecb3edd5d219b506afe Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Wed, 19 Oct 2016 18:51:59 +0200 Subject: [PATCH 4/4] [FIX] account: workflow are gone in 10.0 --- addons/account/tests/test_account_supplier_invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/tests/test_account_supplier_invoice.py b/addons/account/tests/test_account_supplier_invoice.py index 232bd39ddc7..357ac04f8f2 100644 --- a/addons/account/tests/test_account_supplier_invoice.py +++ b/addons/account/tests/test_account_supplier_invoice.py @@ -92,7 +92,7 @@ class TestAccountSupplierInvoice(AccountingTestCase): self.assertTrue((invoice.state == 'draft'), "Initially vendor bill state is Draft") #change the state of invoice to open by clicking Validate button - invoice.signal_workflow('invoice_open') + invoice.action_invoice_open() # Check if amount and corresponded base is correct for all tax scenarios given on a computational base # Keep in mind that tax amount can be changed by the user at any time before validating (based on the invoice and tax laws applicable)