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

Hi all,

I am new to Odoo.

Is there a way to edit the generated pdf po file? if so how can we achive this?


Kind regard,


Chris

Аватар
Відмінити
Найкраща відповідь
  1. Click the Edit PDF tool on the right-hand panel. ...
  2. Use editing tools to add new text, edit text, or update fonts using selections from the Format drop-down list.
  3. Move, add, replace, or resize images using the tools in the Objects list.


Аватар
Відмінити
Найкраща відповідь

Hello chris,


Please find below answer and code it may help you to resolve this issue.

You want to customization with existing file you can inherit the

template id and add your code with inherited id.

Please find code in comment. 

Hope it will be helpful to you.

Thanks & Regards,
Email:    odoo@aktivsoftware.com  

Skype: kalpeshmaheshwari

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

Please find code here :-

Ex:

<template inherit_id="module_name.template_id" id="template_inherited_id">
</template>
This above code help to you inherit template id

If you want to replace template you can use xpath and position='replace'
<xpath expr="write path" position="replace">
</xpath>

if you want to add data inside the template table or div you can use xpath and position='inside'
<xpath expr="write path" position="inside">
</xpath>

if you want to add data before any table or div tag you can use xpath and position='before'
<xpath expr="write path" position="before">
</xpath>

if you want to add data after any table or div tag you can use xpath and position='after'
<xpath expr="write path" position="after">
</xpath>