Search SIREN and SIRET with identifier type equals to fr_siren
Closes #12237
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user