Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
8184 Lượt xem

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) ?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi Krupesh Laiya,

you can use this :


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


Try this one

Ảnh đại diện
Huỷ bỏ
Tác giả

@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

Câu trả lời hay nhất

@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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

syntax in odoo v 13 

ir.actions.report" />



Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 11 21
16354
5
thg 6 17
9044
5
thg 11 16
6892
0
thg 8 16
5134
2
thg 6 16
3871