Skip to Content
मेन्यू
This question has been flagged
3 Replies
2862 Views

Hi Odoo'ers


in version 17 of Odoo it seems impossible to change the portal template of a sale order: 


for example I want to add a column here:


I tried to modify stuff in the view sale_portal_templates.xml in the templade id sale_order_portal_content but it seems to have no effect.


This is my code but with no effect:



So how can I change the contents of the portal template view? 


Avatar
Discard
Best Answer

Hi,

Your code is working properly. Ensure you've added the XML file to your manifest and declared the necessary dependencies.

For example:

'depends': ['sale'],

    'data': [

        'views/sale_portal_templates_inherit.xml',

    ],


After updating the manifest, restart the Odoo server and upgrade your module to see the changes.


Hope it helps

Avatar
Discard
Best Answer

@Cybrosys Techno Solutions Pvt.Ltd  Can we edit same through odoo studio?


Avatar
Discard
Author Best Answer

Hi there


it works fine when I try the code on the database of one of our clients.


It doesn't work when I try it on my local development database


weird.

thanks for the help though

Avatar
Discard