Public release from ruodoo-project: 19.0 - 2026-11-01 22:52:25 UTC
This commit is contained in:
14
l10n_ru_contract/report/report_contract_invoice.py
Normal file
14
l10n_ru_contract/report/report_contract_invoice.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from odoo import 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