Browse Source
Merge pull request #146 from beescoop/12.0-mig-beesdoo_pos
Merge pull request #146 from beescoop/12.0-mig-beesdoo_pos
[12.0] [MIG] beesdoo_pospull/148/head
Rémy Taymans
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 39 additions and 373 deletions
-
5beesdoo_pos/__manifest__.py
-
13beesdoo_pos/data/cron.xml
-
23beesdoo_pos/data/email.xml
-
151beesdoo_pos/i18n/fr_BE.po
-
84beesdoo_pos/models/beesdoo_pos.py
-
5beesdoo_pos/security/ir.model.access.csv
-
69beesdoo_pos/static/src/js/beesdoo.js
-
13beesdoo_pos/static/src/xml/templates.xml
-
27beesdoo_pos/views/beesdoo_pos.xml
@ -1,13 +0,0 @@ |
|||
<odoo> |
|||
<data noupdate="1"> |
|||
<record id="ir_cron_sent_pos_ticket" model="ir.cron"> |
|||
<field name="name">send ticket</field> |
|||
<field name="interval_number">1</field> |
|||
<field name="interval_type">minutes</field> |
|||
<field name="numbercall">-1</field> |
|||
<field name="doall" eval="False" /> |
|||
<field name="model_id" ref="model_pos_order"/> |
|||
<field name="code">model._send_order_cron()</field> |
|||
</record> |
|||
</data> |
|||
</odoo> |
@ -1,23 +0,0 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<odoo> |
|||
<data noupdate="1"> |
|||
|
|||
<!--Email template --> |
|||
<record id="email_send_ticket" model="mail.template"> |
|||
<field name="name">Envoyer Reçu</field> |
|||
<field name="email_from">${(object.user_id.email and '%s <%s>' % (object.user_id.name, object.user_id.email) or '')|safe}</field> |
|||
<field name="subject">${object.pos_reference}</field> |
|||
<field name="partner_to">${object.partner_id.id}</field> |
|||
<field name="model_id" ref="point_of_sale.model_pos_order" /> |
|||
<field name="auto_delete" eval="True" /> |
|||
<!-- TODO: will be taken care of in separate 'pos_order_email' module --> |
|||
<!--<field name="report_template" ref="point_of_sale.action_report_pos_receipt" />--> |
|||
<field name="report_name">Ticket ${object.pos_reference}</field> |
|||
<field name="lang">${object.partner_id.lang}</field> |
|||
<field name="body_html"><![CDATA[ |
|||
Votre Ticket ${object.pos_reference} |
|||
]]></field> |
|||
</record> |
|||
|
|||
</data> |
|||
</odoo> |
@ -1,151 +0,0 @@ |
|||
# Translation of Odoo Server. |
|||
# This file contains the translation of the following modules: |
|||
# * beesdoo_pos |
|||
# |
|||
msgid "" |
|||
msgstr "" |
|||
"Project-Id-Version: Odoo Server 9.0c\n" |
|||
"Report-Msgid-Bugs-To: \n" |
|||
"POT-Creation-Date: 2016-11-13 15:23+0000\n" |
|||
"PO-Revision-Date: 2016-11-13 15:23+0000\n" |
|||
"Last-Translator: <>\n" |
|||
"Language-Team: \n" |
|||
"MIME-Version: 1.0\n" |
|||
"Content-Type: text/plain; charset=UTF-8\n" |
|||
"Content-Transfer-Encoding: \n" |
|||
"Plural-Forms: \n" |
|||
|
|||
#. module: beesdoo_pos |
|||
#: model:mail.template,body_html:beesdoo_pos.email_send_ticket |
|||
msgid "\n" |
|||
"Votre Ticket ${object.pos_reference}\n" |
|||
" " |
|||
msgstr "<p style=\"margin:0px 0px 10px 0px;font-size:13px;font-family:"Lucida Grande", Helvetica, Verdana, Arial, sans-serif;\"></p><p style=\"margin:0px 0px 10px 0px;font-size:13px;font-family:"Lucida Grande", Helvetica, Verdana, Arial, sans-serif;\">\n" |
|||
"\n" |
|||
"</p><p style=\"margin:0px 0px 10px 0px;font-size:13px;font-family:"Lucida Grande", Helvetica, Verdana, Arial, sans-serif;\">\n" |
|||
"\n" |
|||
"</p><p style=\"margin:0px 0px 10px 0px;font-size:13px;font-family:"Lucida Grande", Helvetica, Verdana, Arial, sans-serif;color: rgb(33, 33, 33)\"><font style=\"font-size: 12px;\">Bonjour, </font></p><p style=\"margin:0px 0px 10px 0px;font-size:13px;font-family:"Lucida Grande", Helvetica, Verdana, Arial, sans-serif;color: rgb(33, 33, 33)\"><font style=\"font-size: 12px;\">Vous trouverez ci-joint votre ticket de caisse en version électronique.</font></p><p style=\"margin:0px 0px 10px 0px;font-size:13px;font-family:"Lucida Grande", Helvetica, Verdana, Arial, sans-serif;color: rgb(33, 33, 33)\"><font style=\"font-size: 12px;\">Pour rappel, à partir d'octobre, le Labo market est ouvert les lundis, mardis, mercredis de 17h30 à 20h et les samedis de 10h30 à 16h.</font></p><p style=\"margin:0px 0px 10px 0px;font-size:13px;font-family:"Lucida Grande", Helvetica, Verdana, Arial, sans-serif;color: rgb(33, 33, 33)\"><font style=\"font-size: 12px;\">Pour vous inscrire à des permanences BEES, rendez-vous sur <a href=\"http://shift.bees-coop.be/\" target=\"_blank\" style=\"cursor:pointer;text-decoration:none;color:rgb(51, 122, 183);background-color:transparent;\">http://shift.bees-coop.be/</a> .</font></p><p style=\"margin:0px 0px 10px 0px;font-size:13px;font-family:"Lucida Grande", Helvetica, Verdana, Arial, sans-serif;color: rgb(33, 33, 33)\"><font style=\"font-size: 12px;\">Au plaisir de vous revoir au Labo market.</font></p><p style=\"margin:0px 0px 10px 0px;font-size:13px;font-family:"Lucida Grande", Helvetica, Verdana, Arial, sans-serif;color: rgb(33, 33, 33)\"></p><p style=\"margin:0px 0px 10px 0px;font-size:13px;font-family:"Lucida Grande", Helvetica, Verdana, Arial, sans-serif;color: rgb(33, 33, 33)\"></p><p style=\"margin:0px 0px 10px 0px;font-size:13px;font-family:"Lucida Grande", Helvetica, Verdana, Arial, sans-serif;\"></p><p style=\"margin:0px 0px 10px 0px;font-size:13px;font-family:"Lucida Grande", Helvetica, Verdana, Arial, sans-serif;\"></p><p style=\"margin:0px 0px 10px 0px;font-size:13px;font-family:"Lucida Grande", Helvetica, Verdana, Arial, sans-serif;color: rgb(33, 33, 33)\"><font style=\"font-size: 12px;\">BEES coop,</font></p><p style=\"margin:0px 0px 10px 0px;font-size:13px;font-family:"Lucida Grande", Helvetica, Verdana, Arial, sans-serif;color: rgb(33, 33, 33)\"><img src=\"/web/image/9457\" class=\"pull-left\" style=\"float:left;vertical-align:middle;border-image-repeat:initial;border-image-outset:initial;border-image-width:initial;border-image-slice:initial;border-image-source:initial;border-left-color:initial;border-bottom-color:initial;border-right-color:initial;border-top-color:initial;border-left-style:initial;border-bottom-style:initial;border-right-style:initial;border-top-style:initial;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;width: 25%;\"></p><p style=\"margin:0px 0px 10px 0px;font-size:13px;font-family:"Lucida Grande", Helvetica, Verdana, Arial, sans-serif;color: rgb(33, 33, 33)\"><font style=\"font-size: 12px;\"></font></p><p style=\"margin:0px 0px 10px 0px;font-size:13px;font-family:"Lucida Grande", Helvetica, Verdana, Arial, sans-serif;color: rgb(33, 33, 33)\"><font style=\"font-size: 12px;\"></font></p><p style=\"margin:0px 0px 10px 0px;font-size:13px;font-family:"Lucida Grande", Helvetica, Verdana, Arial, sans-serif;\"></p>" |
|||
|
|||
#. module: beesdoo_pos |
|||
#: model:mail.template,subject:beesdoo_pos.email_send_ticket |
|||
msgid "${object.pos_reference}" |
|||
msgstr "${object.pos_reference}" |
|||
|
|||
#. module: beesdoo_pos |
|||
#: model:ir.model,name:beesdoo_pos.model_account_bank_statement_cashbox |
|||
msgid "Account Bank Statement Cashbox Details" |
|||
msgstr "Détails" |
|||
|
|||
#. module: beesdoo_pos |
|||
#. openerp-web |
|||
#: code:addons/beesdoo_pos/static/src/xml/templates.xml:17 |
|||
#: code:addons/beesdoo_pos/static/src/xml/templates.xml:35 |
|||
#, python-format |
|||
msgid "Balance:" |
|||
msgstr "Balance:" |
|||
|
|||
#. module: beesdoo_pos |
|||
#: model:ir.ui.view,arch_db:beesdoo_pos.beescoop_pos_inherit |
|||
msgid "Bill Value" |
|||
msgstr "Bill Value" |
|||
|
|||
#. module: beesdoo_pos |
|||
#: model:ir.model.fields,field_description:beesdoo_pos.field_pos_config_bill_value |
|||
msgid "Bill value" |
|||
msgstr "Bill value" |
|||
|
|||
#. module: beesdoo_pos |
|||
#: code:addons/beesdoo_pos/models/beesdoo_pos.py:38 |
|||
#, python-format |
|||
msgid "Cannot send the ticket, no email address found on the client" |
|||
msgstr "Cannot send the ticket, no email address found on the client" |
|||
|
|||
#. module: beesdoo_pos |
|||
#: model:ir.model.fields,field_description:beesdoo_pos.field_bill_value_create_uid |
|||
msgid "Created by" |
|||
msgstr "Créé par" |
|||
|
|||
#. module: beesdoo_pos |
|||
#: model:ir.model.fields,field_description:beesdoo_pos.field_bill_value_create_date |
|||
msgid "Created on" |
|||
msgstr "Créé le" |
|||
|
|||
#. module: beesdoo_pos |
|||
#: model:ir.model.fields,field_description:beesdoo_pos.field_bill_value_display_name |
|||
msgid "Display Name" |
|||
msgstr "Nom affiché" |
|||
|
|||
#. module: beesdoo_pos |
|||
#: code:addons/beesdoo_pos/models/beesdoo_pos.py:36 |
|||
#, python-format |
|||
msgid "Error: no order found" |
|||
msgstr "Error: no order found" |
|||
|
|||
#. module: beesdoo_pos |
|||
#: model:ir.model.fields,field_description:beesdoo_pos.field_bill_value_id |
|||
msgid "ID" |
|||
msgstr "ID" |
|||
|
|||
#. module: beesdoo_pos |
|||
#: model:ir.model.fields,field_description:beesdoo_pos.field_bill_value___last_update |
|||
msgid "Last Modified on" |
|||
msgstr "Dernière modification le" |
|||
|
|||
#. module: beesdoo_pos |
|||
#: model:ir.model.fields,field_description:beesdoo_pos.field_bill_value_write_uid |
|||
msgid "Last Updated by" |
|||
msgstr "Mis à jour par" |
|||
|
|||
#. module: beesdoo_pos |
|||
#: model:ir.model.fields,field_description:beesdoo_pos.field_bill_value_write_date |
|||
msgid "Last Updated on" |
|||
msgstr "Mis à jour le" |
|||
|
|||
#. module: beesdoo_pos |
|||
#: model:ir.model.fields,field_description:beesdoo_pos.field_bill_value_name |
|||
msgid "Name" |
|||
msgstr "Nom" |
|||
|
|||
#. module: beesdoo_pos |
|||
#: model:ir.model,name:beesdoo_pos.model_res_partner |
|||
msgid "Partner" |
|||
msgstr "Partenaire" |
|||
|
|||
#. module: beesdoo_pos |
|||
#: model:ir.model,name:beesdoo_pos.model_pos_order |
|||
msgid "Point of Sale" |
|||
msgstr "Point de vente" |
|||
|
|||
#. module: beesdoo_pos |
|||
#: model:ir.model.fields,field_description:beesdoo_pos.field_bill_value_pos |
|||
msgid "Pos" |
|||
msgstr "Pos" |
|||
|
|||
#. module: beesdoo_pos |
|||
#. openerp-web |
|||
#: code:addons/beesdoo_pos/static/src/xml/templates.xml:6 |
|||
#, python-format |
|||
msgid "Send Receipt By Mail" |
|||
msgstr "Send Receipt By Mail" |
|||
|
|||
#. module: beesdoo_pos |
|||
#: model:mail.template,report_name:beesdoo_pos.email_send_ticket |
|||
msgid "Ticket ${object.pos_reference}" |
|||
msgstr "Ticket ${object.pos_reference}" |
|||
|
|||
#. module: beesdoo_pos |
|||
#: code:addons/beesdoo_pos/models/beesdoo_pos.py:41 |
|||
#, python-format |
|||
msgid "Ticket sent" |
|||
msgstr "Ticket sent" |
|||
|
|||
#. module: beesdoo_pos |
|||
#: model:ir.model,name:beesdoo_pos.model_bill_value |
|||
msgid "bill_value" |
|||
msgstr "bill_value" |
|||
|
|||
#. module: beesdoo_pos |
|||
#: model:ir.model,name:beesdoo_pos.model_pos_config |
|||
msgid "pos.config" |
|||
msgstr "pos.config" |
|||
|
@ -1,5 +0,0 @@ |
|||
"id","name","model_id/id","group_id/id","perm_read","perm_write","perm_create","perm_unlink" |
|||
"bill_value_read_all","Read All","beesdoo_pos.model_bill_value","","True","False","False","False" |
|||
"bill_value_accountant_all","All Comptable","beesdoo_pos.model_bill_value","account.group_account_user","True","True","True","True" |
|||
"bill_value_pos_manager_all","All POS manager","beesdoo_pos.model_bill_value","point_of_sale.group_pos_manager","True","True","True","True" |
|||
"account_bank_statement_cashbox POS user","account.bank.statement.cashbox POS User","account.model_account_bank_statement_cashbox","point_of_sale.group_pos_user","True","True","True","False" |
Write
Preview
Loading…
Cancel
Save
Reference in new issue