跳至内容
菜单
此问题已终结
4 回复
2560 查看

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


形象
丢弃
最佳答案

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.

形象
丢弃
编写者 最佳答案

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


Thanks

形象
丢弃
最佳答案

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:


形象
丢弃
最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
0
3月 15
3629
1
7月 25
348
3
7月 25
3056
2
7月 25
536
1
7月 25
1604