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

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.


アバター
破棄
最善の回答

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

アバター
破棄
最善の回答

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? 

アバター
破棄
関連投稿 返信 ビュー 活動
3
2月 25
24587
1
8月 24
947
2
1月 24
1276
3
4月 25
801
2
3月 25
599