12 lines
368 B
Python
12 lines
368 B
Python
|
|
from odoo import fields, models
|
|
|
|
|
|
class AccountMove(models.Model):
|
|
_inherit = 'account.move'
|
|
|
|
commission_sale_order_id = fields.Many2one(
|
|
'sale.order', string='Заказ (комиссия)', index=True, copy=False,
|
|
help='Заказ продаж, по которому начислен этот счёт комиссии агенту.',
|
|
)
|