diff --git a/inventory/models.py b/inventory/models.py index 8a85fd29..9e43c3c1 100644 --- a/inventory/models.py +++ b/inventory/models.py @@ -593,6 +593,7 @@ class AdditionalServices(models.Model, LocalizedNameMixin): class Car(Base): + item_model = models.OneToOneField( ItemModel, models.DO_NOTHING, diff --git a/locale/ar/LC_MESSAGES/django.po b/locale/ar/LC_MESSAGES/django.po index 8bff4a73..a0951ff0 100644 --- a/locale/ar/LC_MESSAGES/django.po +++ b/locale/ar/LC_MESSAGES/django.po @@ -31,10 +31,7 @@ msgstr "" #: templates/inventory/transfer_details.html:89 #: templates/sales/estimates/estimate_detail.html:234 #: templates/sales/estimates/sale_order_form.html:123 -#: templates/sales/estimates/sale_order_preview.html:203 -#: templates/sales/invoices/invoice_detail.html:328 -#: templates/sales/orders/order_details.html:201 -#: templates/sales/orders/order_details.html:503 +#: templates/sales/estimates/sale_or ils.html:503 msgid "VIN" msgstr "رقم الهيكل" diff --git a/static/images/logos/no-content-new.jpg b/static/images/logos/no-content-new.jpg new file mode 100644 index 00000000..e71780d9 Binary files /dev/null and b/static/images/logos/no-content-new.jpg differ diff --git a/templates/crm/leads/lead_list.html b/templates/crm/leads/lead_list.html index 3dd7069c..e61a1a66 100644 --- a/templates/crm/leads/lead_list.html +++ b/templates/crm/leads/lead_list.html @@ -1,9 +1,11 @@ + {% extends 'base.html' %} {% load i18n static humanize %} {% block title %} {{ _("Leads") |capfirst }} {% endblock title %} {% block content %} +{% if page_obj.object_list %}