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

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
نوفمبر 24
1493
0
أغسطس 24
1544
5
أغسطس 23
9708
2
مايو 23
2532
1
فبراير 23
7344