Public release from ruodoo-project: 19.0 - 2026-11-01 22:52:25 UTC
This commit is contained in:
17
rsbu_kudir/models/rsbu_operation_template.py
Normal file
17
rsbu_kudir/models/rsbu_operation_template.py
Normal file
@@ -0,0 +1,17 @@
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class RsbuOperationTemplate(models.Model):
|
||||
"""Расширение шаблона: правило признания в УСН (для КУДиР)."""
|
||||
_inherit = 'rsbu.operation.template'
|
||||
|
||||
usn_recognition = fields.Selection(
|
||||
selection=[
|
||||
('income', 'Доход'),
|
||||
('expense', 'Расход'),
|
||||
('refund_customer', 'Возврат клиенту'),
|
||||
('refund_supplier', 'Возврат поставщику'),
|
||||
('none', 'Не участвует в УСН'),
|
||||
],
|
||||
string='Признание в УСН', default='none', required=True)
|
||||
is_refund = fields.Boolean(string='Это возврат')
|
||||
Reference in New Issue
Block a user