Billing Entity Management #66

Merged
rixx merged 32 commits from 54-billing-entity-management into main 2025-06-22 15:42:14 +00:00
Showing only changes of commit a3533ed651 - Show all commits

View file

@ -127,10 +127,9 @@ def get_invoice_addresses(user):
email = user.email
or_conditions = [("email", "ilike", email)]
email = user if isinstance(user, str) else user.email
odoo_users = CLIENT.search_read(
model="res.users",
domain=[("login", "=", email)],
domain=[("login", "=", email), ("active", "=", True)],
fields=["id"],
limit=1,
)