تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
2882 أدوات العرض

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>