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

Good night,
I have a problem I can't understand how to change the visible name in the print menu for the existing report Purchase Oder to Purchase_Order. How could it be done?

Avatar
Abbandona
Risposta migliore

Hi,

If you need to change it from user interface without code, you can activate the developer mode and navigate to Settings -> Technical -> Actions -> Report, and search Purchase Order, then open the corresponding record and you can change the name as per the need.


If you need to do it from the code, do as follows: 

https://ibb.co/Y4SHzjw


Thanks

Avatar
Abbandona

<record id="purchase.action_report_purchase_order" model="ir.actions.report">

<field name="name">New Name</field>

</record>

Autore

If I do it from the user interface it works correctly, however in my case I want to do it with code, I have tried the code that has been attached to me but it does not work for me, it does not make any changes to me. Why could it be?

Post correlati Risposte Visualizzazioni Attività
1
dic 22
1980
0
feb 24
1163
2
feb 22
2730
0
feb 20
5422
1
mar 19
5103