diff --git a/dev/scripts/interfaces/sst03_pg_create_quotation.py b/dev/scripts/interfaces/sst03_pg_create_quotation.py
index 4ef103e9..33f92a86 100755
--- a/dev/scripts/interfaces/sst03_pg_create_quotation.py
+++ b/dev/scripts/interfaces/sst03_pg_create_quotation.py
@@ -29,6 +29,7 @@ values = {
"date_order": "2017-11-21",
"assembled": True,
"line_id": "0000",
+ 'confirmation_nr': 'FR000001',
"portal_id": "59-0001",
"portal_delivery_id": "111112",
"delivery_firstname": "Huber",
diff --git a/ext/custom-addons/dp_custom/models/sale.py b/ext/custom-addons/dp_custom/models/sale.py
index 2e26420f..43dbccef 100644
--- a/ext/custom-addons/dp_custom/models/sale.py
+++ b/ext/custom-addons/dp_custom/models/sale.py
@@ -50,6 +50,7 @@ class SaleOrder(models.Model):
positions = fields.Integer(string='Positionen', compute='_compute_positions')
num_items = fields.Integer(string='Anzahl der Artikel', compute='_compute_num_items')
weight_total = fields.Float(string='Gesamtgewicht', compute='_compute_weight_total')
+ confirmation_nr = fields.Char('Freigabe-Nr.')
@api.multi
def _compute_weight_total(self):
@@ -259,7 +260,7 @@ class SaleOrder(models.Model):
def _get_specified_fields(self):
return ['origin', 'client_order_ref', 'note', 'date_order', 'assembled', 'line_id', 'partner_id',
'fiscal_position_id', 'user_id', 'payment_term_id', 'partner_delivery_id', 'partner_invoice_id',
- 'assembly_state']
+ 'assembly_state', 'confirmation_nr']
@api.multi
def write(self, vals):
diff --git a/ext/custom-addons/dp_custom/views/sale_views.xml b/ext/custom-addons/dp_custom/views/sale_views.xml
index 31f28bd8..ae3ee58b 100644
--- a/ext/custom-addons/dp_custom/views/sale_views.xml
+++ b/ext/custom-addons/dp_custom/views/sale_views.xml
@@ -39,6 +39,9 @@