Dear ${object.partner_id.name}
+Dear ${object.partner_id.name}
% if object.partner_id.parent_id:
(${object.partner_id.parent_id.name})
% endif
diff --git a/addons/stock/data/stock_data.xml b/addons/stock/data/stock_data.xml
index e0e815ac9da..b1887fe2aa8 100644
--- a/addons/stock/data/stock_data.xml
+++ b/addons/stock/data/stock_data.xml
@@ -130,7 +130,6 @@
-
WH
diff --git a/addons/stock/models/stock_inventory.py b/addons/stock/models/stock_inventory.py
index e8b02b831db..b192ca775af 100644
--- a/addons/stock/models/stock_inventory.py
+++ b/addons/stock/models/stock_inventory.py
@@ -386,7 +386,8 @@ class InventoryLine(models.Model):
if existings:
raise UserError(_("You cannot have two inventory adjustements in state 'in Progress' with the same product "
"(%s), same location (%s), same package, same owner and same lot. Please first validate "
- "the first inventory adjustement with this product before creating another one.") % (res.product_id.display_name, res.location_id.name))
+ "the first inventory adjustement with this product before creating another one.") %
+ (res.product_id.display_name, res.location_id.display_name))
return res
@api.constrains('product_id')
diff --git a/addons/stock/models/stock_warehouse.py b/addons/stock/models/stock_warehouse.py
index 2b68c90968b..5711400941e 100644
--- a/addons/stock/models/stock_warehouse.py
+++ b/addons/stock/models/stock_warehouse.py
@@ -21,7 +21,7 @@ class Warehouse(models.Model):
# namedtuple used in helper methods generating values for routes
Routing = namedtuple('Routing', ['from_loc', 'dest_loc', 'picking_type'])
- name = fields.Char('Warehouse Name', index=True, required=True)
+ name = fields.Char('Warehouse Name', index=True, required=True, default=lambda self: self.env['res.company']._company_default_get('stock.inventory').name)
active = fields.Boolean('Active', default=True)
company_id = fields.Many2one(
'res.company', 'Company', default=lambda self: self.env['res.company']._company_default_get('stock.inventory'),
diff --git a/addons/website/static/src/js/backend/dashboard.js b/addons/website/static/src/js/backend/dashboard.js
index c140e61c3e5..ca3e5e53143 100644
--- a/addons/website/static/src/js/backend/dashboard.js
+++ b/addons/website/static/src/js/backend/dashboard.js
@@ -211,6 +211,7 @@ var Dashboard = Widget.extend(ControlPanelMixin, {
self.handle_analytics_auth($analytics_components);
gapi.analytics.auth.on('signIn', function() {
+ delete window.onOriginError;
self.handle_analytics_auth($analytics_components);
});
diff --git a/doc/_extensions/odoo_ext/layout.html b/doc/_extensions/odoo_ext/layout.html
index 793ed47806f..47efef8dc84 100644
--- a/doc/_extensions/odoo_ext/layout.html
+++ b/doc/_extensions/odoo_ext/layout.html
@@ -289,29 +289,33 @@
-
diff --git a/doc/reference/orm.rst b/doc/reference/orm.rst
index 844dc0ecee6..9ce03c8709a 100644
--- a/doc/reference/orm.rst
+++ b/doc/reference/orm.rst
@@ -635,6 +635,9 @@ Model Reference
If set to ``False``, override :meth:`.init` to create the database
table
+
+ .. tip:: To create a model without any table, inherit
+ from ``odoo.models.AbstractModel``
.. attribute:: _table
diff --git a/odoo/addons/base/res/res_currency_data.xml b/odoo/addons/base/res/res_currency_data.xml
index ee527beb64d..6e2d8cf5dc8 100644
--- a/odoo/addons/base/res/res_currency_data.xml
+++ b/odoo/addons/base/res/res_currency_data.xml
@@ -218,7 +218,7 @@
JPY
¥
- 0.01
+ 1.00
Yen
Cen