Public release from ruodoo-project: 19.0 - 2026-11-01 22:52:25 UTC

This commit is contained in:
CI Publish Bot
2026-11-01 22:54:30 +00:00
commit 26250aa580
2492 changed files with 664277 additions and 0 deletions

View 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='Это возврат')