跳至內容
選單
此問題已被標幟
2 回覆
2881 瀏覽次數

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>