Skip to Content
Menu
This question has been flagged
2 Replies
1144 Views

I hope this message finds you well. I am currently facing a critical issue while trying to modify a quotation in odoo Studio. An error message is consistently generated, impeding my progress. To provide clarity and facilitate troubleshooting, I have captured a screenshot of the error.

f anyone has encountered a similar problem or has expertise in resolving Doo Studio errors, your assistance would be greatly appreciated. Please share any insights, solutions, or workarounds you may have.

Thank you in advance for your time and support.


Avatar
Discard
Best Answer

Hi Nabil,

It looks like you're encountering a syntax error while trying to modify a quotation in Odoo Studio. Although the image you provided isn't suitable for error evaluation, based on your description, the issue appears to be related to a syntax error within the compute method of the print_report_name field in a report record.

To resolve this, follow these steps:

  1. Access Odoo Studio: Log in to your Odoo instance and navigate to the "Reports" section.
  2. Identify the Problematic Report: Locate the specific report record that is causing the error.
  3. Edit the print_report_name Field:
    • Within the report record, locate the print_report_name field.
    • Review the Python expression associated with this field for any syntax errors.
  4. Correct the Syntax:
    • Check for missing parentheses, commas, or other syntax elements in the expression.
    • Ensure that the expression conforms to proper Python syntax rules.
  5. Save Changes: After making the necessary corrections, save the changes to the report record.
  6. Test the Quotation: Try modifying a quotation again to verify that the syntax error has been resolved.

By following these steps, you should be able to fix the syntax error and ensure that the print_report_name field functions correctly within Odoo Studio.

Hope it helps

Avatar
Discard
Best Answer

Hi Ababou nabil,

You screenshot does not show the entire error message.  Maybe copy the entire text?  I assume you modified the form?  Did you only use studio or did you also change the XML directly? 

Avatar
Discard
Related Posts Replies Views Activity
3
Feb 25
24502
1
Aug 24
926
2
Jan 24
1267
3
Apr 25
778
2
Mar 25
569