Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
1651 Переглядів

good morning, 

/

with reference to odoo online v17 new user.

In my online shop I wrote the item description in = warehouse/products/sales tab/sales description... about 30 - 40 words.

problem: if I create a new quote or order, the description also appears in addition to the name, the document has too many lines!

Solution: I opened app studio / sales / report / opened the: pro forma invoice -- selected at the bottom left: edit html sources

-- which code tag should be deleted to prevent the product description from appearing in the PDF?

                               

Bacon Burger

                               

                                    3

                                    units

                                   

                                        ( )

                                   

                               


I inserted the html code relating to the proforma invoice PDF in the comment.

I don't understand why it resumes a default article: BACON BURGHER, this article doesn't have a long description and therefore I can't understand the solution. 

Has anyone solved this problem? How do you manage description in online articles?

thank you very much






Аватар
Відмінити
Автор

<t t-if="not line.display_type">
<td name="td_name"><span t-field="line.name">Bacon Burger</span></td>
<td name="td_quantity" class="text-end">
<span t-field="line.product_uom_qty">3</span>
<span t-field="line.product_uom">units</span>
<span t-if="line.product_packaging_id">
(<span t-field="line.product_packaging_qty" t-options="{&quot;widget&quot;: &quot;integer&quot;}"/> <span t-field="line.product_packaging_id"/>)
</span>

Автор Найкраща відповідь

To better understand the problem, how can I insert the html into the post?

Аватар
Відмінити

You could add your html in a comment (like this one) to your answer. Alternatively, you have to escape the html and paste this in your answer (see https://www.freeformatter.com/html-escape.html#before-output for a free escape/unescape tool).

Related Posts Відповіді Переглядів Дія
0
груд. 16
2978
2
серп. 25
4662
3
лист. 24
3356
3
вер. 24
3603
1
вер. 24
1188