I have created a second company. Each company has its own number sequence for ‘Sales’ and ‘Parties’.
Under ‘Sales → Configuration → Sequence’, this number sequence can be set individually for each company. Depending on the active company, this sequence is also correctly used when creating a sale.
However, this does not work for Parties. The number sequence most recently set under ‘Parties → Configuration → Sequence’ is always used for both companies, regardless of which company is active.
What would be the correct way to allow two companies to distinguish which party “belong” to which company, given that all parties are visible to all companies?
If you decide you really need to have them in the same database for some reason, then you could do this with the Party Relationship Module — Party Relationship module for Tryton module, but you will have to manually create the relationships between the parties and the company’s party they belong to.