Tardo / OdooTerminal

Webextension tool for Odoo
GNU Affero General Public License v3.0
119 stars 27 forks source link

Error in query, read and search command [BUG] #133

Closed Paologg1 closed 3 months ago

Paologg1 commented 3 months ago

First of all, check that you are using the latest version.

Basic Info. (please complete the following information):

Describe the bug The shortcut to get the model does not work and when you enter it manually it throws the error [!] InvalidValueError: Invalid value 'product.product'

Expected behavior The shortcut has to work correctly and return the expected query.

Screenshots If applicable, cap02 cap01 add screenshots to help explain your problem.

Additional context translated from Spanish to English by DeepL

Tardo commented 3 months ago

Hi! thanks for the report!

Until the patch arrives, you can use: read -m product.product -i XX -f '*' ** Notice the explicit string syntax

Tardo commented 3 months ago

Fixed here: https://github.com/Tardo/OdooTerminal/commit/2e18492ddb16ddba2a86ce8cc72f7bd0b19d1ab0