Skip to content

Conversation

@JCavallo
Copy link
Contributor

Fix PCLAS-711

@JCavallo JCavallo added the bug Something isn't working label Mar 19, 2024
@JCavallo JCavallo requested review from a team and nicoe March 19, 2024 10:52
jmousset
jmousset previously approved these changes Mar 19, 2024
@nicoe
Copy link
Collaborator

nicoe commented Mar 20, 2024

Le code en soit est OK (tant qu'à faire il faudrait le patch pour tryton dans tryton/gui/window/view_form/model/field.py)

Par contre ce qui me choque c'est qu'un rec_name puisse être une chaine vide, car alors comment faire la différence entre un M2O avec une valeur et un autre qui vaut NULL ? Ou comment effacer la valeur ?

Je me demande si ce n'est pas plutôt ça qu'on devrait faire.

@JCavallo
Copy link
Contributor Author

@nicoe Là on est sur une vue liste dans une recherche, donc la question de la modification ne se pose pas. Et contextuellement on peut avoir des cas. Après ça pourrait être intéressant d'avoir un "placeholder" pour ça.

@JCavallo JCavallo merged commit ce201f1 into coopengo:master Mar 21, 2024
@JCavallo JCavallo deleted the PCLAS-711/rec_name_can_be_empty_string branch March 21, 2024 16:02
JCavallo added a commit that referenced this pull request Mar 21, 2024
nicoe pushed a commit to nicoe/tryton-coopengo-new that referenced this pull request Sep 3, 2024
nicoe added a commit to nicoe/tryton-coopengo-new that referenced this pull request Sep 26, 2024
nicoe added a commit that referenced this pull request Oct 3, 2024
nicoe added a commit that referenced this pull request Oct 3, 2024
JCavallo pushed a commit that referenced this pull request Oct 23, 2024
JCavallo pushed a commit that referenced this pull request Oct 23, 2024
nicoe pushed a commit to nicoe/tryton-coopengo-new that referenced this pull request Jun 16, 2025
nicoe pushed a commit to nicoe/tryton-coopengo-new that referenced this pull request Jun 19, 2025
nicoe pushed a commit to nicoe/tryton-coopengo-new that referenced this pull request Sep 11, 2025
JCavallo added a commit to JCavallo/tryton that referenced this pull request Sep 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants