Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
3296 มุมมอง

Hi. I have oddo 16 online.

I need to modify the price list report, in Product -> Select products -> Action -> Generate price list report -> Print.


How can I modify the generated pdf? for example, to add image, logo, etc.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

In Odoo, you can customize reports using the Odoo Studio or by creating custom modules. Here are general steps for modifying a price list report:

Using Odoo Studio:

  1. Access Odoo Studio:
    • Go to the Odoo backend.
    • Click on the "Apps" module.
    • Search for and install "Odoo Studio."
  2. Activate Studio Mode:
    • Open the app you want to customize (e.g., Sales).
    • Click on the "Customize" button on the top bar to enter Studio mode.
  3. Edit the Report:
    • Navigate to the "Reports" menu.
    • Locate and select the Price List report you want to modify.
    • Use the Studio tools to edit the report template, add/remove fields, or customize the layout.
  4. Save and Apply Changes:
    • Save your changes.
    • Exit Studio mode.

Using Custom Modules:

  1. Create a Custom Module:
    • Develop a custom module to extend or override existing reports.
  2. Identify the Report Template:
    • Locate the XML or QWeb template file associated with the Price List report you want to modify. The report templates are usually found in the report directory of the module.
  3. Edit the Template:
    • Open the identified template file in a code editor.
    • Modify the XML or QWeb code to make the desired changes to the report layout and content.
  4. Update the Module:
    • Update your custom module to apply the changes.
    • Restart the Odoo server.
  5. Test the Changes:
    • Access the Price List report and verify that your modifications are reflected.


Hope it helps

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

The report can be edited using Odoo's Studio tool.
Open up Studio in any app -> Look for reports -> Open 'Pricelist' -> Use Studio to drag and drop fields as necessary

Generate the price list again and print it again. 


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
พ.ย. 24
1372
0
ส.ค. 24
1453
Multiple Report Printing at one button. แก้ไขแล้ว
5
ส.ค. 23
9562
2
พ.ค. 23
2435
1
ก.พ. 23
7235