odoo-ide / pycharm-odoo

PyCharm plugin for Odoo
https://plugins.jetbrains.com/plugin/13499-odoo
Other
44 stars 5 forks source link

Field type validation #482

Open pnajman-modoolar opened 2 months ago

pnajman-modoolar commented 2 months ago

Hi guys,

I've been using your plugin for about 2 years and I love what you have here.

I've found something and I was wondering if you could do something about it and it's related to the field type validation.

Below is a definition of the related field "customer_lead" from the model "sale.order.line" with invalid field type "Date". Selection_1463

Valid field type in this case is "Float" as it can he seen here

From the plugin I would expect following:

  1. Report field definition as invalid
  2. Suggest the appropriate field type

PyCharm Version Selection_1464

Odoo Plugin Version Selection_1465

Thank you and keep up the good work, Petar

trinhanhngoc commented 2 months ago

Hello @pnajman-modoolar ,

Field type validation has been in my head for a long time. Your request will help me prioritise it. Please wait for it in upcoming versions. Thank you!