mirror of
https://github.com/NaN-tic/trytond-party_company.git
synced 2023-12-14 03:32:57 +01:00
Remove default companies party
Since changeset-047e85b66b84 not allow delete company and a party may be shared all companies (none)
This commit is contained in:
parent
439a6f9f05
commit
e5f4583e54
5
party.py
5
party.py
|
@ -62,11 +62,6 @@ class Party:
|
|||
PartyCompany.save(party_companies)
|
||||
table.drop_column('company')
|
||||
|
||||
@staticmethod
|
||||
def default_companies():
|
||||
if Transaction().context.get('company'):
|
||||
return [Transaction().context.get('company')]
|
||||
|
||||
@classmethod
|
||||
def create(cls, vlist):
|
||||
# TODO pass rule group without user 0 (root)
|
||||
|
|
Loading…
Reference in a new issue