跳至内容
菜单
此问题已终结
2 回复
2692 查看

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. 


形象
丢弃
相关帖文 回复 查看 活动
1
11月 24
851
0
8月 24
995
5
8月 23
8991
2
5月 23
1862
1
2月 23
6770