|
@@ -10,7 +10,7 @@ class AccountInvoice(models.Model):
|
|
|
############################################################
|
|
|
|
|
|
@api.model
|
|
|
- def getAccountInvoiceDental(self,domain):
|
|
|
+ def getAccountInvoice(self,domain):
|
|
|
AccountInvoice = self.env['account.invoice'].search(domain)
|
|
|
decimal_precision = self.env['decimal.precision'].precision_get('Account')
|
|
|
values = []
|
|
@@ -35,6 +35,7 @@ class AccountInvoice(models.Model):
|
|
|
invoice.company_id.currency_id.rate
|
|
|
],
|
|
|
'date_invoice': invoice.date_invoice,
|
|
|
+ 'date_due': invoice.date_invoice,
|
|
|
'partner_id': [
|
|
|
invoice.partner_id.id,
|
|
|
invoice.partner_id.name,
|
|
@@ -75,7 +76,7 @@ class AccountInvoiceLine(models.Model):
|
|
|
############################################################
|
|
|
|
|
|
@api.model
|
|
|
- def getAccountInvoiceLineDental(self,domain):
|
|
|
+ def getAccountInvoiceLine(self,domain):
|
|
|
AccountInvoiceLine = self.env['account.invoice.line'].search(domain)
|
|
|
decimal_precision = self.env['decimal.precision'].precision_get('Account')
|
|
|
values = []
|
|
@@ -102,7 +103,7 @@ class AccountVoucher(models.Model):
|
|
|
############################################################
|
|
|
|
|
|
@api.model
|
|
|
- def getAccountVoucherDental(self,domain):
|
|
|
+ def getAccountVoucher(self,domain):
|
|
|
AccountVoucher = self.env['account.voucher'].search(domain)
|
|
|
values = []
|
|
|
for voucher in AccountVoucher:
|