Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4 Odpovědi
2564 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Autor Nejlepší odpověď

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


Thanks

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
bře 15
3632
1
čvc 25
360
3
čvc 25
3061
2
čvc 25
547
1
čvc 25
1614