Skip to Content
Menú
This question has been flagged
1 Respondre
3636 Vistes

How can we handle data at multiple levels? ()

I have a "Package" module where I can configure various different kinds of packages(global level). I have also extended the "res.partner" object to have a many2many relationship with "Package" module as various packages can be assigned to partners(customer level). Now, I want to be able to configure packages on customer level, in other words, I can select a few packages from the many2many list and edit a few fields, but I want those changes just to apply for the current partner and not the (global) package itself (current behaviour). Essentially, each partner can have customised packages on a base "template".

Avatar
Descartar
Best Answer

It looks like you need to define an additional module/table, where you store the combination of res.partner and package> In this module/table, you change the values/fields/content, so the original / standard packages do not get modified.

Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
d’ag. 23
4070
0
d’abr. 23
3055
1
de des. 21
5073
5
de juny 21
18019
1
de març 21
5863