diff --git a/delivery_hibou/models/stock.py b/delivery_hibou/models/stock.py
index b4f3e013..1831178e 100644
--- a/delivery_hibou/models/stock.py
+++ b/delivery_hibou/models/stock.py
@@ -31,6 +31,7 @@ class StockPicking(models.Model):
_inherit = 'stock.picking'
shipping_account_id = fields.Many2one('partner.shipping.account', string='Shipping Account')
+ commercial_partner_id = fields.Many2one('res.partner', related='partner_id.commercial_partner_id')
require_insurance = fields.Selection([
('auto', 'Automatic'),
('yes', 'Yes'),
diff --git a/delivery_hibou/views/stock_views.xml b/delivery_hibou/views/stock_views.xml
index 0989f519..88da4f99 100644
--- a/delivery_hibou/views/stock_views.xml
+++ b/delivery_hibou/views/stock_views.xml
@@ -24,13 +24,26 @@
+
+ stock.quant.package.tree.carrier
+ stock.quant.package
+
+
+
+
+
+
+
+
+
+
hibou.delivery.stock.picking_withcarrier.form.view
stock.picking
-
+
@@ -40,14 +53,7 @@
-
-
-
-
-
-
-
-
+