summaryrefslogtreecommitdiff
path: root/addons/account_facturx/models/account_move.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/account_facturx/models/account_move.py')
-rw-r--r--addons/account_facturx/models/account_move.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/account_facturx/models/account_move.py b/addons/account_facturx/models/account_move.py
index 92d3f6c225c..c0571cf0c86 100644
--- a/addons/account_facturx/models/account_move.py
+++ b/addons/account_facturx/models/account_move.py
@@ -119,7 +119,7 @@ class AccountMove(models.Model):
# Name.
elements = tree.xpath('//ram:BuyerOrderReferencedDocument/ram:IssuerAssignedID', namespaces=tree.nsmap)
if elements:
- invoice_form.invoice_payment_ref = elements[0].text
+ invoice_form.payment_reference = elements[0].text
# Comment.
elements = tree.xpath('//ram:IncludedNote/ram:Content', namespaces=tree.nsmap)