Open jcfernandez-890825 opened 5 months ago
Hi @jcfernandez-890825,
We already have:
odoo.model.xxx
for recordsetsodoo.values.xxx
for recordset dict valuesHere are my ideas for external ids:
odoo.xid
for external idsodoo.xid.xxx
for external ids of model xxx
Here are my ideas for external ids:
odoo.xid
for external idsodoo.xid.xxx
for external ids of modelxxx
Awesome, this feature will be great !!!
Could we have another one for field iterators? set, list, tuple, ...
Here are my ideas for external ids:
odoo.xid
for external idsodoo.xid.xxx
for external ids of modelxxx
Awesome, this feature will be great !!!
Could we have another one for field iterators?
set, list, tuple, ...
I also want to have a flexible type hints for field names. Here are my ideas:
odoo.fname.xxx
for field name of model xxx
list[odoo.fname.xxx]
for list of field namesThe implementation will be more challenging, though.
Here are my ideas for external ids:
odoo.xid
for external idsodoo.xid.xxx
for external ids of modelxxx
Awesome, this feature will be great !!! Could we have another one for field iterators?
set, list, tuple, ...
I also want to have a flexible type hints for field names. Here are my ideas:
odoo.fname.xxx
for field name of modelxxx
list[odoo.fname.xxx]
for list of field names- ...
The implementation will be more challenging, though.
This will be great too. Can't wait to use it.
I'm making this helper module
Could we add a new type hint when we want to specify that a parament/variable must have an Odoo XML-ID string?
So if the XML-ID is not correctly typed,
account.action_move_journal_linesssss
should beaccount.action_move_journal_line
we get a warning?