跳至內容
選單
此問題已被標幟
3 回覆
8179 瀏覽次數

How can I delete the template_id of report which is used in delivery module to inherit the delivery order report.

Main Id of the report: report_pickng (in stock module)

inherited report id: report_shipping2 (in delivery module)

I have to override the report_picking report how can I do?

or is there any way to delete the template id (report_shipping2) ?

頭像
捨棄
最佳答案

Hi Krupesh Laiya,

you can use this :


<delete id="stock.report_picking" model="ir.ui.view" />


Try this one

頭像
捨棄
作者

@Vasanth It is used to delete menu not template id.

Sorry. Then try as

@Vasanth, what you suggested is bearly correct and useful to delete a report menu item from the dropdown menu button "Print" (in sale order or stock pickings for example). here is the correct syntaxe: you've chosen the wrong model, that's all

最佳答案

@Vasanth, what you suggested is bearly correct and useful to delete a report menu item from the dropdown menu button "Print" (in sale order or stock pickings for example).

here is the correct syntaxe:

<delete id="stock.report_picking" model="ir.actions.report.xml" />

you've chosen the wrong model, that's all

頭像
捨棄
最佳答案

syntax in odoo v 13 

ir.actions.report" />



頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
11月 21
16341
5
6月 17
9038
5
11月 16
6890
0
8月 16
5131
2
6月 16
3870