Thursday, July 25, 2019
3 changes · master
Enhancements to existing features
This improves how Odoo reports automated test failures, making the details appear immediately and closer to the relevant test output. It reduces duplicate or unhelpful log messages, helping developers diagnose issues faster without changing business features.
Original PR description
Righ now, the unittest log system is a little bit blurry. -> Using TextTestResult for almost nothing (implementation needs reduced to minimal in OdooTestRunner -> Using a testStream to transform write on stream in logs and filtering crap added by TextTestResult The proposed solution -> Simplified implementation of runner to keep only what we need -> Use a custom OdooTestResult to log errors Side effetcs (or improvements) ->Traceback are now printed in a single log when test fails, not at the end of the suite This is particularly convenient if a test logs some info when failing, traceback will be display next to it. -> Less 'useless' error logs like 'FAILED'
The manual replenishment source document label can now appear in the user's language, such as Chinese. This improves clarity for international users creating purchase requests from product replenishment.
Original PR description
Description of the issue/feature this PR addresses: Let "Manual Replenishment" translatable. Current behavior before PR: Use the button **Replenish** on product form view. A new Requests for Quotation is created with Source Document set to "Manual Replenishment". Desired behavior after PR is merged: Use the button **Replenish** on product form view. In China, A new Requests for Quotation is created with Source Document set to "手动补给". -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The web interface now allows domain field dialogs to receive context from the surrounding screen. This helps dialogs show more relevant options and behave consistently with the user’s current workflow.
Original PR description
Description of the issue/feature this PR addresses: Extends the domain field widget. Current behavior before PR: No context can be passed to the dialog. Desired behavior after PR is merged: Context can be passed to the dialog. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr