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

Hi,

Running Odoo v14 enterprise.


We have some custom fields on our sale.subscription model.

How can we add these to the sale.subscription.report model? (e.g. In order to have them in the pivot table on Subscriptions > Reporting > Subscriptions)


Looking at the sale.subscription.report model, I cannot see how these are linked to the individual subscriptions (ID's)?


形象
丢弃
最佳答案

Hi,

You have inherit the above model and add the new fields and then  inherit the queries which brings data to this model to bring data to the new fields.

See an example of similar case with sale.report model:  https://www.youtube.com/watch?v=xNuVyrdZ3dU

Thanks & Regards

形象
丢弃
编写者

Failed to mention: we only have the ability via Studio (not directly in the code), so only front-end changes

相关帖文 回复 查看 活动
1
2月 25
1384
0
12月 23
1734
1
4月 24
2889
1
6月 25
1085
1
12月 24
1948