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


Commits:
c8f98910 by Cédric Krier at 2023-08-16T09:20:09+02:00
Update _changed_values docstring about Many2Many

Since 41f7d6828fcd Many2Many are managed the same way as One2Many.
- - - - -
ed0e610d by Cédric Krier at 2023-08-16T09:37:26+02:00
Use on_change_result for on_change call

The ModelView.on_change method returns directly the changed values instead of
a list with the changed values.
- - - - -
51273685 by Cédric Krier at 2023-08-16T10:39:16+02:00
Add decorator on RPC
- - - - -
0db956eb by Cédric Krier at 2023-08-16T16:11:51+02:00
Use _changed_values to return result of on_change_with

This allows to support add/update/remove/delete for xxx2many fields and
rec_name for xxx2one and reference fields.

Closes #12473
- - - - -
f45d89eb by Cédric Krier at 2023-08-16T11:37:12+02:00
Do not skip many2many in _changed_values

Like the one2many they should always be processed as they can have been
updated.

Closes #12474
- - - - -


11 changed files:

- proteus/proteus/__init__.py
- sao/src/model.js
- tryton/tryton/gui/window/view_form/model/record.py
- trytond/CHANGELOG
- trytond/doc/ref/rpc.rst
- trytond/trytond/model/fields/field.py
- trytond/trytond/model/fields/function.py
- trytond/trytond/model/modelview.py
- trytond/trytond/protocols/dispatcher.py
- trytond/trytond/rpc.py
- trytond/trytond/tests/test_field_function.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/fa57e120692ef951a2cf2e9b3ae6b65180e09809...f45d89eb8048c28887d2e282a5dc7604bc8d9846

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


Reply via email to