Nasreddin Boulif (bon) ae32bfea53 [FIX] web: update domain (selector) when '(not) in' operator used
Steps to reproduce:

- Install mass_mailing module (for test purpose)
- Create a new mailing and change `Recipients` to `contact`
- Add a new node in the domain (by clicking on +) and set :
  Field => `Zip`, Operator => `in`, Value => `123`
- click on + next to value

Issue:

  Domain is not updated (same issue with `not in`).

Cause:

  When adding a new value to the domain, a div is added with the value
  and a cross button (to remove the value from domain).
  The button have a `t-on-click` attribute that call a function
  (removeTag(tag_index)) and therefore as soon as the div is added,
  the function is called.

Solution:

  Use `() => func(arg)` syntax instead to be able to call the function
  with arguments only when button is clicked.

opw-3099583

closes odoo/odoo#111714

X-original-commit: f9a9f2da88a68040642231db2489e134d1f8096a
Signed-off-by: Michaël Mattiello <mcm@odoo.com>
Signed-off-by: Nasreddin Boulif (bon) <bon@odoo.com>
2023-02-03 06:06:07 +01:00
2023-02-03 06:05:48 +01:00
2023-01-03 13:16:02 +01:00
…
…
…
2023-01-03 13:16:02 +01:00
2023-01-03 13:16:02 +01:00

Build Status Tech Doc Help Nightly Builds

Odoo

Odoo is a suite of web based open source business apps.

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...

Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

Getting started with Odoo

For a standard installation please follow the Setup instructions from the documentation.

To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%