Public release from ruodoo-project: 19.0 - 2026-05-10 21:19:01 UTC
This commit is contained in:
12
l10n_ru_contract/models/contract_line.py
Normal file
12
l10n_ru_contract/models/contract_line.py
Normal file
@ -0,0 +1,12 @@
|
||||
from odoo import api, fields, models, exceptions, tools, _
|
||||
|
||||
class ContractLine(models.Model):
|
||||
_name = 'contract.line'
|
||||
_order = "sequence desc"
|
||||
|
||||
|
||||
contract_id = fields.Many2one('partner.contract.customer', string='Order Reference', required=True,
|
||||
ondelete='cascade', index=True, copy=False)
|
||||
sequence = fields.Integer('Порядок')
|
||||
name = fields.Char('Номер пункта')
|
||||
punct = fields.Html('Текст пункта')
|
||||
Reference in New Issue
Block a user