Browse Source

Ajuste agregar datos de codeudor.

Sebas 6 years ago
parent
commit
b3c2a3e944
2 changed files with 26 additions and 5 deletions
  1. 4 0
      models.py
  2. 22 5
      static/src/js/main.js

+ 4 - 0
models.py

@@ -30,6 +30,10 @@ class AccountInvoice(models.Model):
 					'address': invoice.partner_id.street,
 					'address': invoice.partner_id.street,
 	                'phone': invoice.partner_id.phone,
 	                'phone': invoice.partner_id.phone,
 	                'mobile': invoice.partner_id.mobile,
 	                'mobile': invoice.partner_id.mobile,
+					'name_deudor': invoice.partner_id.name_deudor,
+	                'cin_deudor': invoice.partner_id.cin_deudor,
+	                'tel_deudor': invoice.partner_id.tel_deudor,
+	                'dir_deudor': invoice.partner_id.dir_deudor,
 					'ref_personal_ids': [{
 					'ref_personal_ids': [{
 						'id': refPartner.id,
 						'id': refPartner.id,
 						'name': refPartner.name,
 						'name': refPartner.name,

File diff suppressed because it is too large
+ 22 - 5
static/src/js/main.js


Some files were not shown because too many files changed in this diff