Purpose of this commit is to give description more "business oriented" because those descriptions appears in Odoo Studio which is supposed to be used by end users, not only by developers. Related Task ID : 37311
19 lines
460 B
Python
19 lines
460 B
Python
# -*- coding: ascii -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
import logging
|
|
|
|
from odoo import fields, models
|
|
|
|
_logger = logging.getLogger(__name__)
|
|
|
|
|
|
class View(models.Model):
|
|
|
|
_name = "report.layout"
|
|
_description = 'Report Layout'
|
|
|
|
view_id = fields.Many2one('ir.ui.view', 'Document Template', required=True)
|
|
image = fields.Char(string="Preview image src")
|
|
pdf = fields.Char(string="Preview pdf src")
|