Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1885 Widoki

Hi, everyone

I would like to automatically apply a Pricelist assigned to a web user when they log in
Therefore I've created a custom field in contacts that could select one of the pricelists


- Model: pricelist = fields.Many2one('product.pricelist', string='Pricelist')

- XML:  field name="pricelist" string="Pricelist"


I've made it this far, but I don't know what to do next
I think I need to control it with JavaScript, but I have no idea how to approach it


Can anyone give me some tips on how to find the web template id and how to code the javascript?


Many thanks


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
cze 25
691
2
kwi 25
1107
0
sty 25
1078
1
lip 24
1901
1
gru 24
2518