init 18.0
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
from . import res_parter
|
||||
from . import account_move_line
|
||||
@@ -1,15 +0,0 @@
|
||||
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"
|
||||
)
|
||||
@@ -1,8 +0,0 @@
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class Partner(models.Model):
|
||||
_inherit = "res.partner"
|
||||
|
||||
sub_account_customer = fields.Char(string="Custommer sub-account")
|
||||
sub_account_supplier = fields.Char(string="Supplier sub-account")
|
||||
Reference in New Issue
Block a user