Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
3537 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
elok. 23
3867
0
huhtik. 23
2951
1
jouluk. 21
4940
5
kesäk. 21
17781
1
maalisk. 21
5721