コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
3515 ビュー

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
1505
0
8月 24
1553
5
8月 23
9726
2
5月 23
2546
1
2月 23
7358