Skip to content

Commit

Permalink
[FIX] base_ubl: match product while importing invoice lines
Browse files Browse the repository at this point in the history
  • Loading branch information
astirpe committed Feb 28, 2020
1 parent ea65096 commit cadbab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base_ubl/models/ubl.py
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ def ubl_parse_product(self, line_node, ns):
)
product_dict = {
"barcode": barcode_xpath and barcode_xpath[0].text or False,
"default_code": code_xpath and code_xpath[0].text or False,
"code": code_xpath and code_xpath[0].text or False,
}
return product_dict

Expand Down

0 comments on commit cadbab3

Please sign in to comment.