Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
a3fe79bf by Cédric Krier at 2025-03-31T20:01:42+02:00
Test if views attribute is empty using jQuery.isEmptyObject

The views attribute can be just an empty object when the xxx2Many field is
using a different widget like a multiselection.

Closes #13917
- - - - -
9b47a592 by Cédric Krier at 2025-03-31T20:04:51+02:00
Do not fill mode and views for relation field without views

It is useless to send those attributes as they will not be used by the client.
- - - - -


2 changed files:

- sao/src/model.js
- trytond/trytond/model/modelview.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/383b2df462a149197e6e795d595aa3ae1d07f611...9b47a59267597256391a31606433f6b7d32d0c68

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/383b2df462a149197e6e795d595aa3ae1d07f611...9b47a59267597256391a31606433f6b7d32d0c68
You're receiving this email because of your account on foss.heptapod.net.

Reply via email to