Remove duplciated intercompany_user field created here in this modules
and in the comapny_user modules that it's a dependency.
This commit is contained in:
parent
45dfb937d2
commit
352dfc1ccf
|
@ -8,5 +8,4 @@ def register():
|
||||||
Pool.register(
|
Pool.register(
|
||||||
invoice.Invoice,
|
invoice.Invoice,
|
||||||
invoice.InvoiceLine,
|
invoice.InvoiceLine,
|
||||||
invoice.Company,
|
|
||||||
module='account_invoice_intercompany', type_='model')
|
module='account_invoice_intercompany', type_='model')
|
||||||
|
|
|
@ -6,15 +6,6 @@ from trytond.pool import Pool, PoolMeta
|
||||||
from trytond.pyson import Equal, Eval, If, Bool
|
from trytond.pyson import Equal, Eval, If, Bool
|
||||||
from trytond.transaction import Transaction
|
from trytond.transaction import Transaction
|
||||||
|
|
||||||
__all__ = ['Invoice', 'InvoiceLine', 'Company']
|
|
||||||
|
|
||||||
|
|
||||||
class Company(metaclass=PoolMeta):
|
|
||||||
__name__ = 'company.company'
|
|
||||||
intercompany_user = fields.Many2One('res.user', 'Company User',
|
|
||||||
help='User with company rules when create a intercompany sale '
|
|
||||||
'from purchases.')
|
|
||||||
|
|
||||||
|
|
||||||
class Invoice(metaclass=PoolMeta):
|
class Invoice(metaclass=PoolMeta):
|
||||||
__name__ = 'account.invoice'
|
__name__ = 'account.invoice'
|
||||||
|
|
Loading…
Reference in New Issue