3
0
Fork 0
mirror of https://github.com/nanoy42/coope synced 2024-11-25 12:53:11 +00:00
coope/docs/_build/html/gestion.html

4286 lines
300 KiB
HTML
Raw Normal View History

2019-02-28 12:18:41 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>gestion package &#8212; Documentation CoopeV3 3.4.0</title>
<link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="_static/language_data.js"></script>
<script type="text/javascript" src="_static/translations.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Recherche" href="search.html" />
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
</head><body>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="gestion-package">
<h1>gestion package<a class="headerlink" href="#gestion-package" title="Lien permanent vers ce titre"></a></h1>
<div class="section" id="subpackages">
<h2>Subpackages<a class="headerlink" href="#subpackages" title="Lien permanent vers ce titre"></a></h2>
<div class="toctree-wrapper compound">
</div>
</div>
<div class="section" id="submodules">
<h2>Submodules<a class="headerlink" href="#submodules" title="Lien permanent vers ce titre"></a></h2>
</div>
<div class="section" id="module-gestion.admin">
<span id="gestion-admin-module"></span><h2>gestion.admin module<a class="headerlink" href="#module-gestion.admin" title="Lien permanent vers ce titre"></a></h2>
<dl class="class">
<dt id="gestion.admin.ConsumptionAdmin">
<em class="property">class </em><code class="descclassname">gestion.admin.</code><code class="descname">ConsumptionAdmin</code><span class="sig-paren">(</span><em>model</em>, <em>admin_site</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.admin.ConsumptionAdmin" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">simple_history.admin.SimpleHistoryAdmin</span></code></p>
<dl class="attribute">
<dt id="gestion.admin.ConsumptionAdmin.list_display">
<code class="descname">list_display</code><em class="property"> = ('customer', 'product', 'quantity')</em><a class="headerlink" href="#gestion.admin.ConsumptionAdmin.list_display" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.ConsumptionAdmin.media">
<code class="descname">media</code><a class="headerlink" href="#gestion.admin.ConsumptionAdmin.media" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.ConsumptionAdmin.ordering">
<code class="descname">ordering</code><em class="property"> = ('-quantity',)</em><a class="headerlink" href="#gestion.admin.ConsumptionAdmin.ordering" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.ConsumptionAdmin.search_fields">
<code class="descname">search_fields</code><em class="property"> = ('customer', 'product')</em><a class="headerlink" href="#gestion.admin.ConsumptionAdmin.search_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.admin.ConsumptionHistoryAdmin">
<em class="property">class </em><code class="descclassname">gestion.admin.</code><code class="descname">ConsumptionHistoryAdmin</code><span class="sig-paren">(</span><em>model</em>, <em>admin_site</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.admin.ConsumptionHistoryAdmin" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">simple_history.admin.SimpleHistoryAdmin</span></code></p>
<dl class="attribute">
<dt id="gestion.admin.ConsumptionHistoryAdmin.list_display">
<code class="descname">list_display</code><em class="property"> = ('customer', 'product', 'quantity', 'paymentMethod', 'date', 'amount')</em><a class="headerlink" href="#gestion.admin.ConsumptionHistoryAdmin.list_display" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.ConsumptionHistoryAdmin.list_filter">
<code class="descname">list_filter</code><em class="property"> = ('paymentMethod',)</em><a class="headerlink" href="#gestion.admin.ConsumptionHistoryAdmin.list_filter" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.ConsumptionHistoryAdmin.media">
<code class="descname">media</code><a class="headerlink" href="#gestion.admin.ConsumptionHistoryAdmin.media" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.ConsumptionHistoryAdmin.ordering">
<code class="descname">ordering</code><em class="property"> = ('-date',)</em><a class="headerlink" href="#gestion.admin.ConsumptionHistoryAdmin.ordering" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.ConsumptionHistoryAdmin.search_fields">
<code class="descname">search_fields</code><em class="property"> = ('customer', 'product')</em><a class="headerlink" href="#gestion.admin.ConsumptionHistoryAdmin.search_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.admin.KegAdmin">
<em class="property">class </em><code class="descclassname">gestion.admin.</code><code class="descname">KegAdmin</code><span class="sig-paren">(</span><em>model</em>, <em>admin_site</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.admin.KegAdmin" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">simple_history.admin.SimpleHistoryAdmin</span></code></p>
<dl class="attribute">
<dt id="gestion.admin.KegAdmin.list_display">
<code class="descname">list_display</code><em class="property"> = ('name', 'stockHold', 'capacity', 'is_active')</em><a class="headerlink" href="#gestion.admin.KegAdmin.list_display" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.KegAdmin.list_filter">
<code class="descname">list_filter</code><em class="property"> = ('capacity', 'is_active')</em><a class="headerlink" href="#gestion.admin.KegAdmin.list_filter" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.KegAdmin.media">
<code class="descname">media</code><a class="headerlink" href="#gestion.admin.KegAdmin.media" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.KegAdmin.ordering">
<code class="descname">ordering</code><em class="property"> = ('name',)</em><a class="headerlink" href="#gestion.admin.KegAdmin.ordering" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.KegAdmin.search_fields">
<code class="descname">search_fields</code><em class="property"> = ('name',)</em><a class="headerlink" href="#gestion.admin.KegAdmin.search_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.admin.KegHistoryAdmin">
<em class="property">class </em><code class="descclassname">gestion.admin.</code><code class="descname">KegHistoryAdmin</code><span class="sig-paren">(</span><em>model</em>, <em>admin_site</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.admin.KegHistoryAdmin" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">simple_history.admin.SimpleHistoryAdmin</span></code></p>
<dl class="attribute">
<dt id="gestion.admin.KegHistoryAdmin.list_display">
<code class="descname">list_display</code><em class="property"> = ('keg', 'openingDate', 'closingDate', 'isCurrentKegHistory', 'quantitySold')</em><a class="headerlink" href="#gestion.admin.KegHistoryAdmin.list_display" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.KegHistoryAdmin.list_filter">
<code class="descname">list_filter</code><em class="property"> = ('isCurrentKegHistory', 'keg')</em><a class="headerlink" href="#gestion.admin.KegHistoryAdmin.list_filter" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.KegHistoryAdmin.media">
<code class="descname">media</code><a class="headerlink" href="#gestion.admin.KegHistoryAdmin.media" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.KegHistoryAdmin.ordering">
<code class="descname">ordering</code><em class="property"> = ('-openingDate', 'quantitySold')</em><a class="headerlink" href="#gestion.admin.KegHistoryAdmin.ordering" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.KegHistoryAdmin.search_fields">
<code class="descname">search_fields</code><em class="property"> = ('keg',)</em><a class="headerlink" href="#gestion.admin.KegHistoryAdmin.search_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.admin.MenuAdmin">
<em class="property">class </em><code class="descclassname">gestion.admin.</code><code class="descname">MenuAdmin</code><span class="sig-paren">(</span><em>model</em>, <em>admin_site</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.admin.MenuAdmin" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">simple_history.admin.SimpleHistoryAdmin</span></code></p>
<dl class="attribute">
<dt id="gestion.admin.MenuAdmin.list_display">
<code class="descname">list_display</code><em class="property"> = ('name', 'amount', 'is_active')</em><a class="headerlink" href="#gestion.admin.MenuAdmin.list_display" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.MenuAdmin.list_filter">
<code class="descname">list_filter</code><em class="property"> = ('is_active',)</em><a class="headerlink" href="#gestion.admin.MenuAdmin.list_filter" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.MenuAdmin.media">
<code class="descname">media</code><a class="headerlink" href="#gestion.admin.MenuAdmin.media" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.MenuAdmin.ordering">
<code class="descname">ordering</code><em class="property"> = ('name', 'amount')</em><a class="headerlink" href="#gestion.admin.MenuAdmin.ordering" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.MenuAdmin.search_fields">
<code class="descname">search_fields</code><em class="property"> = ('name',)</em><a class="headerlink" href="#gestion.admin.MenuAdmin.search_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.admin.MenuHistoryAdmin">
<em class="property">class </em><code class="descclassname">gestion.admin.</code><code class="descname">MenuHistoryAdmin</code><span class="sig-paren">(</span><em>model</em>, <em>admin_site</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.admin.MenuHistoryAdmin" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">simple_history.admin.SimpleHistoryAdmin</span></code></p>
<dl class="attribute">
<dt id="gestion.admin.MenuHistoryAdmin.list_display">
<code class="descname">list_display</code><em class="property"> = ('customer', 'menu', 'paymentMethod', 'date', 'quantity', 'amount')</em><a class="headerlink" href="#gestion.admin.MenuHistoryAdmin.list_display" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.MenuHistoryAdmin.media">
<code class="descname">media</code><a class="headerlink" href="#gestion.admin.MenuHistoryAdmin.media" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.MenuHistoryAdmin.ordering">
<code class="descname">ordering</code><em class="property"> = ('-date',)</em><a class="headerlink" href="#gestion.admin.MenuHistoryAdmin.ordering" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.MenuHistoryAdmin.search_fields">
<code class="descname">search_fields</code><em class="property"> = ('customer', 'menu')</em><a class="headerlink" href="#gestion.admin.MenuHistoryAdmin.search_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.admin.ProductAdmin">
<em class="property">class </em><code class="descclassname">gestion.admin.</code><code class="descname">ProductAdmin</code><span class="sig-paren">(</span><em>model</em>, <em>admin_site</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.admin.ProductAdmin" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">simple_history.admin.SimpleHistoryAdmin</span></code></p>
<dl class="attribute">
<dt id="gestion.admin.ProductAdmin.list_display">
<code class="descname">list_display</code><em class="property"> = ('name', 'amount', 'is_active', 'category', 'adherentRequired', 'stockHold', 'stockBar', 'volume', 'deg')</em><a class="headerlink" href="#gestion.admin.ProductAdmin.list_display" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.ProductAdmin.list_filter">
<code class="descname">list_filter</code><em class="property"> = ('is_active', 'adherentRequired', 'category')</em><a class="headerlink" href="#gestion.admin.ProductAdmin.list_filter" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.ProductAdmin.media">
<code class="descname">media</code><a class="headerlink" href="#gestion.admin.ProductAdmin.media" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.ProductAdmin.ordering">
<code class="descname">ordering</code><em class="property"> = ('name', 'amount', 'stockHold', 'stockBar', 'deg')</em><a class="headerlink" href="#gestion.admin.ProductAdmin.ordering" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.ProductAdmin.search_fields">
<code class="descname">search_fields</code><em class="property"> = ('name',)</em><a class="headerlink" href="#gestion.admin.ProductAdmin.search_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.admin.RefundAdmin">
<em class="property">class </em><code class="descclassname">gestion.admin.</code><code class="descname">RefundAdmin</code><span class="sig-paren">(</span><em>model</em>, <em>admin_site</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.admin.RefundAdmin" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">simple_history.admin.SimpleHistoryAdmin</span></code></p>
<dl class="attribute">
<dt id="gestion.admin.RefundAdmin.list_display">
<code class="descname">list_display</code><em class="property"> = ('customer', 'amount', 'date')</em><a class="headerlink" href="#gestion.admin.RefundAdmin.list_display" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.RefundAdmin.media">
<code class="descname">media</code><a class="headerlink" href="#gestion.admin.RefundAdmin.media" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.RefundAdmin.ordering">
<code class="descname">ordering</code><em class="property"> = ('-date', 'amount', 'customer')</em><a class="headerlink" href="#gestion.admin.RefundAdmin.ordering" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.RefundAdmin.search_fields">
<code class="descname">search_fields</code><em class="property"> = ('customer',)</em><a class="headerlink" href="#gestion.admin.RefundAdmin.search_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.admin.ReloadAdmin">
<em class="property">class </em><code class="descclassname">gestion.admin.</code><code class="descname">ReloadAdmin</code><span class="sig-paren">(</span><em>model</em>, <em>admin_site</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.admin.ReloadAdmin" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">simple_history.admin.SimpleHistoryAdmin</span></code></p>
<dl class="attribute">
<dt id="gestion.admin.ReloadAdmin.list_display">
<code class="descname">list_display</code><em class="property"> = ('customer', 'amount', 'date', 'PaymentMethod')</em><a class="headerlink" href="#gestion.admin.ReloadAdmin.list_display" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.ReloadAdmin.list_filter">
<code class="descname">list_filter</code><em class="property"> = ('PaymentMethod',)</em><a class="headerlink" href="#gestion.admin.ReloadAdmin.list_filter" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.ReloadAdmin.media">
<code class="descname">media</code><a class="headerlink" href="#gestion.admin.ReloadAdmin.media" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.ReloadAdmin.ordering">
<code class="descname">ordering</code><em class="property"> = ('-date', 'amount', 'customer')</em><a class="headerlink" href="#gestion.admin.ReloadAdmin.ordering" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.admin.ReloadAdmin.search_fields">
<code class="descname">search_fields</code><em class="property"> = ('customer',)</em><a class="headerlink" href="#gestion.admin.ReloadAdmin.search_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
</dd></dl>
</div>
<div class="section" id="module-gestion.apps">
<span id="gestion-apps-module"></span><h2>gestion.apps module<a class="headerlink" href="#module-gestion.apps" title="Lien permanent vers ce titre"></a></h2>
<dl class="class">
<dt id="gestion.apps.GestionConfig">
<em class="property">class </em><code class="descclassname">gestion.apps.</code><code class="descname">GestionConfig</code><span class="sig-paren">(</span><em>app_name</em>, <em>app_module</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.apps.GestionConfig" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.apps.config.AppConfig</span></code></p>
<dl class="attribute">
<dt id="gestion.apps.GestionConfig.name">
<code class="descname">name</code><em class="property"> = 'gestion'</em><a class="headerlink" href="#gestion.apps.GestionConfig.name" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
</dd></dl>
</div>
<div class="section" id="module-gestion.environment">
<span id="gestion-environment-module"></span><h2>gestion.environment module<a class="headerlink" href="#module-gestion.environment" title="Lien permanent vers ce titre"></a></h2>
<dl class="function">
<dt id="gestion.environment.latex_safe">
<code class="descclassname">gestion.environment.</code><code class="descname">latex_safe</code><span class="sig-paren">(</span><em>value</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.environment.latex_safe" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="function">
<dt id="gestion.environment.my_environment">
<code class="descclassname">gestion.environment.</code><code class="descname">my_environment</code><span class="sig-paren">(</span><em>**options</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.environment.my_environment" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
</div>
<div class="section" id="module-gestion.forms">
<span id="gestion-forms-module"></span><h2>gestion.forms module<a class="headerlink" href="#module-gestion.forms" title="Lien permanent vers ce titre"></a></h2>
<dl class="class">
<dt id="gestion.forms.GenerateReleveForm">
<em class="property">class </em><code class="descclassname">gestion.forms.</code><code class="descname">GenerateReleveForm</code><span class="sig-paren">(</span><em>data=None</em>, <em>files=None</em>, <em>auto_id='id_%s'</em>, <em>prefix=None</em>, <em>initial=None</em>, <em>error_class=&lt;class 'django.forms.utils.ErrorList'&gt;</em>, <em>label_suffix=None</em>, <em>empty_permitted=False</em>, <em>field_order=None</em>, <em>use_required_attribute=None</em>, <em>renderer=None</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.forms.GenerateReleveForm" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.forms.forms.Form</span></code></p>
<dl class="attribute">
<dt id="gestion.forms.GenerateReleveForm.base_fields">
<code class="descname">base_fields</code><em class="property"> = {'begin': &lt;django.forms.fields.DateTimeField object&gt;, 'end': &lt;django.forms.fields.DateTimeField object&gt;}</em><a class="headerlink" href="#gestion.forms.GenerateReleveForm.base_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.forms.GenerateReleveForm.declared_fields">
<code class="descname">declared_fields</code><em class="property"> = {'begin': &lt;django.forms.fields.DateTimeField object&gt;, 'end': &lt;django.forms.fields.DateTimeField object&gt;}</em><a class="headerlink" href="#gestion.forms.GenerateReleveForm.declared_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.forms.GenerateReleveForm.media">
<code class="descname">media</code><a class="headerlink" href="#gestion.forms.GenerateReleveForm.media" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.forms.GestionForm">
<em class="property">class </em><code class="descclassname">gestion.forms.</code><code class="descname">GestionForm</code><span class="sig-paren">(</span><em>data=None</em>, <em>files=None</em>, <em>auto_id='id_%s'</em>, <em>prefix=None</em>, <em>initial=None</em>, <em>error_class=&lt;class 'django.forms.utils.ErrorList'&gt;</em>, <em>label_suffix=None</em>, <em>empty_permitted=False</em>, <em>field_order=None</em>, <em>use_required_attribute=None</em>, <em>renderer=None</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.forms.GestionForm" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.forms.forms.Form</span></code></p>
<dl class="attribute">
<dt id="gestion.forms.GestionForm.base_fields">
<code class="descname">base_fields</code><em class="property"> = {'client': &lt;django.forms.models.ModelChoiceField object&gt;, 'product': &lt;django.forms.models.ModelChoiceField object&gt;}</em><a class="headerlink" href="#gestion.forms.GestionForm.base_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.forms.GestionForm.declared_fields">
<code class="descname">declared_fields</code><em class="property"> = {'client': &lt;django.forms.models.ModelChoiceField object&gt;, 'product': &lt;django.forms.models.ModelChoiceField object&gt;}</em><a class="headerlink" href="#gestion.forms.GestionForm.declared_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.forms.GestionForm.media">
<code class="descname">media</code><a class="headerlink" href="#gestion.forms.GestionForm.media" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.forms.KegForm">
<em class="property">class </em><code class="descclassname">gestion.forms.</code><code class="descname">KegForm</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.forms.KegForm" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.forms.models.ModelForm</span></code></p>
<dl class="class">
<dt id="gestion.forms.KegForm.Meta">
<em class="property">class </em><code class="descname">Meta</code><a class="headerlink" href="#gestion.forms.KegForm.Meta" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<dl class="attribute">
<dt id="gestion.forms.KegForm.Meta.exclude">
<code class="descname">exclude</code><em class="property"> = ('is_active',)</em><a class="headerlink" href="#gestion.forms.KegForm.Meta.exclude" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.forms.KegForm.Meta.model">
<code class="descname">model</code><a class="headerlink" href="#gestion.forms.KegForm.Meta.model" title="Lien permanent vers cette définition"></a></dt>
<dd><p>alias de <a class="reference internal" href="#gestion.models.Keg" title="gestion.models.Keg"><code class="xref py py-class docutils literal notranslate"><span class="pre">gestion.models.Keg</span></code></a></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.forms.KegForm.Meta.widgets">
<code class="descname">widgets</code><em class="property"> = {'amount': &lt;class 'django.forms.widgets.TextInput'&gt;}</em><a class="headerlink" href="#gestion.forms.KegForm.Meta.widgets" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="attribute">
<dt id="gestion.forms.KegForm.base_fields">
<code class="descname">base_fields</code><em class="property"> = {'amount': &lt;django.forms.fields.DecimalField object&gt;, 'barcode': &lt;django.forms.fields.CharField object&gt;, 'capacity': &lt;django.forms.fields.IntegerField object&gt;, 'demi': &lt;django.forms.models.ModelChoiceField object&gt;, 'galopin': &lt;django.forms.models.ModelChoiceField object&gt;, 'name': &lt;django.forms.fields.CharField object&gt;, 'pinte': &lt;django.forms.models.ModelChoiceField object&gt;, 'stockHold': &lt;django.forms.fields.IntegerField object&gt;}</em><a class="headerlink" href="#gestion.forms.KegForm.base_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.forms.KegForm.declared_fields">
<code class="descname">declared_fields</code><em class="property"> = {}</em><a class="headerlink" href="#gestion.forms.KegForm.declared_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.forms.KegForm.media">
<code class="descname">media</code><a class="headerlink" href="#gestion.forms.KegForm.media" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.forms.MenuForm">
<em class="property">class </em><code class="descclassname">gestion.forms.</code><code class="descname">MenuForm</code><span class="sig-paren">(</span><em>data=None</em>, <em>files=None</em>, <em>auto_id='id_%s'</em>, <em>prefix=None</em>, <em>initial=None</em>, <em>error_class=&lt;class 'django.forms.utils.ErrorList'&gt;</em>, <em>label_suffix=None</em>, <em>empty_permitted=False</em>, <em>instance=None</em>, <em>use_required_attribute=None</em>, <em>renderer=None</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.forms.MenuForm" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.forms.models.ModelForm</span></code></p>
<dl class="class">
<dt id="gestion.forms.MenuForm.Meta">
<em class="property">class </em><code class="descname">Meta</code><a class="headerlink" href="#gestion.forms.MenuForm.Meta" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<dl class="attribute">
<dt id="gestion.forms.MenuForm.Meta.fields">
<code class="descname">fields</code><em class="property"> = '__all__'</em><a class="headerlink" href="#gestion.forms.MenuForm.Meta.fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.forms.MenuForm.Meta.model">
<code class="descname">model</code><a class="headerlink" href="#gestion.forms.MenuForm.Meta.model" title="Lien permanent vers cette définition"></a></dt>
<dd><p>alias de <a class="reference internal" href="#gestion.models.Menu" title="gestion.models.Menu"><code class="xref py py-class docutils literal notranslate"><span class="pre">gestion.models.Menu</span></code></a></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.forms.MenuForm.Meta.widgets">
<code class="descname">widgets</code><em class="property"> = {'amount': &lt;class 'django.forms.widgets.TextInput'&gt;}</em><a class="headerlink" href="#gestion.forms.MenuForm.Meta.widgets" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="attribute">
<dt id="gestion.forms.MenuForm.base_fields">
<code class="descname">base_fields</code><em class="property"> = {'amount': &lt;django.forms.fields.DecimalField object&gt;, 'articles': &lt;django.forms.models.ModelMultipleChoiceField object&gt;, 'barcode': &lt;django.forms.fields.CharField object&gt;, 'is_active': &lt;django.forms.fields.BooleanField object&gt;, 'name': &lt;django.forms.fields.CharField object&gt;}</em><a class="headerlink" href="#gestion.forms.MenuForm.base_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.forms.MenuForm.declared_fields">
<code class="descname">declared_fields</code><em class="property"> = {}</em><a class="headerlink" href="#gestion.forms.MenuForm.declared_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.forms.MenuForm.media">
<code class="descname">media</code><a class="headerlink" href="#gestion.forms.MenuForm.media" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.forms.PinteForm">
<em class="property">class </em><code class="descclassname">gestion.forms.</code><code class="descname">PinteForm</code><span class="sig-paren">(</span><em>data=None</em>, <em>files=None</em>, <em>auto_id='id_%s'</em>, <em>prefix=None</em>, <em>initial=None</em>, <em>error_class=&lt;class 'django.forms.utils.ErrorList'&gt;</em>, <em>label_suffix=None</em>, <em>empty_permitted=False</em>, <em>field_order=None</em>, <em>use_required_attribute=None</em>, <em>renderer=None</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.forms.PinteForm" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.forms.forms.Form</span></code></p>
<dl class="attribute">
<dt id="gestion.forms.PinteForm.base_fields">
<code class="descname">base_fields</code><em class="property"> = {'begin': &lt;django.forms.fields.IntegerField object&gt;, 'end': &lt;django.forms.fields.IntegerField object&gt;, 'ids': &lt;django.forms.fields.CharField object&gt;}</em><a class="headerlink" href="#gestion.forms.PinteForm.base_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.forms.PinteForm.declared_fields">
<code class="descname">declared_fields</code><em class="property"> = {'begin': &lt;django.forms.fields.IntegerField object&gt;, 'end': &lt;django.forms.fields.IntegerField object&gt;, 'ids': &lt;django.forms.fields.CharField object&gt;}</em><a class="headerlink" href="#gestion.forms.PinteForm.declared_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.forms.PinteForm.media">
<code class="descname">media</code><a class="headerlink" href="#gestion.forms.PinteForm.media" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.forms.ProductForm">
<em class="property">class </em><code class="descclassname">gestion.forms.</code><code class="descname">ProductForm</code><span class="sig-paren">(</span><em>data=None</em>, <em>files=None</em>, <em>auto_id='id_%s'</em>, <em>prefix=None</em>, <em>initial=None</em>, <em>error_class=&lt;class 'django.forms.utils.ErrorList'&gt;</em>, <em>label_suffix=None</em>, <em>empty_permitted=False</em>, <em>instance=None</em>, <em>use_required_attribute=None</em>, <em>renderer=None</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.forms.ProductForm" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.forms.models.ModelForm</span></code></p>
<dl class="class">
<dt id="gestion.forms.ProductForm.Meta">
<em class="property">class </em><code class="descname">Meta</code><a class="headerlink" href="#gestion.forms.ProductForm.Meta" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<dl class="attribute">
<dt id="gestion.forms.ProductForm.Meta.fields">
<code class="descname">fields</code><em class="property"> = '__all__'</em><a class="headerlink" href="#gestion.forms.ProductForm.Meta.fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.forms.ProductForm.Meta.model">
<code class="descname">model</code><a class="headerlink" href="#gestion.forms.ProductForm.Meta.model" title="Lien permanent vers cette définition"></a></dt>
<dd><p>alias de <a class="reference internal" href="#gestion.models.Product" title="gestion.models.Product"><code class="xref py py-class docutils literal notranslate"><span class="pre">gestion.models.Product</span></code></a></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.forms.ProductForm.Meta.widgets">
<code class="descname">widgets</code><em class="property"> = {'amount': &lt;class 'django.forms.widgets.TextInput'&gt;}</em><a class="headerlink" href="#gestion.forms.ProductForm.Meta.widgets" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="attribute">
<dt id="gestion.forms.ProductForm.base_fields">
<code class="descname">base_fields</code><em class="property"> = {'adherentRequired': &lt;django.forms.fields.BooleanField object&gt;, 'amount': &lt;django.forms.fields.DecimalField object&gt;, 'barcode': &lt;django.forms.fields.CharField object&gt;, 'category': &lt;django.forms.fields.TypedChoiceField object&gt;, 'deg': &lt;django.forms.fields.DecimalField object&gt;, 'is_active': &lt;django.forms.fields.BooleanField object&gt;, 'name': &lt;django.forms.fields.CharField object&gt;, 'needQuantityButton': &lt;django.forms.fields.BooleanField object&gt;, 'showingMultiplier': &lt;django.forms.fields.IntegerField object&gt;, 'stockBar': &lt;django.forms.fields.IntegerField object&gt;, 'stockHold': &lt;django.forms.fields.IntegerField object&gt;, 'volume': &lt;django.forms.fields.IntegerField object&gt;}</em><a class="headerlink" href="#gestion.forms.ProductForm.base_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.forms.ProductForm.declared_fields">
<code class="descname">declared_fields</code><em class="property"> = {}</em><a class="headerlink" href="#gestion.forms.ProductForm.declared_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.forms.ProductForm.media">
<code class="descname">media</code><a class="headerlink" href="#gestion.forms.ProductForm.media" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.forms.RefundForm">
<em class="property">class </em><code class="descclassname">gestion.forms.</code><code class="descname">RefundForm</code><span class="sig-paren">(</span><em>data=None</em>, <em>files=None</em>, <em>auto_id='id_%s'</em>, <em>prefix=None</em>, <em>initial=None</em>, <em>error_class=&lt;class 'django.forms.utils.ErrorList'&gt;</em>, <em>label_suffix=None</em>, <em>empty_permitted=False</em>, <em>instance=None</em>, <em>use_required_attribute=None</em>, <em>renderer=None</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.forms.RefundForm" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.forms.models.ModelForm</span></code></p>
<dl class="class">
<dt id="gestion.forms.RefundForm.Meta">
<em class="property">class </em><code class="descname">Meta</code><a class="headerlink" href="#gestion.forms.RefundForm.Meta" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<dl class="attribute">
<dt id="gestion.forms.RefundForm.Meta.fields">
<code class="descname">fields</code><em class="property"> = ('customer', 'amount')</em><a class="headerlink" href="#gestion.forms.RefundForm.Meta.fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.forms.RefundForm.Meta.model">
<code class="descname">model</code><a class="headerlink" href="#gestion.forms.RefundForm.Meta.model" title="Lien permanent vers cette définition"></a></dt>
<dd><p>alias de <a class="reference internal" href="#gestion.models.Refund" title="gestion.models.Refund"><code class="xref py py-class docutils literal notranslate"><span class="pre">gestion.models.Refund</span></code></a></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.forms.RefundForm.Meta.widgets">
<code class="descname">widgets</code><em class="property"> = {'amount': &lt;class 'django.forms.widgets.TextInput'&gt;, 'customer': &lt;dal_select2.widgets.ModelSelect2 object&gt;}</em><a class="headerlink" href="#gestion.forms.RefundForm.Meta.widgets" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="attribute">
<dt id="gestion.forms.RefundForm.base_fields">
<code class="descname">base_fields</code><em class="property"> = {'amount': &lt;django.forms.fields.DecimalField object&gt;, 'customer': &lt;django.forms.models.ModelChoiceField object&gt;}</em><a class="headerlink" href="#gestion.forms.RefundForm.base_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.forms.RefundForm.declared_fields">
<code class="descname">declared_fields</code><em class="property"> = {}</em><a class="headerlink" href="#gestion.forms.RefundForm.declared_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.forms.RefundForm.media">
<code class="descname">media</code><a class="headerlink" href="#gestion.forms.RefundForm.media" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.forms.ReloadForm">
<em class="property">class </em><code class="descclassname">gestion.forms.</code><code class="descname">ReloadForm</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.forms.ReloadForm" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.forms.models.ModelForm</span></code></p>
<dl class="class">
<dt id="gestion.forms.ReloadForm.Meta">
<em class="property">class </em><code class="descname">Meta</code><a class="headerlink" href="#gestion.forms.ReloadForm.Meta" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<dl class="attribute">
<dt id="gestion.forms.ReloadForm.Meta.fields">
<code class="descname">fields</code><em class="property"> = ('customer', 'amount', 'PaymentMethod')</em><a class="headerlink" href="#gestion.forms.ReloadForm.Meta.fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.forms.ReloadForm.Meta.model">
<code class="descname">model</code><a class="headerlink" href="#gestion.forms.ReloadForm.Meta.model" title="Lien permanent vers cette définition"></a></dt>
<dd><p>alias de <a class="reference internal" href="#gestion.models.Reload" title="gestion.models.Reload"><code class="xref py py-class docutils literal notranslate"><span class="pre">gestion.models.Reload</span></code></a></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.forms.ReloadForm.Meta.widgets">
<code class="descname">widgets</code><em class="property"> = {'amount': &lt;class 'django.forms.widgets.TextInput'&gt;, 'customer': &lt;dal_select2.widgets.ModelSelect2 object&gt;}</em><a class="headerlink" href="#gestion.forms.ReloadForm.Meta.widgets" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="attribute">
<dt id="gestion.forms.ReloadForm.base_fields">
<code class="descname">base_fields</code><em class="property"> = {'PaymentMethod': &lt;django.forms.models.ModelChoiceField object&gt;, 'amount': &lt;django.forms.fields.DecimalField object&gt;, 'customer': &lt;django.forms.models.ModelChoiceField object&gt;}</em><a class="headerlink" href="#gestion.forms.ReloadForm.base_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.forms.ReloadForm.declared_fields">
<code class="descname">declared_fields</code><em class="property"> = {}</em><a class="headerlink" href="#gestion.forms.ReloadForm.declared_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.forms.ReloadForm.media">
<code class="descname">media</code><a class="headerlink" href="#gestion.forms.ReloadForm.media" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.forms.SearchMenuForm">
<em class="property">class </em><code class="descclassname">gestion.forms.</code><code class="descname">SearchMenuForm</code><span class="sig-paren">(</span><em>data=None</em>, <em>files=None</em>, <em>auto_id='id_%s'</em>, <em>prefix=None</em>, <em>initial=None</em>, <em>error_class=&lt;class 'django.forms.utils.ErrorList'&gt;</em>, <em>label_suffix=None</em>, <em>empty_permitted=False</em>, <em>field_order=None</em>, <em>use_required_attribute=None</em>, <em>renderer=None</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.forms.SearchMenuForm" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.forms.forms.Form</span></code></p>
<dl class="attribute">
<dt id="gestion.forms.SearchMenuForm.base_fields">
<code class="descname">base_fields</code><em class="property"> = {'menu': &lt;django.forms.models.ModelChoiceField object&gt;}</em><a class="headerlink" href="#gestion.forms.SearchMenuForm.base_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.forms.SearchMenuForm.declared_fields">
<code class="descname">declared_fields</code><em class="property"> = {'menu': &lt;django.forms.models.ModelChoiceField object&gt;}</em><a class="headerlink" href="#gestion.forms.SearchMenuForm.declared_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.forms.SearchMenuForm.media">
<code class="descname">media</code><a class="headerlink" href="#gestion.forms.SearchMenuForm.media" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.forms.SearchProductForm">
<em class="property">class </em><code class="descclassname">gestion.forms.</code><code class="descname">SearchProductForm</code><span class="sig-paren">(</span><em>data=None</em>, <em>files=None</em>, <em>auto_id='id_%s'</em>, <em>prefix=None</em>, <em>initial=None</em>, <em>error_class=&lt;class 'django.forms.utils.ErrorList'&gt;</em>, <em>label_suffix=None</em>, <em>empty_permitted=False</em>, <em>field_order=None</em>, <em>use_required_attribute=None</em>, <em>renderer=None</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.forms.SearchProductForm" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.forms.forms.Form</span></code></p>
<dl class="attribute">
<dt id="gestion.forms.SearchProductForm.base_fields">
<code class="descname">base_fields</code><em class="property"> = {'product': &lt;django.forms.models.ModelChoiceField object&gt;}</em><a class="headerlink" href="#gestion.forms.SearchProductForm.base_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.forms.SearchProductForm.declared_fields">
<code class="descname">declared_fields</code><em class="property"> = {'product': &lt;django.forms.models.ModelChoiceField object&gt;}</em><a class="headerlink" href="#gestion.forms.SearchProductForm.declared_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.forms.SearchProductForm.media">
<code class="descname">media</code><a class="headerlink" href="#gestion.forms.SearchProductForm.media" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.forms.SelectActiveKegForm">
<em class="property">class </em><code class="descclassname">gestion.forms.</code><code class="descname">SelectActiveKegForm</code><span class="sig-paren">(</span><em>data=None</em>, <em>files=None</em>, <em>auto_id='id_%s'</em>, <em>prefix=None</em>, <em>initial=None</em>, <em>error_class=&lt;class 'django.forms.utils.ErrorList'&gt;</em>, <em>label_suffix=None</em>, <em>empty_permitted=False</em>, <em>field_order=None</em>, <em>use_required_attribute=None</em>, <em>renderer=None</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.forms.SelectActiveKegForm" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.forms.forms.Form</span></code></p>
<dl class="attribute">
<dt id="gestion.forms.SelectActiveKegForm.base_fields">
<code class="descname">base_fields</code><em class="property"> = {'keg': &lt;django.forms.models.ModelChoiceField object&gt;}</em><a class="headerlink" href="#gestion.forms.SelectActiveKegForm.base_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.forms.SelectActiveKegForm.declared_fields">
<code class="descname">declared_fields</code><em class="property"> = {'keg': &lt;django.forms.models.ModelChoiceField object&gt;}</em><a class="headerlink" href="#gestion.forms.SelectActiveKegForm.declared_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.forms.SelectActiveKegForm.media">
<code class="descname">media</code><a class="headerlink" href="#gestion.forms.SelectActiveKegForm.media" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.forms.SelectPositiveKegForm">
<em class="property">class </em><code class="descclassname">gestion.forms.</code><code class="descname">SelectPositiveKegForm</code><span class="sig-paren">(</span><em>data=None</em>, <em>files=None</em>, <em>auto_id='id_%s'</em>, <em>prefix=None</em>, <em>initial=None</em>, <em>error_class=&lt;class 'django.forms.utils.ErrorList'&gt;</em>, <em>label_suffix=None</em>, <em>empty_permitted=False</em>, <em>field_order=None</em>, <em>use_required_attribute=None</em>, <em>renderer=None</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.forms.SelectPositiveKegForm" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.forms.forms.Form</span></code></p>
<dl class="attribute">
<dt id="gestion.forms.SelectPositiveKegForm.base_fields">
<code class="descname">base_fields</code><em class="property"> = {'keg': &lt;django.forms.models.ModelChoiceField object&gt;}</em><a class="headerlink" href="#gestion.forms.SelectPositiveKegForm.base_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.forms.SelectPositiveKegForm.declared_fields">
<code class="descname">declared_fields</code><em class="property"> = {'keg': &lt;django.forms.models.ModelChoiceField object&gt;}</em><a class="headerlink" href="#gestion.forms.SelectPositiveKegForm.declared_fields" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.forms.SelectPositiveKegForm.media">
<code class="descname">media</code><a class="headerlink" href="#gestion.forms.SelectPositiveKegForm.media" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
</dd></dl>
</div>
<div class="section" id="module-gestion.models">
<span id="gestion-models-module"></span><h2>gestion.models module<a class="headerlink" href="#module-gestion.models" title="Lien permanent vers ce titre"></a></h2>
<dl class="class">
<dt id="gestion.models.Consumption">
<em class="property">class </em><code class="descclassname">gestion.models.</code><code class="descname">Consumption</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.Consumption" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.db.models.base.Model</span></code></p>
<p>Stores total consumptions</p>
<dl class="exception">
<dt id="gestion.models.Consumption.DoesNotExist">
<em class="property">exception </em><code class="descname">DoesNotExist</code><a class="headerlink" href="#gestion.models.Consumption.DoesNotExist" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.ObjectDoesNotExist</span></code></p>
</dd></dl>
<dl class="exception">
<dt id="gestion.models.Consumption.MultipleObjectsReturned">
<em class="property">exception </em><code class="descname">MultipleObjectsReturned</code><a class="headerlink" href="#gestion.models.Consumption.MultipleObjectsReturned" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.MultipleObjectsReturned</span></code></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Consumption.customer">
<code class="descname">customer</code><a class="headerlink" href="#gestion.models.Consumption.customer" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Consumption.customer_id">
<code class="descname">customer_id</code><a class="headerlink" href="#gestion.models.Consumption.customer_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Consumption.history">
<code class="descname">history</code><em class="property"> = &lt;simple_history.manager.HistoryManager object&gt;</em><a class="headerlink" href="#gestion.models.Consumption.history" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.Consumption.id">
<code class="descname">id</code><a class="headerlink" href="#gestion.models.Consumption.id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Consumption.objects">
<code class="descname">objects</code><em class="property"> = &lt;django.db.models.manager.Manager object&gt;</em><a class="headerlink" href="#gestion.models.Consumption.objects" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.Consumption.product">
<code class="descname">product</code><a class="headerlink" href="#gestion.models.Consumption.product" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Consumption.product_id">
<code class="descname">product_id</code><a class="headerlink" href="#gestion.models.Consumption.product_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Consumption.quantity">
<code class="descname">quantity</code><a class="headerlink" href="#gestion.models.Consumption.quantity" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.Consumption.save_without_historical_record">
<code class="descname">save_without_historical_record</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.Consumption.save_without_historical_record" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Save model without saving a historical record</p>
<p>Make sure you know what youre doing before you use this method.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.models.ConsumptionHistory">
<em class="property">class </em><code class="descclassname">gestion.models.</code><code class="descname">ConsumptionHistory</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.ConsumptionHistory" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.db.models.base.Model</span></code></p>
<p>Stores consumption history related to Product</p>
<dl class="exception">
<dt id="gestion.models.ConsumptionHistory.DoesNotExist">
<em class="property">exception </em><code class="descname">DoesNotExist</code><a class="headerlink" href="#gestion.models.ConsumptionHistory.DoesNotExist" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.ObjectDoesNotExist</span></code></p>
</dd></dl>
<dl class="exception">
<dt id="gestion.models.ConsumptionHistory.MultipleObjectsReturned">
<em class="property">exception </em><code class="descname">MultipleObjectsReturned</code><a class="headerlink" href="#gestion.models.ConsumptionHistory.MultipleObjectsReturned" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.MultipleObjectsReturned</span></code></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.ConsumptionHistory.amount">
<code class="descname">amount</code><a class="headerlink" href="#gestion.models.ConsumptionHistory.amount" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.ConsumptionHistory.coopeman">
<code class="descname">coopeman</code><a class="headerlink" href="#gestion.models.ConsumptionHistory.coopeman" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.ConsumptionHistory.coopeman_id">
<code class="descname">coopeman_id</code><a class="headerlink" href="#gestion.models.ConsumptionHistory.coopeman_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.ConsumptionHistory.customer">
<code class="descname">customer</code><a class="headerlink" href="#gestion.models.ConsumptionHistory.customer" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.ConsumptionHistory.customer_id">
<code class="descname">customer_id</code><a class="headerlink" href="#gestion.models.ConsumptionHistory.customer_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.ConsumptionHistory.date">
<code class="descname">date</code><a class="headerlink" href="#gestion.models.ConsumptionHistory.date" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.ConsumptionHistory.get_next_by_date">
<code class="descname">get_next_by_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: date&gt;</em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.ConsumptionHistory.get_next_by_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.ConsumptionHistory.get_previous_by_date">
<code class="descname">get_previous_by_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: date&gt;</em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.ConsumptionHistory.get_previous_by_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.ConsumptionHistory.history">
<code class="descname">history</code><em class="property"> = &lt;simple_history.manager.HistoryManager object&gt;</em><a class="headerlink" href="#gestion.models.ConsumptionHistory.history" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.ConsumptionHistory.id">
<code class="descname">id</code><a class="headerlink" href="#gestion.models.ConsumptionHistory.id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.ConsumptionHistory.objects">
<code class="descname">objects</code><em class="property"> = &lt;django.db.models.manager.Manager object&gt;</em><a class="headerlink" href="#gestion.models.ConsumptionHistory.objects" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.ConsumptionHistory.paymentMethod">
<code class="descname">paymentMethod</code><a class="headerlink" href="#gestion.models.ConsumptionHistory.paymentMethod" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.ConsumptionHistory.paymentMethod_id">
<code class="descname">paymentMethod_id</code><a class="headerlink" href="#gestion.models.ConsumptionHistory.paymentMethod_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.ConsumptionHistory.product">
<code class="descname">product</code><a class="headerlink" href="#gestion.models.ConsumptionHistory.product" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.ConsumptionHistory.product_id">
<code class="descname">product_id</code><a class="headerlink" href="#gestion.models.ConsumptionHistory.product_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.ConsumptionHistory.quantity">
<code class="descname">quantity</code><a class="headerlink" href="#gestion.models.ConsumptionHistory.quantity" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.ConsumptionHistory.save_without_historical_record">
<code class="descname">save_without_historical_record</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.ConsumptionHistory.save_without_historical_record" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Save model without saving a historical record</p>
<p>Make sure you know what youre doing before you use this method.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.models.HistoricalConsumption">
<em class="property">class </em><code class="descclassname">gestion.models.</code><code class="descname">HistoricalConsumption</code><span class="sig-paren">(</span><em>id</em>, <em>quantity</em>, <em>customer</em>, <em>product</em>, <em>history_id</em>, <em>history_change_reason</em>, <em>history_date</em>, <em>history_user</em>, <em>history_type</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalConsumption" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">simple_history.models.HistoricalChanges</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">django.db.models.base.Model</span></code></p>
<dl class="exception">
<dt id="gestion.models.HistoricalConsumption.DoesNotExist">
<em class="property">exception </em><code class="descname">DoesNotExist</code><a class="headerlink" href="#gestion.models.HistoricalConsumption.DoesNotExist" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.ObjectDoesNotExist</span></code></p>
</dd></dl>
<dl class="exception">
<dt id="gestion.models.HistoricalConsumption.MultipleObjectsReturned">
<em class="property">exception </em><code class="descname">MultipleObjectsReturned</code><a class="headerlink" href="#gestion.models.HistoricalConsumption.MultipleObjectsReturned" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.MultipleObjectsReturned</span></code></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumption.customer">
<code class="descname">customer</code><a class="headerlink" href="#gestion.models.HistoricalConsumption.customer" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumption.customer_id">
<code class="descname">customer_id</code><a class="headerlink" href="#gestion.models.HistoricalConsumption.customer_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalConsumption.get_history_type_display">
<code class="descname">get_history_type_display</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.CharField: history_type&gt;</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalConsumption.get_history_type_display" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalConsumption.get_next_by_history_date">
<code class="descname">get_next_by_history_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: history_date&gt;</em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalConsumption.get_next_by_history_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalConsumption.get_previous_by_history_date">
<code class="descname">get_previous_by_history_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: history_date&gt;</em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalConsumption.get_previous_by_history_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumption.history_change_reason">
<code class="descname">history_change_reason</code><a class="headerlink" href="#gestion.models.HistoricalConsumption.history_change_reason" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumption.history_date">
<code class="descname">history_date</code><a class="headerlink" href="#gestion.models.HistoricalConsumption.history_date" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumption.history_id">
<code class="descname">history_id</code><a class="headerlink" href="#gestion.models.HistoricalConsumption.history_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumption.history_object">
<code class="descname">history_object</code><a class="headerlink" href="#gestion.models.HistoricalConsumption.history_object" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumption.history_type">
<code class="descname">history_type</code><a class="headerlink" href="#gestion.models.HistoricalConsumption.history_type" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumption.history_user">
<code class="descname">history_user</code><a class="headerlink" href="#gestion.models.HistoricalConsumption.history_user" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumption.history_user_id">
<code class="descname">history_user_id</code><a class="headerlink" href="#gestion.models.HistoricalConsumption.history_user_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumption.id">
<code class="descname">id</code><a class="headerlink" href="#gestion.models.HistoricalConsumption.id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumption.instance">
<code class="descname">instance</code><a class="headerlink" href="#gestion.models.HistoricalConsumption.instance" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumption.instance_type">
<code class="descname">instance_type</code><a class="headerlink" href="#gestion.models.HistoricalConsumption.instance_type" title="Lien permanent vers cette définition"></a></dt>
<dd><p>alias de <a class="reference internal" href="#gestion.models.Consumption" title="gestion.models.Consumption"><code class="xref py py-class docutils literal notranslate"><span class="pre">Consumption</span></code></a></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumption.next_record">
<code class="descname">next_record</code><a class="headerlink" href="#gestion.models.HistoricalConsumption.next_record" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Get the next history record for the instance. <cite>None</cite> if last.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumption.objects">
<code class="descname">objects</code><em class="property"> = &lt;django.db.models.manager.Manager object&gt;</em><a class="headerlink" href="#gestion.models.HistoricalConsumption.objects" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumption.prev_record">
<code class="descname">prev_record</code><a class="headerlink" href="#gestion.models.HistoricalConsumption.prev_record" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Get the previous history record for the instance. <cite>None</cite> if first.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumption.product">
<code class="descname">product</code><a class="headerlink" href="#gestion.models.HistoricalConsumption.product" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumption.product_id">
<code class="descname">product_id</code><a class="headerlink" href="#gestion.models.HistoricalConsumption.product_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumption.quantity">
<code class="descname">quantity</code><a class="headerlink" href="#gestion.models.HistoricalConsumption.quantity" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalConsumption.revert_url">
<code class="descname">revert_url</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalConsumption.revert_url" title="Lien permanent vers cette définition"></a></dt>
<dd><p>URL for this change in the default admin site.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.models.HistoricalConsumptionHistory">
<em class="property">class </em><code class="descclassname">gestion.models.</code><code class="descname">HistoricalConsumptionHistory</code><span class="sig-paren">(</span><em>id</em>, <em>quantity</em>, <em>date</em>, <em>amount</em>, <em>customer</em>, <em>paymentMethod</em>, <em>product</em>, <em>coopeman</em>, <em>history_id</em>, <em>history_change_reason</em>, <em>history_date</em>, <em>history_user</em>, <em>history_type</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">simple_history.models.HistoricalChanges</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">django.db.models.base.Model</span></code></p>
<dl class="exception">
<dt id="gestion.models.HistoricalConsumptionHistory.DoesNotExist">
<em class="property">exception </em><code class="descname">DoesNotExist</code><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.DoesNotExist" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.ObjectDoesNotExist</span></code></p>
</dd></dl>
<dl class="exception">
<dt id="gestion.models.HistoricalConsumptionHistory.MultipleObjectsReturned">
<em class="property">exception </em><code class="descname">MultipleObjectsReturned</code><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.MultipleObjectsReturned" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.MultipleObjectsReturned</span></code></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumptionHistory.amount">
<code class="descname">amount</code><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.amount" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumptionHistory.coopeman">
<code class="descname">coopeman</code><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.coopeman" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumptionHistory.coopeman_id">
<code class="descname">coopeman_id</code><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.coopeman_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumptionHistory.customer">
<code class="descname">customer</code><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.customer" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumptionHistory.customer_id">
<code class="descname">customer_id</code><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.customer_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumptionHistory.date">
<code class="descname">date</code><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.date" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalConsumptionHistory.get_history_type_display">
<code class="descname">get_history_type_display</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.CharField: history_type&gt;</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.get_history_type_display" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalConsumptionHistory.get_next_by_date">
<code class="descname">get_next_by_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: date&gt;</em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.get_next_by_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalConsumptionHistory.get_next_by_history_date">
<code class="descname">get_next_by_history_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: history_date&gt;</em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.get_next_by_history_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalConsumptionHistory.get_previous_by_date">
<code class="descname">get_previous_by_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: date&gt;</em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.get_previous_by_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalConsumptionHistory.get_previous_by_history_date">
<code class="descname">get_previous_by_history_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: history_date&gt;</em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.get_previous_by_history_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumptionHistory.history_change_reason">
<code class="descname">history_change_reason</code><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.history_change_reason" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumptionHistory.history_date">
<code class="descname">history_date</code><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.history_date" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumptionHistory.history_id">
<code class="descname">history_id</code><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.history_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumptionHistory.history_object">
<code class="descname">history_object</code><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.history_object" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumptionHistory.history_type">
<code class="descname">history_type</code><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.history_type" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumptionHistory.history_user">
<code class="descname">history_user</code><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.history_user" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumptionHistory.history_user_id">
<code class="descname">history_user_id</code><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.history_user_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumptionHistory.id">
<code class="descname">id</code><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumptionHistory.instance">
<code class="descname">instance</code><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.instance" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumptionHistory.instance_type">
<code class="descname">instance_type</code><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.instance_type" title="Lien permanent vers cette définition"></a></dt>
<dd><p>alias de <a class="reference internal" href="#gestion.models.ConsumptionHistory" title="gestion.models.ConsumptionHistory"><code class="xref py py-class docutils literal notranslate"><span class="pre">ConsumptionHistory</span></code></a></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumptionHistory.next_record">
<code class="descname">next_record</code><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.next_record" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Get the next history record for the instance. <cite>None</cite> if last.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumptionHistory.objects">
<code class="descname">objects</code><em class="property"> = &lt;django.db.models.manager.Manager object&gt;</em><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.objects" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumptionHistory.paymentMethod">
<code class="descname">paymentMethod</code><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.paymentMethod" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumptionHistory.paymentMethod_id">
<code class="descname">paymentMethod_id</code><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.paymentMethod_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumptionHistory.prev_record">
<code class="descname">prev_record</code><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.prev_record" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Get the previous history record for the instance. <cite>None</cite> if first.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumptionHistory.product">
<code class="descname">product</code><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.product" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumptionHistory.product_id">
<code class="descname">product_id</code><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.product_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalConsumptionHistory.quantity">
<code class="descname">quantity</code><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.quantity" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalConsumptionHistory.revert_url">
<code class="descname">revert_url</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalConsumptionHistory.revert_url" title="Lien permanent vers cette définition"></a></dt>
<dd><p>URL for this change in the default admin site.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.models.HistoricalKeg">
<em class="property">class </em><code class="descclassname">gestion.models.</code><code class="descname">HistoricalKeg</code><span class="sig-paren">(</span><em>id</em>, <em>name</em>, <em>stockHold</em>, <em>barcode</em>, <em>amount</em>, <em>capacity</em>, <em>is_active</em>, <em>pinte</em>, <em>demi</em>, <em>galopin</em>, <em>history_id</em>, <em>history_change_reason</em>, <em>history_date</em>, <em>history_user</em>, <em>history_type</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalKeg" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">simple_history.models.HistoricalChanges</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">django.db.models.base.Model</span></code></p>
<dl class="exception">
<dt id="gestion.models.HistoricalKeg.DoesNotExist">
<em class="property">exception </em><code class="descname">DoesNotExist</code><a class="headerlink" href="#gestion.models.HistoricalKeg.DoesNotExist" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.ObjectDoesNotExist</span></code></p>
</dd></dl>
<dl class="exception">
<dt id="gestion.models.HistoricalKeg.MultipleObjectsReturned">
<em class="property">exception </em><code class="descname">MultipleObjectsReturned</code><a class="headerlink" href="#gestion.models.HistoricalKeg.MultipleObjectsReturned" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.MultipleObjectsReturned</span></code></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKeg.amount">
<code class="descname">amount</code><a class="headerlink" href="#gestion.models.HistoricalKeg.amount" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKeg.barcode">
<code class="descname">barcode</code><a class="headerlink" href="#gestion.models.HistoricalKeg.barcode" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKeg.capacity">
<code class="descname">capacity</code><a class="headerlink" href="#gestion.models.HistoricalKeg.capacity" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKeg.demi">
<code class="descname">demi</code><a class="headerlink" href="#gestion.models.HistoricalKeg.demi" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKeg.demi_id">
<code class="descname">demi_id</code><a class="headerlink" href="#gestion.models.HistoricalKeg.demi_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKeg.galopin">
<code class="descname">galopin</code><a class="headerlink" href="#gestion.models.HistoricalKeg.galopin" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKeg.galopin_id">
<code class="descname">galopin_id</code><a class="headerlink" href="#gestion.models.HistoricalKeg.galopin_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalKeg.get_history_type_display">
<code class="descname">get_history_type_display</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.CharField: history_type&gt;</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalKeg.get_history_type_display" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalKeg.get_next_by_history_date">
<code class="descname">get_next_by_history_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: history_date&gt;</em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalKeg.get_next_by_history_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalKeg.get_previous_by_history_date">
<code class="descname">get_previous_by_history_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: history_date&gt;</em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalKeg.get_previous_by_history_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKeg.history_change_reason">
<code class="descname">history_change_reason</code><a class="headerlink" href="#gestion.models.HistoricalKeg.history_change_reason" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKeg.history_date">
<code class="descname">history_date</code><a class="headerlink" href="#gestion.models.HistoricalKeg.history_date" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKeg.history_id">
<code class="descname">history_id</code><a class="headerlink" href="#gestion.models.HistoricalKeg.history_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKeg.history_object">
<code class="descname">history_object</code><a class="headerlink" href="#gestion.models.HistoricalKeg.history_object" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKeg.history_type">
<code class="descname">history_type</code><a class="headerlink" href="#gestion.models.HistoricalKeg.history_type" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKeg.history_user">
<code class="descname">history_user</code><a class="headerlink" href="#gestion.models.HistoricalKeg.history_user" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKeg.history_user_id">
<code class="descname">history_user_id</code><a class="headerlink" href="#gestion.models.HistoricalKeg.history_user_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKeg.id">
<code class="descname">id</code><a class="headerlink" href="#gestion.models.HistoricalKeg.id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKeg.instance">
<code class="descname">instance</code><a class="headerlink" href="#gestion.models.HistoricalKeg.instance" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKeg.instance_type">
<code class="descname">instance_type</code><a class="headerlink" href="#gestion.models.HistoricalKeg.instance_type" title="Lien permanent vers cette définition"></a></dt>
<dd><p>alias de <a class="reference internal" href="#gestion.models.Keg" title="gestion.models.Keg"><code class="xref py py-class docutils literal notranslate"><span class="pre">Keg</span></code></a></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKeg.is_active">
<code class="descname">is_active</code><a class="headerlink" href="#gestion.models.HistoricalKeg.is_active" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKeg.name">
<code class="descname">name</code><a class="headerlink" href="#gestion.models.HistoricalKeg.name" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKeg.next_record">
<code class="descname">next_record</code><a class="headerlink" href="#gestion.models.HistoricalKeg.next_record" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Get the next history record for the instance. <cite>None</cite> if last.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKeg.objects">
<code class="descname">objects</code><em class="property"> = &lt;django.db.models.manager.Manager object&gt;</em><a class="headerlink" href="#gestion.models.HistoricalKeg.objects" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKeg.pinte">
<code class="descname">pinte</code><a class="headerlink" href="#gestion.models.HistoricalKeg.pinte" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKeg.pinte_id">
<code class="descname">pinte_id</code><a class="headerlink" href="#gestion.models.HistoricalKeg.pinte_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKeg.prev_record">
<code class="descname">prev_record</code><a class="headerlink" href="#gestion.models.HistoricalKeg.prev_record" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Get the previous history record for the instance. <cite>None</cite> if first.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalKeg.revert_url">
<code class="descname">revert_url</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalKeg.revert_url" title="Lien permanent vers cette définition"></a></dt>
<dd><p>URL for this change in the default admin site.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKeg.stockHold">
<code class="descname">stockHold</code><a class="headerlink" href="#gestion.models.HistoricalKeg.stockHold" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.models.HistoricalKegHistory">
<em class="property">class </em><code class="descclassname">gestion.models.</code><code class="descname">HistoricalKegHistory</code><span class="sig-paren">(</span><em>id</em>, <em>openingDate</em>, <em>quantitySold</em>, <em>amountSold</em>, <em>closingDate</em>, <em>isCurrentKegHistory</em>, <em>keg</em>, <em>history_id</em>, <em>history_change_reason</em>, <em>history_date</em>, <em>history_user</em>, <em>history_type</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalKegHistory" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">simple_history.models.HistoricalChanges</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">django.db.models.base.Model</span></code></p>
<dl class="exception">
<dt id="gestion.models.HistoricalKegHistory.DoesNotExist">
<em class="property">exception </em><code class="descname">DoesNotExist</code><a class="headerlink" href="#gestion.models.HistoricalKegHistory.DoesNotExist" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.ObjectDoesNotExist</span></code></p>
</dd></dl>
<dl class="exception">
<dt id="gestion.models.HistoricalKegHistory.MultipleObjectsReturned">
<em class="property">exception </em><code class="descname">MultipleObjectsReturned</code><a class="headerlink" href="#gestion.models.HistoricalKegHistory.MultipleObjectsReturned" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.MultipleObjectsReturned</span></code></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKegHistory.amountSold">
<code class="descname">amountSold</code><a class="headerlink" href="#gestion.models.HistoricalKegHistory.amountSold" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKegHistory.closingDate">
<code class="descname">closingDate</code><a class="headerlink" href="#gestion.models.HistoricalKegHistory.closingDate" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalKegHistory.get_history_type_display">
<code class="descname">get_history_type_display</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.CharField: history_type&gt;</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalKegHistory.get_history_type_display" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalKegHistory.get_next_by_history_date">
<code class="descname">get_next_by_history_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: history_date&gt;</em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalKegHistory.get_next_by_history_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalKegHistory.get_next_by_openingDate">
<code class="descname">get_next_by_openingDate</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: openingDate&gt;</em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalKegHistory.get_next_by_openingDate" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalKegHistory.get_previous_by_history_date">
<code class="descname">get_previous_by_history_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: history_date&gt;</em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalKegHistory.get_previous_by_history_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalKegHistory.get_previous_by_openingDate">
<code class="descname">get_previous_by_openingDate</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: openingDate&gt;</em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalKegHistory.get_previous_by_openingDate" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKegHistory.history_change_reason">
<code class="descname">history_change_reason</code><a class="headerlink" href="#gestion.models.HistoricalKegHistory.history_change_reason" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKegHistory.history_date">
<code class="descname">history_date</code><a class="headerlink" href="#gestion.models.HistoricalKegHistory.history_date" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKegHistory.history_id">
<code class="descname">history_id</code><a class="headerlink" href="#gestion.models.HistoricalKegHistory.history_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKegHistory.history_object">
<code class="descname">history_object</code><a class="headerlink" href="#gestion.models.HistoricalKegHistory.history_object" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKegHistory.history_type">
<code class="descname">history_type</code><a class="headerlink" href="#gestion.models.HistoricalKegHistory.history_type" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKegHistory.history_user">
<code class="descname">history_user</code><a class="headerlink" href="#gestion.models.HistoricalKegHistory.history_user" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKegHistory.history_user_id">
<code class="descname">history_user_id</code><a class="headerlink" href="#gestion.models.HistoricalKegHistory.history_user_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKegHistory.id">
<code class="descname">id</code><a class="headerlink" href="#gestion.models.HistoricalKegHistory.id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKegHistory.instance">
<code class="descname">instance</code><a class="headerlink" href="#gestion.models.HistoricalKegHistory.instance" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKegHistory.instance_type">
<code class="descname">instance_type</code><a class="headerlink" href="#gestion.models.HistoricalKegHistory.instance_type" title="Lien permanent vers cette définition"></a></dt>
<dd><p>alias de <a class="reference internal" href="#gestion.models.KegHistory" title="gestion.models.KegHistory"><code class="xref py py-class docutils literal notranslate"><span class="pre">KegHistory</span></code></a></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKegHistory.isCurrentKegHistory">
<code class="descname">isCurrentKegHistory</code><a class="headerlink" href="#gestion.models.HistoricalKegHistory.isCurrentKegHistory" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKegHistory.keg">
<code class="descname">keg</code><a class="headerlink" href="#gestion.models.HistoricalKegHistory.keg" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKegHistory.keg_id">
<code class="descname">keg_id</code><a class="headerlink" href="#gestion.models.HistoricalKegHistory.keg_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKegHistory.next_record">
<code class="descname">next_record</code><a class="headerlink" href="#gestion.models.HistoricalKegHistory.next_record" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Get the next history record for the instance. <cite>None</cite> if last.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKegHistory.objects">
<code class="descname">objects</code><em class="property"> = &lt;django.db.models.manager.Manager object&gt;</em><a class="headerlink" href="#gestion.models.HistoricalKegHistory.objects" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKegHistory.openingDate">
<code class="descname">openingDate</code><a class="headerlink" href="#gestion.models.HistoricalKegHistory.openingDate" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKegHistory.prev_record">
<code class="descname">prev_record</code><a class="headerlink" href="#gestion.models.HistoricalKegHistory.prev_record" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Get the previous history record for the instance. <cite>None</cite> if first.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalKegHistory.quantitySold">
<code class="descname">quantitySold</code><a class="headerlink" href="#gestion.models.HistoricalKegHistory.quantitySold" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalKegHistory.revert_url">
<code class="descname">revert_url</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalKegHistory.revert_url" title="Lien permanent vers cette définition"></a></dt>
<dd><p>URL for this change in the default admin site.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.models.HistoricalMenu">
<em class="property">class </em><code class="descclassname">gestion.models.</code><code class="descname">HistoricalMenu</code><span class="sig-paren">(</span><em>id</em>, <em>name</em>, <em>amount</em>, <em>barcode</em>, <em>is_active</em>, <em>history_id</em>, <em>history_change_reason</em>, <em>history_date</em>, <em>history_user</em>, <em>history_type</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalMenu" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">simple_history.models.HistoricalChanges</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">django.db.models.base.Model</span></code></p>
<dl class="exception">
<dt id="gestion.models.HistoricalMenu.DoesNotExist">
<em class="property">exception </em><code class="descname">DoesNotExist</code><a class="headerlink" href="#gestion.models.HistoricalMenu.DoesNotExist" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.ObjectDoesNotExist</span></code></p>
</dd></dl>
<dl class="exception">
<dt id="gestion.models.HistoricalMenu.MultipleObjectsReturned">
<em class="property">exception </em><code class="descname">MultipleObjectsReturned</code><a class="headerlink" href="#gestion.models.HistoricalMenu.MultipleObjectsReturned" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.MultipleObjectsReturned</span></code></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenu.amount">
<code class="descname">amount</code><a class="headerlink" href="#gestion.models.HistoricalMenu.amount" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenu.barcode">
<code class="descname">barcode</code><a class="headerlink" href="#gestion.models.HistoricalMenu.barcode" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalMenu.get_history_type_display">
<code class="descname">get_history_type_display</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.CharField: history_type&gt;</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalMenu.get_history_type_display" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalMenu.get_next_by_history_date">
<code class="descname">get_next_by_history_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: history_date&gt;</em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalMenu.get_next_by_history_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalMenu.get_previous_by_history_date">
<code class="descname">get_previous_by_history_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: history_date&gt;</em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalMenu.get_previous_by_history_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenu.history_change_reason">
<code class="descname">history_change_reason</code><a class="headerlink" href="#gestion.models.HistoricalMenu.history_change_reason" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenu.history_date">
<code class="descname">history_date</code><a class="headerlink" href="#gestion.models.HistoricalMenu.history_date" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenu.history_id">
<code class="descname">history_id</code><a class="headerlink" href="#gestion.models.HistoricalMenu.history_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenu.history_object">
<code class="descname">history_object</code><a class="headerlink" href="#gestion.models.HistoricalMenu.history_object" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenu.history_type">
<code class="descname">history_type</code><a class="headerlink" href="#gestion.models.HistoricalMenu.history_type" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenu.history_user">
<code class="descname">history_user</code><a class="headerlink" href="#gestion.models.HistoricalMenu.history_user" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenu.history_user_id">
<code class="descname">history_user_id</code><a class="headerlink" href="#gestion.models.HistoricalMenu.history_user_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenu.id">
<code class="descname">id</code><a class="headerlink" href="#gestion.models.HistoricalMenu.id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenu.instance">
<code class="descname">instance</code><a class="headerlink" href="#gestion.models.HistoricalMenu.instance" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenu.instance_type">
<code class="descname">instance_type</code><a class="headerlink" href="#gestion.models.HistoricalMenu.instance_type" title="Lien permanent vers cette définition"></a></dt>
<dd><p>alias de <a class="reference internal" href="#gestion.models.Menu" title="gestion.models.Menu"><code class="xref py py-class docutils literal notranslate"><span class="pre">Menu</span></code></a></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenu.is_active">
<code class="descname">is_active</code><a class="headerlink" href="#gestion.models.HistoricalMenu.is_active" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenu.name">
<code class="descname">name</code><a class="headerlink" href="#gestion.models.HistoricalMenu.name" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenu.next_record">
<code class="descname">next_record</code><a class="headerlink" href="#gestion.models.HistoricalMenu.next_record" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Get the next history record for the instance. <cite>None</cite> if last.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenu.objects">
<code class="descname">objects</code><em class="property"> = &lt;django.db.models.manager.Manager object&gt;</em><a class="headerlink" href="#gestion.models.HistoricalMenu.objects" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenu.prev_record">
<code class="descname">prev_record</code><a class="headerlink" href="#gestion.models.HistoricalMenu.prev_record" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Get the previous history record for the instance. <cite>None</cite> if first.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalMenu.revert_url">
<code class="descname">revert_url</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalMenu.revert_url" title="Lien permanent vers cette définition"></a></dt>
<dd><p>URL for this change in the default admin site.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.models.HistoricalMenuHistory">
<em class="property">class </em><code class="descclassname">gestion.models.</code><code class="descname">HistoricalMenuHistory</code><span class="sig-paren">(</span><em>id</em>, <em>quantity</em>, <em>date</em>, <em>amount</em>, <em>customer</em>, <em>paymentMethod</em>, <em>menu</em>, <em>coopeman</em>, <em>history_id</em>, <em>history_change_reason</em>, <em>history_date</em>, <em>history_user</em>, <em>history_type</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalMenuHistory" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">simple_history.models.HistoricalChanges</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">django.db.models.base.Model</span></code></p>
<dl class="exception">
<dt id="gestion.models.HistoricalMenuHistory.DoesNotExist">
<em class="property">exception </em><code class="descname">DoesNotExist</code><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.DoesNotExist" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.ObjectDoesNotExist</span></code></p>
</dd></dl>
<dl class="exception">
<dt id="gestion.models.HistoricalMenuHistory.MultipleObjectsReturned">
<em class="property">exception </em><code class="descname">MultipleObjectsReturned</code><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.MultipleObjectsReturned" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.MultipleObjectsReturned</span></code></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenuHistory.amount">
<code class="descname">amount</code><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.amount" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenuHistory.coopeman">
<code class="descname">coopeman</code><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.coopeman" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenuHistory.coopeman_id">
<code class="descname">coopeman_id</code><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.coopeman_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenuHistory.customer">
<code class="descname">customer</code><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.customer" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenuHistory.customer_id">
<code class="descname">customer_id</code><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.customer_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenuHistory.date">
<code class="descname">date</code><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.date" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalMenuHistory.get_history_type_display">
<code class="descname">get_history_type_display</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.CharField: history_type&gt;</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.get_history_type_display" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalMenuHistory.get_next_by_date">
<code class="descname">get_next_by_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: date&gt;</em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.get_next_by_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalMenuHistory.get_next_by_history_date">
<code class="descname">get_next_by_history_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: history_date&gt;</em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.get_next_by_history_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalMenuHistory.get_previous_by_date">
<code class="descname">get_previous_by_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: date&gt;</em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.get_previous_by_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalMenuHistory.get_previous_by_history_date">
<code class="descname">get_previous_by_history_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: history_date&gt;</em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.get_previous_by_history_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenuHistory.history_change_reason">
<code class="descname">history_change_reason</code><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.history_change_reason" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenuHistory.history_date">
<code class="descname">history_date</code><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.history_date" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenuHistory.history_id">
<code class="descname">history_id</code><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.history_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenuHistory.history_object">
<code class="descname">history_object</code><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.history_object" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenuHistory.history_type">
<code class="descname">history_type</code><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.history_type" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenuHistory.history_user">
<code class="descname">history_user</code><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.history_user" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenuHistory.history_user_id">
<code class="descname">history_user_id</code><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.history_user_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenuHistory.id">
<code class="descname">id</code><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenuHistory.instance">
<code class="descname">instance</code><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.instance" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenuHistory.instance_type">
<code class="descname">instance_type</code><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.instance_type" title="Lien permanent vers cette définition"></a></dt>
<dd><p>alias de <a class="reference internal" href="#gestion.models.MenuHistory" title="gestion.models.MenuHistory"><code class="xref py py-class docutils literal notranslate"><span class="pre">MenuHistory</span></code></a></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenuHistory.menu">
<code class="descname">menu</code><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.menu" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenuHistory.menu_id">
<code class="descname">menu_id</code><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.menu_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenuHistory.next_record">
<code class="descname">next_record</code><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.next_record" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Get the next history record for the instance. <cite>None</cite> if last.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenuHistory.objects">
<code class="descname">objects</code><em class="property"> = &lt;django.db.models.manager.Manager object&gt;</em><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.objects" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenuHistory.paymentMethod">
<code class="descname">paymentMethod</code><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.paymentMethod" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenuHistory.paymentMethod_id">
<code class="descname">paymentMethod_id</code><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.paymentMethod_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenuHistory.prev_record">
<code class="descname">prev_record</code><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.prev_record" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Get the previous history record for the instance. <cite>None</cite> if first.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalMenuHistory.quantity">
<code class="descname">quantity</code><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.quantity" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalMenuHistory.revert_url">
<code class="descname">revert_url</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalMenuHistory.revert_url" title="Lien permanent vers cette définition"></a></dt>
<dd><p>URL for this change in the default admin site.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.models.HistoricalPinte">
<em class="property">class </em><code class="descclassname">gestion.models.</code><code class="descname">HistoricalPinte</code><span class="sig-paren">(</span><em>id</em>, <em>last_update_date</em>, <em>current_owner</em>, <em>previous_owner</em>, <em>history_id</em>, <em>history_change_reason</em>, <em>history_date</em>, <em>history_user</em>, <em>history_type</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalPinte" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">simple_history.models.HistoricalChanges</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">django.db.models.base.Model</span></code></p>
<dl class="exception">
<dt id="gestion.models.HistoricalPinte.DoesNotExist">
<em class="property">exception </em><code class="descname">DoesNotExist</code><a class="headerlink" href="#gestion.models.HistoricalPinte.DoesNotExist" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.ObjectDoesNotExist</span></code></p>
</dd></dl>
<dl class="exception">
<dt id="gestion.models.HistoricalPinte.MultipleObjectsReturned">
<em class="property">exception </em><code class="descname">MultipleObjectsReturned</code><a class="headerlink" href="#gestion.models.HistoricalPinte.MultipleObjectsReturned" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.MultipleObjectsReturned</span></code></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalPinte.current_owner">
<code class="descname">current_owner</code><a class="headerlink" href="#gestion.models.HistoricalPinte.current_owner" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalPinte.current_owner_id">
<code class="descname">current_owner_id</code><a class="headerlink" href="#gestion.models.HistoricalPinte.current_owner_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalPinte.get_history_type_display">
<code class="descname">get_history_type_display</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.CharField: history_type&gt;</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalPinte.get_history_type_display" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalPinte.get_next_by_history_date">
<code class="descname">get_next_by_history_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: history_date&gt;</em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalPinte.get_next_by_history_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalPinte.get_next_by_last_update_date">
<code class="descname">get_next_by_last_update_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: last_update_date&gt;</em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalPinte.get_next_by_last_update_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalPinte.get_previous_by_history_date">
<code class="descname">get_previous_by_history_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: history_date&gt;</em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalPinte.get_previous_by_history_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalPinte.get_previous_by_last_update_date">
<code class="descname">get_previous_by_last_update_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: last_update_date&gt;</em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalPinte.get_previous_by_last_update_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalPinte.history_change_reason">
<code class="descname">history_change_reason</code><a class="headerlink" href="#gestion.models.HistoricalPinte.history_change_reason" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalPinte.history_date">
<code class="descname">history_date</code><a class="headerlink" href="#gestion.models.HistoricalPinte.history_date" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalPinte.history_id">
<code class="descname">history_id</code><a class="headerlink" href="#gestion.models.HistoricalPinte.history_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalPinte.history_object">
<code class="descname">history_object</code><a class="headerlink" href="#gestion.models.HistoricalPinte.history_object" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalPinte.history_type">
<code class="descname">history_type</code><a class="headerlink" href="#gestion.models.HistoricalPinte.history_type" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalPinte.history_user">
<code class="descname">history_user</code><a class="headerlink" href="#gestion.models.HistoricalPinte.history_user" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalPinte.history_user_id">
<code class="descname">history_user_id</code><a class="headerlink" href="#gestion.models.HistoricalPinte.history_user_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalPinte.id">
<code class="descname">id</code><a class="headerlink" href="#gestion.models.HistoricalPinte.id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalPinte.instance">
<code class="descname">instance</code><a class="headerlink" href="#gestion.models.HistoricalPinte.instance" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalPinte.instance_type">
<code class="descname">instance_type</code><a class="headerlink" href="#gestion.models.HistoricalPinte.instance_type" title="Lien permanent vers cette définition"></a></dt>
<dd><p>alias de <a class="reference internal" href="#gestion.models.Pinte" title="gestion.models.Pinte"><code class="xref py py-class docutils literal notranslate"><span class="pre">Pinte</span></code></a></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalPinte.last_update_date">
<code class="descname">last_update_date</code><a class="headerlink" href="#gestion.models.HistoricalPinte.last_update_date" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalPinte.next_record">
<code class="descname">next_record</code><a class="headerlink" href="#gestion.models.HistoricalPinte.next_record" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Get the next history record for the instance. <cite>None</cite> if last.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalPinte.objects">
<code class="descname">objects</code><em class="property"> = &lt;django.db.models.manager.Manager object&gt;</em><a class="headerlink" href="#gestion.models.HistoricalPinte.objects" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalPinte.prev_record">
<code class="descname">prev_record</code><a class="headerlink" href="#gestion.models.HistoricalPinte.prev_record" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Get the previous history record for the instance. <cite>None</cite> if first.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalPinte.previous_owner">
<code class="descname">previous_owner</code><a class="headerlink" href="#gestion.models.HistoricalPinte.previous_owner" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalPinte.previous_owner_id">
<code class="descname">previous_owner_id</code><a class="headerlink" href="#gestion.models.HistoricalPinte.previous_owner_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalPinte.revert_url">
<code class="descname">revert_url</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalPinte.revert_url" title="Lien permanent vers cette définition"></a></dt>
<dd><p>URL for this change in the default admin site.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.models.HistoricalProduct">
<em class="property">class </em><code class="descclassname">gestion.models.</code><code class="descname">HistoricalProduct</code><span class="sig-paren">(</span><em>id</em>, <em>name</em>, <em>amount</em>, <em>stockHold</em>, <em>stockBar</em>, <em>barcode</em>, <em>category</em>, <em>needQuantityButton</em>, <em>is_active</em>, <em>volume</em>, <em>deg</em>, <em>adherentRequired</em>, <em>showingMultiplier</em>, <em>history_id</em>, <em>history_change_reason</em>, <em>history_date</em>, <em>history_user</em>, <em>history_type</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalProduct" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">simple_history.models.HistoricalChanges</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">django.db.models.base.Model</span></code></p>
<dl class="exception">
<dt id="gestion.models.HistoricalProduct.DoesNotExist">
<em class="property">exception </em><code class="descname">DoesNotExist</code><a class="headerlink" href="#gestion.models.HistoricalProduct.DoesNotExist" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.ObjectDoesNotExist</span></code></p>
</dd></dl>
<dl class="exception">
<dt id="gestion.models.HistoricalProduct.MultipleObjectsReturned">
<em class="property">exception </em><code class="descname">MultipleObjectsReturned</code><a class="headerlink" href="#gestion.models.HistoricalProduct.MultipleObjectsReturned" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.MultipleObjectsReturned</span></code></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalProduct.adherentRequired">
<code class="descname">adherentRequired</code><a class="headerlink" href="#gestion.models.HistoricalProduct.adherentRequired" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalProduct.amount">
<code class="descname">amount</code><a class="headerlink" href="#gestion.models.HistoricalProduct.amount" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalProduct.barcode">
<code class="descname">barcode</code><a class="headerlink" href="#gestion.models.HistoricalProduct.barcode" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalProduct.category">
<code class="descname">category</code><a class="headerlink" href="#gestion.models.HistoricalProduct.category" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalProduct.deg">
<code class="descname">deg</code><a class="headerlink" href="#gestion.models.HistoricalProduct.deg" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalProduct.get_category_display">
<code class="descname">get_category_display</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.CharField: category&gt;</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalProduct.get_category_display" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalProduct.get_history_type_display">
<code class="descname">get_history_type_display</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.CharField: history_type&gt;</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalProduct.get_history_type_display" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalProduct.get_next_by_history_date">
<code class="descname">get_next_by_history_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: history_date&gt;</em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalProduct.get_next_by_history_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalProduct.get_previous_by_history_date">
<code class="descname">get_previous_by_history_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: history_date&gt;</em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalProduct.get_previous_by_history_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalProduct.history_change_reason">
<code class="descname">history_change_reason</code><a class="headerlink" href="#gestion.models.HistoricalProduct.history_change_reason" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalProduct.history_date">
<code class="descname">history_date</code><a class="headerlink" href="#gestion.models.HistoricalProduct.history_date" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalProduct.history_id">
<code class="descname">history_id</code><a class="headerlink" href="#gestion.models.HistoricalProduct.history_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalProduct.history_object">
<code class="descname">history_object</code><a class="headerlink" href="#gestion.models.HistoricalProduct.history_object" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalProduct.history_type">
<code class="descname">history_type</code><a class="headerlink" href="#gestion.models.HistoricalProduct.history_type" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalProduct.history_user">
<code class="descname">history_user</code><a class="headerlink" href="#gestion.models.HistoricalProduct.history_user" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalProduct.history_user_id">
<code class="descname">history_user_id</code><a class="headerlink" href="#gestion.models.HistoricalProduct.history_user_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalProduct.id">
<code class="descname">id</code><a class="headerlink" href="#gestion.models.HistoricalProduct.id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalProduct.instance">
<code class="descname">instance</code><a class="headerlink" href="#gestion.models.HistoricalProduct.instance" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalProduct.instance_type">
<code class="descname">instance_type</code><a class="headerlink" href="#gestion.models.HistoricalProduct.instance_type" title="Lien permanent vers cette définition"></a></dt>
<dd><p>alias de <a class="reference internal" href="#gestion.models.Product" title="gestion.models.Product"><code class="xref py py-class docutils literal notranslate"><span class="pre">Product</span></code></a></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalProduct.is_active">
<code class="descname">is_active</code><a class="headerlink" href="#gestion.models.HistoricalProduct.is_active" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalProduct.name">
<code class="descname">name</code><a class="headerlink" href="#gestion.models.HistoricalProduct.name" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalProduct.needQuantityButton">
<code class="descname">needQuantityButton</code><a class="headerlink" href="#gestion.models.HistoricalProduct.needQuantityButton" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalProduct.next_record">
<code class="descname">next_record</code><a class="headerlink" href="#gestion.models.HistoricalProduct.next_record" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Get the next history record for the instance. <cite>None</cite> if last.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalProduct.objects">
<code class="descname">objects</code><em class="property"> = &lt;django.db.models.manager.Manager object&gt;</em><a class="headerlink" href="#gestion.models.HistoricalProduct.objects" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalProduct.prev_record">
<code class="descname">prev_record</code><a class="headerlink" href="#gestion.models.HistoricalProduct.prev_record" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Get the previous history record for the instance. <cite>None</cite> if first.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalProduct.revert_url">
<code class="descname">revert_url</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalProduct.revert_url" title="Lien permanent vers cette définition"></a></dt>
<dd><p>URL for this change in the default admin site.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalProduct.showingMultiplier">
<code class="descname">showingMultiplier</code><a class="headerlink" href="#gestion.models.HistoricalProduct.showingMultiplier" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalProduct.stockBar">
<code class="descname">stockBar</code><a class="headerlink" href="#gestion.models.HistoricalProduct.stockBar" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalProduct.stockHold">
<code class="descname">stockHold</code><a class="headerlink" href="#gestion.models.HistoricalProduct.stockHold" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalProduct.volume">
<code class="descname">volume</code><a class="headerlink" href="#gestion.models.HistoricalProduct.volume" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.models.HistoricalRefund">
<em class="property">class </em><code class="descclassname">gestion.models.</code><code class="descname">HistoricalRefund</code><span class="sig-paren">(</span><em>id</em>, <em>date</em>, <em>amount</em>, <em>customer</em>, <em>coopeman</em>, <em>history_id</em>, <em>history_change_reason</em>, <em>history_date</em>, <em>history_user</em>, <em>history_type</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalRefund" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">simple_history.models.HistoricalChanges</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">django.db.models.base.Model</span></code></p>
<dl class="exception">
<dt id="gestion.models.HistoricalRefund.DoesNotExist">
<em class="property">exception </em><code class="descname">DoesNotExist</code><a class="headerlink" href="#gestion.models.HistoricalRefund.DoesNotExist" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.ObjectDoesNotExist</span></code></p>
</dd></dl>
<dl class="exception">
<dt id="gestion.models.HistoricalRefund.MultipleObjectsReturned">
<em class="property">exception </em><code class="descname">MultipleObjectsReturned</code><a class="headerlink" href="#gestion.models.HistoricalRefund.MultipleObjectsReturned" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.MultipleObjectsReturned</span></code></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalRefund.amount">
<code class="descname">amount</code><a class="headerlink" href="#gestion.models.HistoricalRefund.amount" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalRefund.coopeman">
<code class="descname">coopeman</code><a class="headerlink" href="#gestion.models.HistoricalRefund.coopeman" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalRefund.coopeman_id">
<code class="descname">coopeman_id</code><a class="headerlink" href="#gestion.models.HistoricalRefund.coopeman_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalRefund.customer">
<code class="descname">customer</code><a class="headerlink" href="#gestion.models.HistoricalRefund.customer" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalRefund.customer_id">
<code class="descname">customer_id</code><a class="headerlink" href="#gestion.models.HistoricalRefund.customer_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalRefund.date">
<code class="descname">date</code><a class="headerlink" href="#gestion.models.HistoricalRefund.date" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalRefund.get_history_type_display">
<code class="descname">get_history_type_display</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.CharField: history_type&gt;</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalRefund.get_history_type_display" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalRefund.get_next_by_date">
<code class="descname">get_next_by_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: date&gt;</em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalRefund.get_next_by_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalRefund.get_next_by_history_date">
<code class="descname">get_next_by_history_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: history_date&gt;</em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalRefund.get_next_by_history_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalRefund.get_previous_by_date">
<code class="descname">get_previous_by_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: date&gt;</em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalRefund.get_previous_by_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalRefund.get_previous_by_history_date">
<code class="descname">get_previous_by_history_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: history_date&gt;</em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalRefund.get_previous_by_history_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalRefund.history_change_reason">
<code class="descname">history_change_reason</code><a class="headerlink" href="#gestion.models.HistoricalRefund.history_change_reason" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalRefund.history_date">
<code class="descname">history_date</code><a class="headerlink" href="#gestion.models.HistoricalRefund.history_date" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalRefund.history_id">
<code class="descname">history_id</code><a class="headerlink" href="#gestion.models.HistoricalRefund.history_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalRefund.history_object">
<code class="descname">history_object</code><a class="headerlink" href="#gestion.models.HistoricalRefund.history_object" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalRefund.history_type">
<code class="descname">history_type</code><a class="headerlink" href="#gestion.models.HistoricalRefund.history_type" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalRefund.history_user">
<code class="descname">history_user</code><a class="headerlink" href="#gestion.models.HistoricalRefund.history_user" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalRefund.history_user_id">
<code class="descname">history_user_id</code><a class="headerlink" href="#gestion.models.HistoricalRefund.history_user_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalRefund.id">
<code class="descname">id</code><a class="headerlink" href="#gestion.models.HistoricalRefund.id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalRefund.instance">
<code class="descname">instance</code><a class="headerlink" href="#gestion.models.HistoricalRefund.instance" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalRefund.instance_type">
<code class="descname">instance_type</code><a class="headerlink" href="#gestion.models.HistoricalRefund.instance_type" title="Lien permanent vers cette définition"></a></dt>
<dd><p>alias de <a class="reference internal" href="#gestion.models.Refund" title="gestion.models.Refund"><code class="xref py py-class docutils literal notranslate"><span class="pre">Refund</span></code></a></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalRefund.next_record">
<code class="descname">next_record</code><a class="headerlink" href="#gestion.models.HistoricalRefund.next_record" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Get the next history record for the instance. <cite>None</cite> if last.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalRefund.objects">
<code class="descname">objects</code><em class="property"> = &lt;django.db.models.manager.Manager object&gt;</em><a class="headerlink" href="#gestion.models.HistoricalRefund.objects" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalRefund.prev_record">
<code class="descname">prev_record</code><a class="headerlink" href="#gestion.models.HistoricalRefund.prev_record" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Get the previous history record for the instance. <cite>None</cite> if first.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalRefund.revert_url">
<code class="descname">revert_url</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalRefund.revert_url" title="Lien permanent vers cette définition"></a></dt>
<dd><p>URL for this change in the default admin site.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.models.HistoricalReload">
<em class="property">class </em><code class="descclassname">gestion.models.</code><code class="descname">HistoricalReload</code><span class="sig-paren">(</span><em>id</em>, <em>amount</em>, <em>date</em>, <em>customer</em>, <em>PaymentMethod</em>, <em>coopeman</em>, <em>history_id</em>, <em>history_change_reason</em>, <em>history_date</em>, <em>history_user</em>, <em>history_type</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalReload" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">simple_history.models.HistoricalChanges</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">django.db.models.base.Model</span></code></p>
<dl class="exception">
<dt id="gestion.models.HistoricalReload.DoesNotExist">
<em class="property">exception </em><code class="descname">DoesNotExist</code><a class="headerlink" href="#gestion.models.HistoricalReload.DoesNotExist" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.ObjectDoesNotExist</span></code></p>
</dd></dl>
<dl class="exception">
<dt id="gestion.models.HistoricalReload.MultipleObjectsReturned">
<em class="property">exception </em><code class="descname">MultipleObjectsReturned</code><a class="headerlink" href="#gestion.models.HistoricalReload.MultipleObjectsReturned" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.MultipleObjectsReturned</span></code></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalReload.PaymentMethod">
<code class="descname">PaymentMethod</code><a class="headerlink" href="#gestion.models.HistoricalReload.PaymentMethod" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalReload.PaymentMethod_id">
<code class="descname">PaymentMethod_id</code><a class="headerlink" href="#gestion.models.HistoricalReload.PaymentMethod_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalReload.amount">
<code class="descname">amount</code><a class="headerlink" href="#gestion.models.HistoricalReload.amount" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalReload.coopeman">
<code class="descname">coopeman</code><a class="headerlink" href="#gestion.models.HistoricalReload.coopeman" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalReload.coopeman_id">
<code class="descname">coopeman_id</code><a class="headerlink" href="#gestion.models.HistoricalReload.coopeman_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalReload.customer">
<code class="descname">customer</code><a class="headerlink" href="#gestion.models.HistoricalReload.customer" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalReload.customer_id">
<code class="descname">customer_id</code><a class="headerlink" href="#gestion.models.HistoricalReload.customer_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalReload.date">
<code class="descname">date</code><a class="headerlink" href="#gestion.models.HistoricalReload.date" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalReload.get_history_type_display">
<code class="descname">get_history_type_display</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.CharField: history_type&gt;</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalReload.get_history_type_display" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalReload.get_next_by_date">
<code class="descname">get_next_by_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: date&gt;</em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalReload.get_next_by_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalReload.get_next_by_history_date">
<code class="descname">get_next_by_history_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: history_date&gt;</em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalReload.get_next_by_history_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalReload.get_previous_by_date">
<code class="descname">get_previous_by_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: date&gt;</em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalReload.get_previous_by_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalReload.get_previous_by_history_date">
<code class="descname">get_previous_by_history_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: history_date&gt;</em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalReload.get_previous_by_history_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalReload.history_change_reason">
<code class="descname">history_change_reason</code><a class="headerlink" href="#gestion.models.HistoricalReload.history_change_reason" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalReload.history_date">
<code class="descname">history_date</code><a class="headerlink" href="#gestion.models.HistoricalReload.history_date" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalReload.history_id">
<code class="descname">history_id</code><a class="headerlink" href="#gestion.models.HistoricalReload.history_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalReload.history_object">
<code class="descname">history_object</code><a class="headerlink" href="#gestion.models.HistoricalReload.history_object" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalReload.history_type">
<code class="descname">history_type</code><a class="headerlink" href="#gestion.models.HistoricalReload.history_type" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalReload.history_user">
<code class="descname">history_user</code><a class="headerlink" href="#gestion.models.HistoricalReload.history_user" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalReload.history_user_id">
<code class="descname">history_user_id</code><a class="headerlink" href="#gestion.models.HistoricalReload.history_user_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalReload.id">
<code class="descname">id</code><a class="headerlink" href="#gestion.models.HistoricalReload.id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalReload.instance">
<code class="descname">instance</code><a class="headerlink" href="#gestion.models.HistoricalReload.instance" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalReload.instance_type">
<code class="descname">instance_type</code><a class="headerlink" href="#gestion.models.HistoricalReload.instance_type" title="Lien permanent vers cette définition"></a></dt>
<dd><p>alias de <a class="reference internal" href="#gestion.models.Reload" title="gestion.models.Reload"><code class="xref py py-class docutils literal notranslate"><span class="pre">Reload</span></code></a></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalReload.next_record">
<code class="descname">next_record</code><a class="headerlink" href="#gestion.models.HistoricalReload.next_record" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Get the next history record for the instance. <cite>None</cite> if last.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalReload.objects">
<code class="descname">objects</code><em class="property"> = &lt;django.db.models.manager.Manager object&gt;</em><a class="headerlink" href="#gestion.models.HistoricalReload.objects" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.HistoricalReload.prev_record">
<code class="descname">prev_record</code><a class="headerlink" href="#gestion.models.HistoricalReload.prev_record" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Get the previous history record for the instance. <cite>None</cite> if first.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.HistoricalReload.revert_url">
<code class="descname">revert_url</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.HistoricalReload.revert_url" title="Lien permanent vers cette définition"></a></dt>
<dd><p>URL for this change in the default admin site.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.models.Keg">
<em class="property">class </em><code class="descclassname">gestion.models.</code><code class="descname">Keg</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.Keg" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.db.models.base.Model</span></code></p>
<p>Stores a keg</p>
<dl class="exception">
<dt id="gestion.models.Keg.DoesNotExist">
<em class="property">exception </em><code class="descname">DoesNotExist</code><a class="headerlink" href="#gestion.models.Keg.DoesNotExist" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.ObjectDoesNotExist</span></code></p>
</dd></dl>
<dl class="exception">
<dt id="gestion.models.Keg.MultipleObjectsReturned">
<em class="property">exception </em><code class="descname">MultipleObjectsReturned</code><a class="headerlink" href="#gestion.models.Keg.MultipleObjectsReturned" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.MultipleObjectsReturned</span></code></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Keg.amount">
<code class="descname">amount</code><a class="headerlink" href="#gestion.models.Keg.amount" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Keg.barcode">
<code class="descname">barcode</code><a class="headerlink" href="#gestion.models.Keg.barcode" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Keg.capacity">
<code class="descname">capacity</code><a class="headerlink" href="#gestion.models.Keg.capacity" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Keg.demi">
<code class="descname">demi</code><a class="headerlink" href="#gestion.models.Keg.demi" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Keg.demi_id">
<code class="descname">demi_id</code><a class="headerlink" href="#gestion.models.Keg.demi_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Keg.galopin">
<code class="descname">galopin</code><a class="headerlink" href="#gestion.models.Keg.galopin" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Keg.galopin_id">
<code class="descname">galopin_id</code><a class="headerlink" href="#gestion.models.Keg.galopin_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Keg.history">
<code class="descname">history</code><em class="property"> = &lt;simple_history.manager.HistoryManager object&gt;</em><a class="headerlink" href="#gestion.models.Keg.history" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.Keg.id">
<code class="descname">id</code><a class="headerlink" href="#gestion.models.Keg.id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Keg.is_active">
<code class="descname">is_active</code><a class="headerlink" href="#gestion.models.Keg.is_active" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Keg.keghistory_set">
<code class="descname">keghistory_set</code><a class="headerlink" href="#gestion.models.Keg.keghistory_set" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related objects manager on the reverse side of a
many-to-one relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Parent.children</span></code> is a <code class="docutils literal notranslate"><span class="pre">ReverseManyToOneDescriptor</span></code> instance.</p>
<p>Most of the implementation is delegated to a dynamically defined manager
class built by <code class="docutils literal notranslate"><span class="pre">create_forward_many_to_many_manager()</span></code> defined below.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Keg.name">
<code class="descname">name</code><a class="headerlink" href="#gestion.models.Keg.name" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Keg.objects">
<code class="descname">objects</code><em class="property"> = &lt;django.db.models.manager.Manager object&gt;</em><a class="headerlink" href="#gestion.models.Keg.objects" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.Keg.pinte">
<code class="descname">pinte</code><a class="headerlink" href="#gestion.models.Keg.pinte" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Keg.pinte_id">
<code class="descname">pinte_id</code><a class="headerlink" href="#gestion.models.Keg.pinte_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.Keg.save_without_historical_record">
<code class="descname">save_without_historical_record</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.Keg.save_without_historical_record" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Save model without saving a historical record</p>
<p>Make sure you know what youre doing before you use this method.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Keg.stockHold">
<code class="descname">stockHold</code><a class="headerlink" href="#gestion.models.Keg.stockHold" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.models.KegHistory">
<em class="property">class </em><code class="descclassname">gestion.models.</code><code class="descname">KegHistory</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.KegHistory" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.db.models.base.Model</span></code></p>
<p>Stores a keg history, related to keg</p>
<dl class="exception">
<dt id="gestion.models.KegHistory.DoesNotExist">
<em class="property">exception </em><code class="descname">DoesNotExist</code><a class="headerlink" href="#gestion.models.KegHistory.DoesNotExist" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.ObjectDoesNotExist</span></code></p>
</dd></dl>
<dl class="exception">
<dt id="gestion.models.KegHistory.MultipleObjectsReturned">
<em class="property">exception </em><code class="descname">MultipleObjectsReturned</code><a class="headerlink" href="#gestion.models.KegHistory.MultipleObjectsReturned" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.MultipleObjectsReturned</span></code></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.KegHistory.amountSold">
<code class="descname">amountSold</code><a class="headerlink" href="#gestion.models.KegHistory.amountSold" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.KegHistory.closingDate">
<code class="descname">closingDate</code><a class="headerlink" href="#gestion.models.KegHistory.closingDate" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.KegHistory.get_next_by_openingDate">
<code class="descname">get_next_by_openingDate</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: openingDate&gt;</em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.KegHistory.get_next_by_openingDate" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.KegHistory.get_previous_by_openingDate">
<code class="descname">get_previous_by_openingDate</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: openingDate&gt;</em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.KegHistory.get_previous_by_openingDate" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.KegHistory.history">
<code class="descname">history</code><em class="property"> = &lt;simple_history.manager.HistoryManager object&gt;</em><a class="headerlink" href="#gestion.models.KegHistory.history" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.KegHistory.id">
<code class="descname">id</code><a class="headerlink" href="#gestion.models.KegHistory.id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.KegHistory.isCurrentKegHistory">
<code class="descname">isCurrentKegHistory</code><a class="headerlink" href="#gestion.models.KegHistory.isCurrentKegHistory" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.KegHistory.keg">
<code class="descname">keg</code><a class="headerlink" href="#gestion.models.KegHistory.keg" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.KegHistory.keg_id">
<code class="descname">keg_id</code><a class="headerlink" href="#gestion.models.KegHistory.keg_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.KegHistory.objects">
<code class="descname">objects</code><em class="property"> = &lt;django.db.models.manager.Manager object&gt;</em><a class="headerlink" href="#gestion.models.KegHistory.objects" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.KegHistory.openingDate">
<code class="descname">openingDate</code><a class="headerlink" href="#gestion.models.KegHistory.openingDate" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.KegHistory.quantitySold">
<code class="descname">quantitySold</code><a class="headerlink" href="#gestion.models.KegHistory.quantitySold" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.KegHistory.save_without_historical_record">
<code class="descname">save_without_historical_record</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.KegHistory.save_without_historical_record" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Save model without saving a historical record</p>
<p>Make sure you know what youre doing before you use this method.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.models.Menu">
<em class="property">class </em><code class="descclassname">gestion.models.</code><code class="descname">Menu</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.Menu" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.db.models.base.Model</span></code></p>
<p>Stores menus</p>
<dl class="exception">
<dt id="gestion.models.Menu.DoesNotExist">
<em class="property">exception </em><code class="descname">DoesNotExist</code><a class="headerlink" href="#gestion.models.Menu.DoesNotExist" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.ObjectDoesNotExist</span></code></p>
</dd></dl>
<dl class="exception">
<dt id="gestion.models.Menu.MultipleObjectsReturned">
<em class="property">exception </em><code class="descname">MultipleObjectsReturned</code><a class="headerlink" href="#gestion.models.Menu.MultipleObjectsReturned" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.MultipleObjectsReturned</span></code></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Menu.adherent_required">
<code class="descname">adherent_required</code><a class="headerlink" href="#gestion.models.Menu.adherent_required" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.Menu.amount">
<code class="descname">amount</code><a class="headerlink" href="#gestion.models.Menu.amount" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Menu.articles">
<code class="descname">articles</code><a class="headerlink" href="#gestion.models.Menu.articles" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related objects manager on the forward and reverse sides of
a many-to-many relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Pizza</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">toppings</span> <span class="o">=</span> <span class="n">ManyToManyField</span><span class="p">(</span><span class="n">Topping</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;pizzas&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Pizza.toppings</span></code> and <code class="docutils literal notranslate"><span class="pre">Topping.pizzas</span></code> are <code class="docutils literal notranslate"><span class="pre">ManyToManyDescriptor</span></code>
instances.</p>
<p>Most of the implementation is delegated to a dynamically defined manager
class built by <code class="docutils literal notranslate"><span class="pre">create_forward_many_to_many_manager()</span></code> defined below.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Menu.barcode">
<code class="descname">barcode</code><a class="headerlink" href="#gestion.models.Menu.barcode" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Menu.history">
<code class="descname">history</code><em class="property"> = &lt;simple_history.manager.HistoryManager object&gt;</em><a class="headerlink" href="#gestion.models.Menu.history" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.Menu.id">
<code class="descname">id</code><a class="headerlink" href="#gestion.models.Menu.id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Menu.is_active">
<code class="descname">is_active</code><a class="headerlink" href="#gestion.models.Menu.is_active" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Menu.menuhistory_set">
<code class="descname">menuhistory_set</code><a class="headerlink" href="#gestion.models.Menu.menuhistory_set" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related objects manager on the reverse side of a
many-to-one relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Parent.children</span></code> is a <code class="docutils literal notranslate"><span class="pre">ReverseManyToOneDescriptor</span></code> instance.</p>
<p>Most of the implementation is delegated to a dynamically defined manager
class built by <code class="docutils literal notranslate"><span class="pre">create_forward_many_to_many_manager()</span></code> defined below.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Menu.name">
<code class="descname">name</code><a class="headerlink" href="#gestion.models.Menu.name" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Menu.objects">
<code class="descname">objects</code><em class="property"> = &lt;django.db.models.manager.Manager object&gt;</em><a class="headerlink" href="#gestion.models.Menu.objects" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.Menu.save_without_historical_record">
<code class="descname">save_without_historical_record</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.Menu.save_without_historical_record" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Save model without saving a historical record</p>
<p>Make sure you know what youre doing before you use this method.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.models.MenuHistory">
<em class="property">class </em><code class="descclassname">gestion.models.</code><code class="descname">MenuHistory</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.MenuHistory" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.db.models.base.Model</span></code></p>
<p>Stores MenuHistory related to Menu</p>
<dl class="exception">
<dt id="gestion.models.MenuHistory.DoesNotExist">
<em class="property">exception </em><code class="descname">DoesNotExist</code><a class="headerlink" href="#gestion.models.MenuHistory.DoesNotExist" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.ObjectDoesNotExist</span></code></p>
</dd></dl>
<dl class="exception">
<dt id="gestion.models.MenuHistory.MultipleObjectsReturned">
<em class="property">exception </em><code class="descname">MultipleObjectsReturned</code><a class="headerlink" href="#gestion.models.MenuHistory.MultipleObjectsReturned" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.MultipleObjectsReturned</span></code></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.MenuHistory.amount">
<code class="descname">amount</code><a class="headerlink" href="#gestion.models.MenuHistory.amount" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.MenuHistory.coopeman">
<code class="descname">coopeman</code><a class="headerlink" href="#gestion.models.MenuHistory.coopeman" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.MenuHistory.coopeman_id">
<code class="descname">coopeman_id</code><a class="headerlink" href="#gestion.models.MenuHistory.coopeman_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.MenuHistory.customer">
<code class="descname">customer</code><a class="headerlink" href="#gestion.models.MenuHistory.customer" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.MenuHistory.customer_id">
<code class="descname">customer_id</code><a class="headerlink" href="#gestion.models.MenuHistory.customer_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.MenuHistory.date">
<code class="descname">date</code><a class="headerlink" href="#gestion.models.MenuHistory.date" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.MenuHistory.get_next_by_date">
<code class="descname">get_next_by_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: date&gt;</em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.MenuHistory.get_next_by_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.MenuHistory.get_previous_by_date">
<code class="descname">get_previous_by_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: date&gt;</em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.MenuHistory.get_previous_by_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.MenuHistory.history">
<code class="descname">history</code><em class="property"> = &lt;simple_history.manager.HistoryManager object&gt;</em><a class="headerlink" href="#gestion.models.MenuHistory.history" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.MenuHistory.id">
<code class="descname">id</code><a class="headerlink" href="#gestion.models.MenuHistory.id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.MenuHistory.menu">
<code class="descname">menu</code><a class="headerlink" href="#gestion.models.MenuHistory.menu" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.MenuHistory.menu_id">
<code class="descname">menu_id</code><a class="headerlink" href="#gestion.models.MenuHistory.menu_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.MenuHistory.objects">
<code class="descname">objects</code><em class="property"> = &lt;django.db.models.manager.Manager object&gt;</em><a class="headerlink" href="#gestion.models.MenuHistory.objects" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.MenuHistory.paymentMethod">
<code class="descname">paymentMethod</code><a class="headerlink" href="#gestion.models.MenuHistory.paymentMethod" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.MenuHistory.paymentMethod_id">
<code class="descname">paymentMethod_id</code><a class="headerlink" href="#gestion.models.MenuHistory.paymentMethod_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.MenuHistory.quantity">
<code class="descname">quantity</code><a class="headerlink" href="#gestion.models.MenuHistory.quantity" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.MenuHistory.save_without_historical_record">
<code class="descname">save_without_historical_record</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.MenuHistory.save_without_historical_record" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Save model without saving a historical record</p>
<p>Make sure you know what youre doing before you use this method.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.models.Pinte">
<em class="property">class </em><code class="descclassname">gestion.models.</code><code class="descname">Pinte</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.Pinte" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.db.models.base.Model</span></code></p>
<p>Stores a physical pinte</p>
<dl class="exception">
<dt id="gestion.models.Pinte.DoesNotExist">
<em class="property">exception </em><code class="descname">DoesNotExist</code><a class="headerlink" href="#gestion.models.Pinte.DoesNotExist" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.ObjectDoesNotExist</span></code></p>
</dd></dl>
<dl class="exception">
<dt id="gestion.models.Pinte.MultipleObjectsReturned">
<em class="property">exception </em><code class="descname">MultipleObjectsReturned</code><a class="headerlink" href="#gestion.models.Pinte.MultipleObjectsReturned" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.MultipleObjectsReturned</span></code></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Pinte.current_owner">
<code class="descname">current_owner</code><a class="headerlink" href="#gestion.models.Pinte.current_owner" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Pinte.current_owner_id">
<code class="descname">current_owner_id</code><a class="headerlink" href="#gestion.models.Pinte.current_owner_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.Pinte.get_next_by_last_update_date">
<code class="descname">get_next_by_last_update_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: last_update_date&gt;</em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.Pinte.get_next_by_last_update_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.Pinte.get_previous_by_last_update_date">
<code class="descname">get_previous_by_last_update_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: last_update_date&gt;</em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.Pinte.get_previous_by_last_update_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.Pinte.history">
<code class="descname">history</code><em class="property"> = &lt;simple_history.manager.HistoryManager object&gt;</em><a class="headerlink" href="#gestion.models.Pinte.history" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.Pinte.id">
<code class="descname">id</code><a class="headerlink" href="#gestion.models.Pinte.id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Pinte.last_update_date">
<code class="descname">last_update_date</code><a class="headerlink" href="#gestion.models.Pinte.last_update_date" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Pinte.objects">
<code class="descname">objects</code><em class="property"> = &lt;django.db.models.manager.Manager object&gt;</em><a class="headerlink" href="#gestion.models.Pinte.objects" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.Pinte.previous_owner">
<code class="descname">previous_owner</code><a class="headerlink" href="#gestion.models.Pinte.previous_owner" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Pinte.previous_owner_id">
<code class="descname">previous_owner_id</code><a class="headerlink" href="#gestion.models.Pinte.previous_owner_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.Pinte.save_without_historical_record">
<code class="descname">save_without_historical_record</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.Pinte.save_without_historical_record" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Save model without saving a historical record</p>
<p>Make sure you know what youre doing before you use this method.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.models.Product">
<em class="property">class </em><code class="descclassname">gestion.models.</code><code class="descname">Product</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.Product" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.db.models.base.Model</span></code></p>
<p>Stores a product</p>
<dl class="attribute">
<dt id="gestion.models.Product.BOTTLE">
<code class="descname">BOTTLE</code><em class="property"> = 'BT'</em><a class="headerlink" href="#gestion.models.Product.BOTTLE" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.Product.D_PRESSION">
<code class="descname">D_PRESSION</code><em class="property"> = 'DP'</em><a class="headerlink" href="#gestion.models.Product.D_PRESSION" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="exception">
<dt id="gestion.models.Product.DoesNotExist">
<em class="property">exception </em><code class="descname">DoesNotExist</code><a class="headerlink" href="#gestion.models.Product.DoesNotExist" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.ObjectDoesNotExist</span></code></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Product.FOOD">
<code class="descname">FOOD</code><em class="property"> = 'FO'</em><a class="headerlink" href="#gestion.models.Product.FOOD" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.Product.G_PRESSION">
<code class="descname">G_PRESSION</code><em class="property"> = 'GP'</em><a class="headerlink" href="#gestion.models.Product.G_PRESSION" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="exception">
<dt id="gestion.models.Product.MultipleObjectsReturned">
<em class="property">exception </em><code class="descname">MultipleObjectsReturned</code><a class="headerlink" href="#gestion.models.Product.MultipleObjectsReturned" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.MultipleObjectsReturned</span></code></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Product.PANINI">
<code class="descname">PANINI</code><em class="property"> = 'PA'</em><a class="headerlink" href="#gestion.models.Product.PANINI" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.Product.P_PRESSION">
<code class="descname">P_PRESSION</code><em class="property"> = 'PP'</em><a class="headerlink" href="#gestion.models.Product.P_PRESSION" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.Product.SOFT">
<code class="descname">SOFT</code><em class="property"> = 'SO'</em><a class="headerlink" href="#gestion.models.Product.SOFT" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.Product.TYPEINPUT_CHOICES_CATEGORIE">
<code class="descname">TYPEINPUT_CHOICES_CATEGORIE</code><em class="property"> = (('PP', 'Pinte Pression'), ('DP', 'Demi Pression'), ('GP', 'Galopin pression'), ('BT', 'Bouteille'), ('SO', 'Soft'), ('FO', 'En-cas'), ('PA', 'Ingredients panini'))</em><a class="headerlink" href="#gestion.models.Product.TYPEINPUT_CHOICES_CATEGORIE" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.Product.adherentRequired">
<code class="descname">adherentRequired</code><a class="headerlink" href="#gestion.models.Product.adherentRequired" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Product.amount">
<code class="descname">amount</code><a class="headerlink" href="#gestion.models.Product.amount" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Product.barcode">
<code class="descname">barcode</code><a class="headerlink" href="#gestion.models.Product.barcode" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Product.category">
<code class="descname">category</code><a class="headerlink" href="#gestion.models.Product.category" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Product.consumption_set">
<code class="descname">consumption_set</code><a class="headerlink" href="#gestion.models.Product.consumption_set" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related objects manager on the reverse side of a
many-to-one relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Parent.children</span></code> is a <code class="docutils literal notranslate"><span class="pre">ReverseManyToOneDescriptor</span></code> instance.</p>
<p>Most of the implementation is delegated to a dynamically defined manager
class built by <code class="docutils literal notranslate"><span class="pre">create_forward_many_to_many_manager()</span></code> defined below.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Product.consumptionhistory_set">
<code class="descname">consumptionhistory_set</code><a class="headerlink" href="#gestion.models.Product.consumptionhistory_set" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related objects manager on the reverse side of a
many-to-one relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Parent.children</span></code> is a <code class="docutils literal notranslate"><span class="pre">ReverseManyToOneDescriptor</span></code> instance.</p>
<p>Most of the implementation is delegated to a dynamically defined manager
class built by <code class="docutils literal notranslate"><span class="pre">create_forward_many_to_many_manager()</span></code> defined below.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Product.deg">
<code class="descname">deg</code><a class="headerlink" href="#gestion.models.Product.deg" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Product.futd">
<code class="descname">futd</code><a class="headerlink" href="#gestion.models.Product.futd" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related objects manager on the reverse side of a
many-to-one relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Parent.children</span></code> is a <code class="docutils literal notranslate"><span class="pre">ReverseManyToOneDescriptor</span></code> instance.</p>
<p>Most of the implementation is delegated to a dynamically defined manager
class built by <code class="docutils literal notranslate"><span class="pre">create_forward_many_to_many_manager()</span></code> defined below.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Product.futg">
<code class="descname">futg</code><a class="headerlink" href="#gestion.models.Product.futg" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related objects manager on the reverse side of a
many-to-one relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Parent.children</span></code> is a <code class="docutils literal notranslate"><span class="pre">ReverseManyToOneDescriptor</span></code> instance.</p>
<p>Most of the implementation is delegated to a dynamically defined manager
class built by <code class="docutils literal notranslate"><span class="pre">create_forward_many_to_many_manager()</span></code> defined below.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Product.futp">
<code class="descname">futp</code><a class="headerlink" href="#gestion.models.Product.futp" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related objects manager on the reverse side of a
many-to-one relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Parent.children</span></code> is a <code class="docutils literal notranslate"><span class="pre">ReverseManyToOneDescriptor</span></code> instance.</p>
<p>Most of the implementation is delegated to a dynamically defined manager
class built by <code class="docutils literal notranslate"><span class="pre">create_forward_many_to_many_manager()</span></code> defined below.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.Product.get_category_display">
<code class="descname">get_category_display</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.CharField: category&gt;</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.Product.get_category_display" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.Product.history">
<code class="descname">history</code><em class="property"> = &lt;simple_history.manager.HistoryManager object&gt;</em><a class="headerlink" href="#gestion.models.Product.history" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.Product.id">
<code class="descname">id</code><a class="headerlink" href="#gestion.models.Product.id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Product.is_active">
<code class="descname">is_active</code><a class="headerlink" href="#gestion.models.Product.is_active" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Product.menu_set">
<code class="descname">menu_set</code><a class="headerlink" href="#gestion.models.Product.menu_set" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related objects manager on the forward and reverse sides of
a many-to-many relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Pizza</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">toppings</span> <span class="o">=</span> <span class="n">ManyToManyField</span><span class="p">(</span><span class="n">Topping</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;pizzas&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Pizza.toppings</span></code> and <code class="docutils literal notranslate"><span class="pre">Topping.pizzas</span></code> are <code class="docutils literal notranslate"><span class="pre">ManyToManyDescriptor</span></code>
instances.</p>
<p>Most of the implementation is delegated to a dynamically defined manager
class built by <code class="docutils literal notranslate"><span class="pre">create_forward_many_to_many_manager()</span></code> defined below.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Product.name">
<code class="descname">name</code><a class="headerlink" href="#gestion.models.Product.name" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Product.needQuantityButton">
<code class="descname">needQuantityButton</code><a class="headerlink" href="#gestion.models.Product.needQuantityButton" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Product.objects">
<code class="descname">objects</code><em class="property"> = &lt;django.db.models.manager.Manager object&gt;</em><a class="headerlink" href="#gestion.models.Product.objects" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.Product.ranking">
<code class="descname">ranking</code><a class="headerlink" href="#gestion.models.Product.ranking" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.Product.save_without_historical_record">
<code class="descname">save_without_historical_record</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.Product.save_without_historical_record" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Save model without saving a historical record</p>
<p>Make sure you know what youre doing before you use this method.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Product.showingMultiplier">
<code class="descname">showingMultiplier</code><a class="headerlink" href="#gestion.models.Product.showingMultiplier" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Product.stockBar">
<code class="descname">stockBar</code><a class="headerlink" href="#gestion.models.Product.stockBar" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Product.stockHold">
<code class="descname">stockHold</code><a class="headerlink" href="#gestion.models.Product.stockHold" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.Product.user_ranking">
<code class="descname">user_ranking</code><span class="sig-paren">(</span><em>pk</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.Product.user_ranking" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.Product.volume">
<code class="descname">volume</code><a class="headerlink" href="#gestion.models.Product.volume" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.models.Refund">
<em class="property">class </em><code class="descclassname">gestion.models.</code><code class="descname">Refund</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.Refund" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.db.models.base.Model</span></code></p>
<p>Stores refunds</p>
<dl class="exception">
<dt id="gestion.models.Refund.DoesNotExist">
<em class="property">exception </em><code class="descname">DoesNotExist</code><a class="headerlink" href="#gestion.models.Refund.DoesNotExist" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.ObjectDoesNotExist</span></code></p>
</dd></dl>
<dl class="exception">
<dt id="gestion.models.Refund.MultipleObjectsReturned">
<em class="property">exception </em><code class="descname">MultipleObjectsReturned</code><a class="headerlink" href="#gestion.models.Refund.MultipleObjectsReturned" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.MultipleObjectsReturned</span></code></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Refund.amount">
<code class="descname">amount</code><a class="headerlink" href="#gestion.models.Refund.amount" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Refund.coopeman">
<code class="descname">coopeman</code><a class="headerlink" href="#gestion.models.Refund.coopeman" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Refund.coopeman_id">
<code class="descname">coopeman_id</code><a class="headerlink" href="#gestion.models.Refund.coopeman_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Refund.customer">
<code class="descname">customer</code><a class="headerlink" href="#gestion.models.Refund.customer" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Refund.customer_id">
<code class="descname">customer_id</code><a class="headerlink" href="#gestion.models.Refund.customer_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Refund.date">
<code class="descname">date</code><a class="headerlink" href="#gestion.models.Refund.date" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.Refund.get_next_by_date">
<code class="descname">get_next_by_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: date&gt;</em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.Refund.get_next_by_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.Refund.get_previous_by_date">
<code class="descname">get_previous_by_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: date&gt;</em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.Refund.get_previous_by_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.Refund.history">
<code class="descname">history</code><em class="property"> = &lt;simple_history.manager.HistoryManager object&gt;</em><a class="headerlink" href="#gestion.models.Refund.history" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.Refund.id">
<code class="descname">id</code><a class="headerlink" href="#gestion.models.Refund.id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Refund.objects">
<code class="descname">objects</code><em class="property"> = &lt;django.db.models.manager.Manager object&gt;</em><a class="headerlink" href="#gestion.models.Refund.objects" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.Refund.save_without_historical_record">
<code class="descname">save_without_historical_record</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.Refund.save_without_historical_record" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Save model without saving a historical record</p>
<p>Make sure you know what youre doing before you use this method.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.models.Reload">
<em class="property">class </em><code class="descclassname">gestion.models.</code><code class="descname">Reload</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.Reload" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.db.models.base.Model</span></code></p>
<p>Stores reloads</p>
<dl class="exception">
<dt id="gestion.models.Reload.DoesNotExist">
<em class="property">exception </em><code class="descname">DoesNotExist</code><a class="headerlink" href="#gestion.models.Reload.DoesNotExist" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.ObjectDoesNotExist</span></code></p>
</dd></dl>
<dl class="exception">
<dt id="gestion.models.Reload.MultipleObjectsReturned">
<em class="property">exception </em><code class="descname">MultipleObjectsReturned</code><a class="headerlink" href="#gestion.models.Reload.MultipleObjectsReturned" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">django.core.exceptions.MultipleObjectsReturned</span></code></p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Reload.PaymentMethod">
<code class="descname">PaymentMethod</code><a class="headerlink" href="#gestion.models.Reload.PaymentMethod" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Reload.PaymentMethod_id">
<code class="descname">PaymentMethod_id</code><a class="headerlink" href="#gestion.models.Reload.PaymentMethod_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Reload.amount">
<code class="descname">amount</code><a class="headerlink" href="#gestion.models.Reload.amount" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Reload.coopeman">
<code class="descname">coopeman</code><a class="headerlink" href="#gestion.models.Reload.coopeman" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Reload.coopeman_id">
<code class="descname">coopeman_id</code><a class="headerlink" href="#gestion.models.Reload.coopeman_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Reload.customer">
<code class="descname">customer</code><a class="headerlink" href="#gestion.models.Reload.customer" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Accessor to the related object on the forward side of a many-to-one or
one-to-one (via ForwardOneToOneDescriptor subclass) relation.</p>
<p>In the example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">class</span> <span class="nc">Child</span><span class="p">(</span><span class="n">Model</span><span class="p">):</span>
<span class="n">parent</span> <span class="o">=</span> <span class="n">ForeignKey</span><span class="p">(</span><span class="n">Parent</span><span class="p">,</span> <span class="n">related_name</span><span class="o">=</span><span class="s1">&#39;children&#39;</span><span class="p">)</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">Child.parent</span></code> is a <code class="docutils literal notranslate"><span class="pre">ForwardManyToOneDescriptor</span></code> instance.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Reload.customer_id">
<code class="descname">customer_id</code><a class="headerlink" href="#gestion.models.Reload.customer_id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Reload.date">
<code class="descname">date</code><a class="headerlink" href="#gestion.models.Reload.date" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="method">
<dt id="gestion.models.Reload.get_next_by_date">
<code class="descname">get_next_by_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: date&gt;</em>, <em>is_next=True</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.Reload.get_next_by_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.Reload.get_previous_by_date">
<code class="descname">get_previous_by_date</code><span class="sig-paren">(</span><em>*</em>, <em>field=&lt;django.db.models.fields.DateTimeField: date&gt;</em>, <em>is_next=False</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.Reload.get_previous_by_date" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.Reload.history">
<code class="descname">history</code><em class="property"> = &lt;simple_history.manager.HistoryManager object&gt;</em><a class="headerlink" href="#gestion.models.Reload.history" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="gestion.models.Reload.id">
<code class="descname">id</code><a class="headerlink" href="#gestion.models.Reload.id" title="Lien permanent vers cette définition"></a></dt>
<dd><p>A wrapper for a deferred-loading field. When the value is read from this
object the first time, the query is executed.</p>
</dd></dl>
<dl class="attribute">
<dt id="gestion.models.Reload.objects">
<code class="descname">objects</code><em class="property"> = &lt;django.db.models.manager.Manager object&gt;</em><a class="headerlink" href="#gestion.models.Reload.objects" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="gestion.models.Reload.save_without_historical_record">
<code class="descname">save_without_historical_record</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.Reload.save_without_historical_record" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Save model without saving a historical record</p>
<p>Make sure you know what youre doing before you use this method.</p>
</dd></dl>
</dd></dl>
<dl class="function">
<dt id="gestion.models.isDemi">
<code class="descclassname">gestion.models.</code><code class="descname">isDemi</code><span class="sig-paren">(</span><em>id</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.isDemi" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="function">
<dt id="gestion.models.isGalopin">
<code class="descclassname">gestion.models.</code><code class="descname">isGalopin</code><span class="sig-paren">(</span><em>id</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.isGalopin" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
<dl class="function">
<dt id="gestion.models.isPinte">
<code class="descclassname">gestion.models.</code><code class="descname">isPinte</code><span class="sig-paren">(</span><em>id</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.models.isPinte" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
</div>
<div class="section" id="module-gestion.tests">
<span id="gestion-tests-module"></span><h2>gestion.tests module<a class="headerlink" href="#module-gestion.tests" title="Lien permanent vers ce titre"></a></h2>
</div>
<div class="section" id="module-gestion.urls">
<span id="gestion-urls-module"></span><h2>gestion.urls module<a class="headerlink" href="#module-gestion.urls" title="Lien permanent vers ce titre"></a></h2>
<dl class="function">
<dt id="gestion.urls.path">
<code class="descclassname">gestion.urls.</code><code class="descname">path</code><span class="sig-paren">(</span><em>route</em>, <em>view</em>, <em>kwargs=None</em>, <em>name=None</em>, <em>*</em>, <em>Pattern=&lt;class 'django.urls.resolvers.RoutePattern'&gt;</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.urls.path" title="Lien permanent vers cette définition"></a></dt>
<dd></dd></dl>
</div>
<div class="section" id="module-gestion.views">
<span id="gestion-views-module"></span><h2>gestion.views module<a class="headerlink" href="#module-gestion.views" title="Lien permanent vers ce titre"></a></h2>
<dl class="class">
<dt id="gestion.views.ActiveProductsAutocomplete">
<em class="property">class </em><code class="descclassname">gestion.views.</code><code class="descname">ActiveProductsAutocomplete</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.views.ActiveProductsAutocomplete" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">dal_select2.views.Select2QuerySetView</span></code></p>
<p>Autocomplete view for active products</p>
<dl class="method">
<dt id="gestion.views.ActiveProductsAutocomplete.get_queryset">
<code class="descname">get_queryset</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#gestion.views.ActiveProductsAutocomplete.get_queryset" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Filter the queryset with GET[“q”].</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.views.KegActiveAutocomplete">
<em class="property">class </em><code class="descclassname">gestion.views.</code><code class="descname">KegActiveAutocomplete</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.views.KegActiveAutocomplete" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">dal_select2.views.Select2QuerySetView</span></code></p>
<p>Autocomplete view for active kegs</p>
<dl class="method">
<dt id="gestion.views.KegActiveAutocomplete.get_queryset">
<code class="descname">get_queryset</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#gestion.views.KegActiveAutocomplete.get_queryset" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Filter the queryset with GET[“q”].</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.views.KegPositiveAutocomplete">
<em class="property">class </em><code class="descclassname">gestion.views.</code><code class="descname">KegPositiveAutocomplete</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.views.KegPositiveAutocomplete" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">dal_select2.views.Select2QuerySetView</span></code></p>
<p>Autocomplete view for kegs with positive stockHold</p>
<dl class="method">
<dt id="gestion.views.KegPositiveAutocomplete.get_queryset">
<code class="descname">get_queryset</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#gestion.views.KegPositiveAutocomplete.get_queryset" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Filter the queryset with GET[“q”].</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.views.MenusAutocomplete">
<em class="property">class </em><code class="descclassname">gestion.views.</code><code class="descname">MenusAutocomplete</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.views.MenusAutocomplete" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">dal_select2.views.Select2QuerySetView</span></code></p>
<p>Used as autcomplete for all menus</p>
<dl class="method">
<dt id="gestion.views.MenusAutocomplete.get_queryset">
<code class="descname">get_queryset</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#gestion.views.MenusAutocomplete.get_queryset" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Filter the queryset with GET[“q”].</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="gestion.views.ProductsAutocomplete">
<em class="property">class </em><code class="descclassname">gestion.views.</code><code class="descname">ProductsAutocomplete</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.views.ProductsAutocomplete" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Bases : <code class="xref py py-class docutils literal notranslate"><span class="pre">dal_select2.views.Select2QuerySetView</span></code></p>
<p>Autocomplete view for all products</p>
<dl class="method">
<dt id="gestion.views.ProductsAutocomplete.get_queryset">
<code class="descname">get_queryset</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#gestion.views.ProductsAutocomplete.get_queryset" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Filter the queryset with GET[“q”].</p>
</dd></dl>
</dd></dl>
<dl class="function">
<dt id="gestion.views.allocate">
<code class="descclassname">gestion.views.</code><code class="descname">allocate</code><span class="sig-paren">(</span><em>pinte_pk</em>, <em>user</em><span class="sig-paren">)</span><a class="headerlink" href="#gestion.views.allocate" title="Lien permanent vers cette définition"></a></dt>
<dd><p>Allocate a pinte to a user or release the pinte if user is None</p>
</dd></dl>
</div>
<div class="section" id="module-gestion">
<span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-gestion" title="Lien permanent vers ce titre"></a></h2>
</div>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h1 class="logo"><a href="index.html">CoopeV3</a></h1>
<h3>Navigation</h3>
<div class="relations">
<h3>Related Topics</h3>
<ul>
<li><a href="index.html">Documentation overview</a><ul>
</ul></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3>Recherche rapide</h3>
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
<input type="text" name="q" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="footer">
&copy;2019, Yoann Pietri.
|
Powered by <a href="http://sphinx-doc.org/">Sphinx 1.8.4</a>
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
|
<a href="_sources/gestion.rst.txt"
rel="nofollow">Page source</a>
</div>
</body>
</html>