Public release from ruodoo-project: 19.0 - 2026-05-10 21:19:01 UTC
This commit is contained in:
15
l10n_ru_contract/report/report_contract_invoice.py
Normal file
15
l10n_ru_contract/report/report_contract_invoice.py
Normal file
@ -0,0 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from odoo import api, models
|
||||
|
||||
|
||||
class ContractCustomerReportInvoice(models.AbstractModel):
|
||||
_name = 'contract.customer.report_invoice'
|
||||
|
||||
|
||||
def get_report_values(self, docids, data=None):
|
||||
docs = self.env['account.move'].browse(docids)
|
||||
return {
|
||||
'doc_ids': docs.ids,
|
||||
'doc_model': 'account.move',
|
||||
'docs': docs,
|
||||
}
|
||||
Reference in New Issue
Block a user