{% extends "admin/base_site_grid.html" %} {% load i18n %} {% block extrahead %}{{block.super}} {% endblock %} {% block actions %}    {{block.super}}{% endblock %} {% block after_table %}

{% trans "Launch new tasks" %}

{% if perms.execute %} {% if perms.execute.generate_plan %}

{% trans 'Create a plan' %}

{% csrf_token %}
{% blocktrans %} Load frePPLe from the database and live data sources...
and create a plan in frePPLe...
and export results.

Plan type
{% endblocktrans %} {% blocktrans %}Constrained plan{% endblocktrans %}
{% blocktrans %}Unconstrained plan{% endblocktrans %}

{% trans "Constraints" %}





{% if odoo %} {% blocktrans %}Live data sources{% endblocktrans %}
{% trans "Read" %} {% trans "Write" %}
Odoo
{% endif %} {% trans "View log file" %}
{% endif %}

{% trans "Export a spreadsheet" %}

{% csrf_token %}
{% trans "Download all input data in a single spreadsheet." %}

{% getMenu as menu %}
{% for group in menu %}{% for item in group.1 %}{% if item.1.model and not item.1.excludeFromBulkOperations %}
{% endif %}{% endfor %}{% endfor %}

{% trans "Import a spreadsheet" %}

{% trans "Import input data from a spreadsheet.
The spreadsheet must match the structure exported with the task above." %}
{% trans "Data file" %}:
{% if scenarios.count > 1 %}

{% trans "Scenario management" %}

{% csrf_token %} {% for j in scenarios %}{% ifnotequal j.name 'default' %} {% endifnotequal %}{% endfor %} {% if perms.execute.copy_scenario %} {% endif %} {% if perms.execute.release_scenario %} {% endif %}
{% trans 'name'|capfirst %} {% trans 'status'|capfirst %} {% trans 'description'|capfirst %} {% trans 'last refresh'|capfirst %}
{{j.status}} {{j.description}} {{j.lastrefresh|date:"DATETIME_FORMAT"}}
{% trans "Copy" %} {% trans "into selected scenarios" %}
{% trans "Release selected scenarios" %}
{% trans "Update description of selected scenarios" %}
{% endif %} {% if perms.execute.run_db %}

{% trans "Back up the database" %}

{% csrf_token %}
{% trans "Dump the database contents to a file." %}

{% trans "Empty the database" %}

{% csrf_token %}
{% trans "Erase selected tables in the database." %}


{% for group in menu %}{% for item in group.1 %}{% if item.1.model and not item.1.excludeFromBulkOperations %}
{% endif %}{% endfor %}{% endfor %}

{% trans "Load a dataset" %}

{% csrf_token %}
{% trans "Load a dataset from a file in the database." %}
{% trans "Available datasets:" %}
{% endif %} {% if openbravo %}

{% blocktrans with erp="Openbravo" %}Import data from {{ erp }}{% endblocktrans %}

{% csrf_token %}
{% blocktrans with delta="" %}Import data changes in the last {{ delta }} days from the ERP into frePPLe.{% endblocktrans %}

{% blocktrans with erp="Openbravo" %}Export data to {{ erp }}{% endblocktrans %}

{% csrf_token %}
{% trans "Export frePPLe plan to the ERP." %}
{% endif %} {% if perms.execute.run_db %}

{% trans "Generate buckets" %}

{% csrf_token %}
{% blocktrans %}Create time buckets for reporting.
Start date:
End date:
Week starts on: {% endblocktrans %}

{% trans "Generate model" %}

{% csrf_token %}
{% blocktrans %}Create a sample model in the database.
The parameters control the size and complexity.
Number of end items:
Demand:
  Monthly forecast per end item:
  Demands per end item:
  Average delivery lead time: days
Raw Materials:
  Depth of bill-of-material:
  Total number of components:
  Number of components per end item:
  Average procurement lead time: days
Capacity:
  Number of resources:
  Size of each resource:
  Expected average resource utilization: 76.7%
{% endblocktrans %}
{% endif %} {% else %} {% trans "Sorry, You don't have any execute permissions..." %} {% endif %}
{% endblock %}