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

Dear All,


I’d like to add a custom field on sale orders (i.e. our internal customer reference).


The field already exists on the partner form (x_codeClient), but I can’t add it on sale reports even with Studio installed.

I’d like to do it without touching the built-in code.

I suspect I can do it by creating a field on sale quotes, that would inherit properties from partner_id, but I can’t manage to do it on myself.


Any idea how to do this ?

Thanks a lot

Awatar
Odrzuć
Autor Najlepsza odpowiedź

You’re the best ! Totally solved my problem. Thanks so much.

Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

In the sale order form you can add a related field of partner using the odoo studio, once you add a related field, the field will be coming in the field from the partner model, based on the selected partner.


To add related field from the user interface using the studio, see this: How To Add Related Fields Using Odoo Studio


If you are not studio also, still you can add related field using the developer mode, for that refer: How to Add Custom Field From User Interface


Thanks

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
lip 21
1794
2
cze 21
11322
2
lut 24
3922
0
lut 24
1470
1
cze 21
3209