Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
4 Besvarelser
2602 Visninger

When the description gets printed in an invoice report the name gets copied and printed as well.


For example 

product name: ball

description: football sized euro


The invoice shows:

Product: ball

Description: ball  football sized euro


Is it possible to remove the "ball" product name from the description in the invoice? This is a double of the product name that is already listed.


TIA


Avatar
Kassér
Bedste svar

Inherit "account.move.line" model and  override the method "_get_computed_name". Customize it as you want. This method return the value which you see in the invoice as description. Thank You.

Avatar
Kassér
Forfatter Bedste svar

@shivoham @ray, any ideas how to change this please?


Thanks

Avatar
Kassér
Bedste svar

Check your Odoo database for customizations.


The default behavior for an Invoice that looks like this on the screen:


Is to show it like this via the PDF report:


Avatar
Kassér
Bedste svar

Hello,

Yes you can remove the name. For that you have to apply the changes from python code or you can set the fixed string for description field.

shivoham.odoo@gmail.com

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
mar. 15
3641
1
jul. 25
414
3
jul. 25
3081
2
jul. 25
592
1
jul. 25
1665