Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m28s
14 lines
363 B
Python
14 lines
363 B
Python
from odoo import fields, models
|
|
|
|
|
|
class AccountMoveLine(models.Model):
|
|
_inherit = "account.move.line"
|
|
|
|
sub_account_customer = fields.Char(
|
|
string="Custommer sub-account", related="partner_id.sub_account_customer"
|
|
)
|
|
|
|
sub_account_supplier = fields.Char(
|
|
string="Supplier sub-account", related="partner_id.sub_account_supplier"
|
|
)
|