+
+ Incoterm: - +
Scan me with your banking app.
diff --git a/addons/purchase_stock/models/purchase.py b/addons/purchase_stock/models/purchase.py
index 729f220ac80..f5b215281bb 100644
--- a/addons/purchase_stock/models/purchase.py
+++ b/addons/purchase_stock/models/purchase.py
@@ -135,6 +135,11 @@ class PurchaseOrder(models.Model):
result['res_id'] = pick_ids.id
return result
+ def action_view_invoice(self):
+ result = super().action_view_invoice()
+ result['context']['default_invoice_incoterm_id'] = self.incoterm_id.id
+ return result
+
# --------------------------------------------------
# Business methods
# --------------------------------------------------
diff --git a/addons/purchase_stock/report/purchase_report_templates.xml b/addons/purchase_stock/report/purchase_report_templates.xml
index 0c5a42fd0da..89acd21a429 100644
--- a/addons/purchase_stock/report/purchase_report_templates.xml
+++ b/addons/purchase_stock/report/purchase_report_templates.xml
@@ -13,6 +13,12 @@
+