跳至内容
菜单
此问题已终结
1 回复
6187 查看

Hi,


First of all I’m new to Odoo and that is especially true for Odo studio and Odoo.sh.


I have a requirement where I would like to group my optional product under a section just like you can in the ‘normal’ sales order lines.


I need this both in a regular quotation as in a template (I guess if I can figure out 1 the other will be similar).


I tried some things with Studio (changing the type of that form, adding fields for display_type and sequence,..) but no luck.


Then I tried copy pasting everything from order lines and the buttons appear but for some reason each button kees performing the add product action.


Again I’m new so apologies if this should be straightforward. But I’m still trying to get my head around the structure of Odoo and the documentation is a little overwhelmin.


Fyi: Odoo 15


Thanks for all input in advance!



形象
丢弃

ive accomplished this before and my code went missing god knows where. i will sure to reply back here with an answer once i get my hands on it or figure out how. if you found a way also, please do share it here thank you

I need this too, have you found a way yet?

编写者

I was able to get this done but only via customization via Odoo SH.

I did something similar before. some tips for me:
- Add display_type like in sale.order.line models
- For backend widget try to use section_and_note_one2many
- Then edit report with reference to report_saleorder_document

@imam could you provide me some details about the steps you mentionned? I did the first two steps but I don't have the right widget when I press "Add note" or "Add section".

相关帖文 回复 查看 活动
6
6月 20
5503
0
5月 22
2519
1
1月 22
3434
1
11月 23
2030
1
10月 23
2694