Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2389 Visualizzazioni

I want to add report to inventory reports. I wrote this code but after upgrading my custom module new report won't show in inventory print dropdown. How should I add a report to existing inventory reports?

<odoo>
<data>
<report
id="report_card_xls"
string="Print xlsx"
model="stock.picking"
report_type="xlsx"
name="stock.print_badge"
file="stock.print_badge"
print_report_name="'Picking Operations - %s - %s' % (object.partner_id.name or '', object.name)"
/>
</data>
</odoo>
Avatar
Abbandona

Can you make sure that the report action is get added in the db ?

Risposta migliore

Hi,

Can you try after changing the following lines in the code.

name="your_custom_report_module.your_report_custom_template"
file="your_custom_report_module.your_report_custom_template"
Hope it helps
Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
ago 25
518
1
nov 24
1111
0
mar 22
1417
1
giu 20
3047
1
set 15
3870