Feat: Impresion fe_qrcode y cufe
This commit is contained in:
parent
501d0ff776
commit
18ffd2458c
2
sale.py
2
sale.py
@ -171,6 +171,8 @@ class Sale(metaclass=PoolMeta):
|
|||||||
data["shop_nit"] = shop.company.party.tax_identifier.code
|
data["shop_nit"] = shop.company.party.tax_identifier.code
|
||||||
data["shop_address"] = shop.address.street
|
data["shop_address"] = shop.address.street
|
||||||
data['invoice'] = cls.get_invoice(record)
|
data['invoice'] = cls.get_invoice(record)
|
||||||
|
data['fe_cufe'] = record.fe_qrcode
|
||||||
|
data['cufe'] = record.fe_cufe
|
||||||
data["party"] = record.party.name
|
data["party"] = record.party.name
|
||||||
data["tax_identifier_type"] = record.party.tax_identifier.type_string
|
data["tax_identifier_type"] = record.party.tax_identifier.type_string
|
||||||
data["tax_identifier_code"] = record.party.tax_identifier.code
|
data["tax_identifier_code"] = record.party.tax_identifier.code
|
||||||
|
Loading…
Reference in New Issue
Block a user