Skip to content
Snippets Groups Projects
Commit e2ef8211 authored by Houzefa Abbasbhay's avatar Houzefa Abbasbhay :slight_smile:
Browse files

Migrate to Odoo 16.0

parent ec9d8235
No related branches found
No related tags found
1 merge request!31Migrate to Odoo 16.0
include: include:
- project: xcg/ci-templates - project: xcg/ci-templates
file: /odoo/15.0/gitlab-ci.yaml file: /odoo/16.0/gitlab-ci.yaml
Changelog Changelog
========= =========
16.0.1.0.0
----------
* Migrate to Odoo 16.0.
15.0.3.1.0 15.0.3.1.0
---------- ----------
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
========= =========
.. |coverage| image:: .badges/coverage.svg .. |coverage| image:: .badges/coverage.svg
:target: https://orus.io/xcg/odoo-modules/converter/-/pipelines?ref=branch/15.0 :target: https://orus.io/xcg/odoo-modules/converter/-/pipelines?ref=branch/16.0
:alt: Coverage report :alt: Coverage report
.. the image is updated by the CI when building the documentation .. the image is updated by the CI when building the documentation
.. |pylint| image:: .badges/pylint.svg .. |pylint| image:: .badges/pylint.svg
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
:alt: Coverage report :alt: Coverage report
.. the image is updated by the CI when building the documentation .. the image is updated by the CI when building the documentation
.. |pylint| image:: .badges/pylint.svg .. |pylint| image:: .badges/pylint.svg
:target: https://orus.io/xcg/odoo-modules/converter/-/pipelines?ref=branch/15.0 :target: https://orus.io/xcg/odoo-modules/converter/-/pipelines?ref=branch/16.0
:alt: pylint score :alt: pylint score
.. |maturity| image:: .badges/maturity.svg .. |maturity| image:: .badges/maturity.svg
:target: https://odoo-community.org/page/development-status :target: https://odoo-community.org/page/development-status
......
...@@ -22,6 +22,6 @@ ...@@ -22,6 +22,6 @@
"name": "Converter", "name": "Converter",
"license": "AGPL-3", "license": "AGPL-3",
"summary": "Convert odoo records to/from plain data structures.", "summary": "Convert odoo records to/from plain data structures.",
"version": "15.0.3.1.0", "version": "16.0.1.0.0",
"category": "Hidden", "category": "Hidden",
"author": "XCG Consulting", "author": "XCG Consulting",
...@@ -26,6 +26,6 @@ ...@@ -26,6 +26,6 @@
"category": "Hidden", "category": "Hidden",
"author": "XCG Consulting", "author": "XCG Consulting",
"website": "https://odoo.consulting/", "website": "https://orbeet.io/",
"depends": ["base", "mail"], "depends": ["base", "mail"],
"data": [], "data": [],
"installable": True, "installable": True,
......
...@@ -106,7 +106,6 @@ ...@@ -106,7 +106,6 @@
message_to_odoo(self.env, message, self.env["res.users"], converter) message_to_odoo(self.env, message, self.env["res.users"], converter)
# Ensure a new partner got created and that is has an xref (post hook). # Ensure a new partner got created and that is has an xref (post hook).
# user.refresh()
new_partner = self.env.ref("test.new_partner_converter") new_partner = self.env.ref("test.new_partner_converter")
self.assertEqual(user.partner_id, new_partner) self.assertEqual(user.partner_id, new_partner)
self.assertNotEqual(new_partner, old_partner) self.assertNotEqual(new_partner, old_partner)
...@@ -116,7 +115,5 @@ ...@@ -116,7 +115,5 @@
# Try again with the same partner ref; check update (but no creations). # Try again with the same partner ref; check update (but no creations).
message["partner"]["color"] = 3 message["partner"]["color"] = 3
message_to_odoo(self.env, message, self.env["res.users"], converter) message_to_odoo(self.env, message, self.env["res.users"], converter)
user.refresh()
new_partner.refresh()
self.assertEqual(user.partner_id, new_partner) self.assertEqual(user.partner_id, new_partner)
self.assertEqual(new_partner.color, 3) self.assertEqual(new_partner.color, 3)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment