diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2020-09-04 12:13:16 +0000 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2020-09-04 15:11:41 +0000 |
| commit | 3783654b87851bdeb11e32da78bb5b62865b869a (patch) | |
| tree | 292cd1bc65f5c1e63d0b417bb0f8dddd028f3ed4 /setup/package.dfsrc | |
| parent | 24b0b6f07f65b6151d1d06150e376320a44fd20a (diff) | |
[FIX] website_form: have several date picker
When multiple date (or datetime) pickers are added to a website form,
the uniqueId value is used to differenciate them thanks to 694af9a19a.
It works well in a lot of case (eg. when adding several field at the
same time, or by change because other code consume uniqueId) but in this
scenario:
- add a date field on a form
- save
- add a date field on a form
it is possible have the second field targetting the first one because
they have the same `'datepicket'+uniqueId()` ID. This happens because
uniqueId is reset at each page opening.
found when working on opw-2326882
closes #57092
closes odoo/odoo#57109
X-original-commit: 75ad994a628ef0d994b44cf6e25fd5340c3ecafd
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'setup/package.dfsrc')
0 files changed, 0 insertions, 0 deletions
