在qwebrep上打印许多字段

2024-09-30 04:37:06 发布

您现在位置:Python中文网/ 问答频道 /正文

我想知道如何在一个报告qweb中打印出一整块有很多的字段,类似于在销售模块的报价、发票中发生的情况。在

或者可以在报告中单独打印

sales quotation

cie10应用程序模型

from odoo import models, api, fields
class Cie10Db(models.Model):
  _name = 'cie10.list'
  _rec_name = 'detalleCie'
  codCie = fields.Char('Codigo Cie10')
  detalleCie = fields.Char('Detalle Diagnostico')

cie10已通知

^{pr2}$

通知应用程序

from odoo import models, fields, api
class InfMed(models.Model):
    dx1 = fields.Many2many('info.cie10')

我需要在qweb报告中打印整个字段很多

知情报告

<span t-field="o.tratRec1"/>

enter image description here

但我只知道这个

enter image description here


Tags: namefromodooimportapi应用程序fieldsmodel

热门问题