Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
1619 Представления

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
2934
2
авг. 25
4605
3
нояб. 24
3272
3
сент. 24
3549
1
сент. 24
1165