Search SIREN and SIRET with identifier type equals to fr_siren

Closes #12237
This commit is contained in:
Cédric Krier
2023-04-29 11:43:02 +02:00
parent 918193aa36
commit 63eddf169f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ class Address(metaclass=PoolMeta):
domain = [
('identifiers', 'where', [
('code', operator, value),
('type', 'in', 'fr_siren'),
('type', '=', 'fr_siren'),
]),
]
# Add party without tax identifier
+1 -1
View File
@@ -22,7 +22,7 @@ class Party(metaclass=PoolMeta):
domain = [
('identifiers', 'where', [
('code', operator, value),
('type', 'in', 'fr_siren'),
('type', '=', 'fr_siren'),
]),
]
# Add party without tax identifier