Skip to content
Extraits de code Groupes Projets
Valider a748ccf4 rédigé par Julien - Le Filament's avatar Julien - Le Filament
Parcourir les fichiers

Merge branch '16.0-billing-agent' into '16.0'

[ADD] billing agent

See merge request !1
parents 2d68178b fe0862d6
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!1[ADD] billing agent
......@@ -18,7 +18,7 @@ class PortalAccount(PortalAccount):
domain = expression.AND(
[
[("acc_operation_id", "=", operation.id)],
[("acc_delivery_counter_id", "=", False)],
[("acc_delivery_counter_ids", "=", False)],
[
(
"move_type",
......@@ -40,6 +40,7 @@ class PortalAccount(PortalAccount):
not values.get("isSuperAdmin")
and not values.get("isAdmin")
and not values.get("isPmo")
and not values.get("isBillingAgent")
):
subdomain = expression.OR(
[
......
......@@ -6,7 +6,7 @@
<xpath expr="//li[@id='menu-contact']" position="before">
<li
class="nav-item"
t-if="operation.is_invoicing_surplus_active and (isProductor or isAdmin or isSuperAdmin)"
t-if="operation.is_invoicing_surplus_active and (isProductor or isAdmin or isSuperAdmin or isBillingAgent)"
>
<a
t-attf-href="/operation/#{slug(operation)}/invoices-surplus"
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter