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

Is there any way to hide Internal Reference on Quotation and Sales order documents at Odoo Online v15?

I read some topics but all suggest code change, I don't know if I can make change on online.  

形象
丢弃
编写者

Hi Niyas and Lucas, many thanks. I'll try and share the results

最佳答案

Hi,

As you need to do it from UI, enable debug mode, open sale form view, click debugger button, click Edit View form, and along with the product field add 'display_default_code': False in the context.

Thanks

形象
丢弃

It works in Invoice and Inventory operations. Is there any way to achieve the same in Sale Orders?

最佳答案

Yes there are several ways to do this using v15 Odoo SaaS (Odoo online)

1. Using Odoo Studio:

        Open Odoo Studio on the sales order form view (button top right), click 'Reports' along the top, find the quotation/sale order report, select the internal reference field and click 'Remove from View'.

This will hide it on the report.

2. Navigate to Settings > Technical > Views and edit the code directly. This is not advised unless you know what you are doing. 

形象
丢弃
最佳答案

Hello Burak,

If you have to visible the internal reference, user-wise then you can also create the group and assign that group inside internal reference field.

形象
丢弃