Greetings. I want some guidance.
I need to register several users, and their data is totally independent of the others.
For example I have this model:
class Operative(models.Model):
_name = 'operatives'.
_description = 'operatives'
name = fields.Char(string='Name', required=True)
amount = fields.Float(string='Amount', required=True)
max_entries_id = fields.Many2one(comodel_name='maxentries', string='Max. Entries', required=True)
percent_id = fields.Many2one(comodel_name='percent', string='Cap. percent', required=True)
res_partner_id = ??????
Now I want to associate the data of that table, only to the user that created it, and that this user only can see his data.
How can I do it, should I make a "company" for each user, or which tables should I relate to the Operative table?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Boekhouding
- Voorraad
- PoS
- Project
- MRP
Deze vraag is gerapporteerd
1
Beantwoorden
2314
Weergaven
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
AanmeldenGerelateerde posts | Antwoorden | Weergaven | Activiteit | |
---|---|---|---|---|
|
2
mrt. 15
|
4597 | ||
|
0
mrt. 15
|
3874 | ||
|
1
apr. 22
|
3569 | ||
|
1
jul. 21
|
8493 | ||
|
1
okt. 19
|
4461 |