This repository has been archived by the owner on Oct 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from legalsylvain/8.0_REF_sale_eshop
[8.0][REF] sale_eshop
- Loading branch information
Showing
74 changed files
with
2,162 additions
and
2,163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
web | ||
l10n-france | ||
account-invoicing | ||
sale-workflow | ||
l10n-france | ||
purchase-workflow | ||
web | ||
|
||
grap-odoo-incubator https://github.com/grap/grap-odoo-incubator.git 8.0 | ||
grap-odoo-business https://github.com/grap/grap-odoo-business.git 8.0 | ||
grap-odoo-custom https://github.com/grap/grap-odoo-custom.git 8.0 | ||
|
||
grap-odoo-backport https://github.com/grap/grap-odoo-backport.git 8.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,2 @@ | ||
# -*- encoding: utf-8 -*- | ||
############################################################################## | ||
# | ||
# Sale - eShop for Odoo | ||
# Copyright (C) 2014 GRAP (http://www.grap.coop) | ||
# @author Sylvain LE GAL (https://twitter.com/legalsylvain) | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU Affero General Public License as | ||
# published by the Free Software Foundation, either version 3 of the | ||
# License, or (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU Affero General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Affero General Public License | ||
# along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
############################################################################## | ||
|
||
from . import model | ||
# encoding: utf-8 | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,49 @@ | ||
# -*- encoding: utf-8 -*- | ||
############################################################################## | ||
# | ||
# Sale - eShop for Odoo | ||
# Copyright (C) 2014 GRAP (http://www.grap.coop) | ||
# @author Sylvain LE GAL (https://twitter.com/legalsylvain) | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU Affero General Public License as | ||
# published by the Free Software Foundation, either version 3 of the | ||
# License, or (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU Affero General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Affero General Public License | ||
# along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
############################################################################## | ||
# coding: utf-8 | ||
# Copyright (C) 2014 - Today: GRAP (http://www.grap.coop) | ||
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain) | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
|
||
{ | ||
'name': 'Sale - eShop', | ||
'version': '8.0.1.0.0', | ||
'version': '8.0.4.0.0', | ||
'summary': "Allow connection to Odoo eShop Project", | ||
'category': 'Sale', | ||
'author': 'GRAP', | ||
'website': 'http://www.grap.coop', | ||
'license': 'AGPL-3', | ||
'depends': [ | ||
'product', | ||
'mail', | ||
'product', | ||
'sale', | ||
'sale_food', | ||
'sale_order_line_price_subtotal_gross', | ||
'sale_recovery_moment', | ||
'simple_tax_sale', | ||
'grap_qweb_report', | ||
], | ||
'data': [ | ||
'security/ir_rule.xml', | ||
'security/ir_module_category.yml', | ||
'security/res_groups.yml', | ||
'security/ir_model_access.yml', | ||
'security/ir_module_category.xml', | ||
'security/res_groups.xml', | ||
'security/ir.model.access.csv', | ||
'data/email_template.xml', | ||
'view/wizard_view.xml', | ||
'view/wizard_action.xml', | ||
'view/view.xml', | ||
'view/action.xml', | ||
'view/menu.xml', | ||
'data/ir_cron.xml', | ||
'views/menu.xml', | ||
'views/view_account_tax.xml', | ||
'views/view_eshop_category.xml', | ||
'views/view_product_product.xml', | ||
'views/view_product_uom.xml', | ||
'views/view_res_company.xml', | ||
'views/view_res_partner.xml', | ||
'views/view_wizard_res_company_eshop_setting.xml', | ||
], | ||
'demo': [ | ||
'demo/res_partner.yml', | ||
'demo/res_company.xml', | ||
'demo/eshop_category.xml', | ||
'demo/product_product.xml', | ||
'demo/product_uom.yml', | ||
'demo/res_users.yml', | ||
'demo/res_groups.yml', | ||
'demo/product_uom.xml', | ||
'demo/res_users.xml', | ||
'demo/res_groups.xml', | ||
'demo/res_partner.xml', | ||
], | ||
'installable': True, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,35 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- ********************************************************************** --> | ||
<!--Sale - eShop for Odoo --> | ||
<!--Copyright (C) 2015-Today GRAP (http://www.grap.coop) --> | ||
<!--@author Sylvain LE GAL (https://twitter.com/legalsylvain) --> | ||
<!-- | ||
Copyright (C) 2015 - Today: GRAP (http://www.grap.coop) | ||
@author: Sylvain LE GAL (https://twitter.com/legalsylvain) | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
--> | ||
<openerp><data> | ||
|
||
<!--This program is free software: you can redistribute it and/or modify --> | ||
<!--it under the terms of the GNU Affero General Public License as --> | ||
<!--published by the Free Software Foundation, either version 3 of the --> | ||
<!--License, or (at your option) any later version. --> | ||
|
||
<!--This program is distributed in the hope that it will be useful, --> | ||
<!--but WITHOUT ANY WARRANTY; without even the implied warranty of --> | ||
<!--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --> | ||
<!--GNU Affero General Public License for more details. --> | ||
|
||
<!--You should have received a copy of the GNU Affero General Public License--> | ||
<!--along with this program. If not, see <http://www.gnu.org/licenses/>. --> | ||
<!-- ********************************************************************** --> | ||
<openerp> | ||
<data> | ||
|
||
<!-- Model: email.template // res.partner --> | ||
<record model="email.template" id="eshop_send_crendential_template" > | ||
<field name="name">Send Password</field> | ||
<field name="model_id" ref="base.model_res_partner"/> | ||
<field name="email_from"><![CDATA[${object.company_id.name} <${(object.company_id.email or user.email)|safe}>]]></field> | ||
<field name="email_recipients">${object.id}</field> | ||
<field name="subject">eShop Access</field> | ||
<field name="lang">${object.lang}</field> | ||
<field name="body_html"><![CDATA[ | ||
<record model="email.template" id="eshop_send_crendential_template" > | ||
<field name="name">Send Password</field> | ||
<field name="model_id" ref="base.model_res_partner"/> | ||
<field name="email_from"><![CDATA[${object.company_id.name} <${(object.company_id.email or user.email)|safe}>]]></field> | ||
<field name="partner_to">${object.id}</field> | ||
<field name="subject">eShop Access</field> | ||
<field name="lang">${object.lang}</field> | ||
<field name="body_html"><![CDATA[ | ||
<div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; "> | ||
<p>Hello, ${object.name}</p> | ||
<p>Here is your credentials to access to the purchase website of ${object.company_id.name}:</p> | ||
<p> | ||
<ul> | ||
<li>Web Site: ${object.company_id.eshop_url}</li> | ||
<li>Login: ${object.email}</li> | ||
<li>Password: ${object.eshop_password}</li> | ||
</ul> | ||
</p> | ||
<p>Hello, ${object.name}</p> | ||
<p>Here is your credentials to access to the purchase website of ${object.company_id.name}:</p> | ||
<p> | ||
<ul> | ||
<li>Web Site: ${object.company_id.eshop_url}</li> | ||
<li>Login: ${object.email}</li> | ||
<li>Password: ${object.eshop_password}</li> | ||
</ul> | ||
</p> | ||
% if object.eshop_state == 'email_to_confirm': | ||
Please finish your registration by clicking on this <a href="${object.company_id.eshop_url}activate_account/${object.id}/${object.email}">activation link</a>. | ||
Please finish your registration by clicking on this <a href="${object.company_id.eshop_url}activate_account/${object.id}/${object.email}">activation link</a>. | ||
% endif | ||
<p>Have a nice day</p> | ||
<p>Have a nice day</p> | ||
</div> | ||
]]></field> | ||
</record> | ||
</data> | ||
</openerp> | ||
]]></field> | ||
</record> | ||
|
||
</data></openerp> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Copyright (C) 2015 - Today: GRAP (http://www.grap.coop) | ||
@author: Sylvain LE GAL (https://twitter.com/legalsylvain) | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
--> | ||
<openerp><data noupdate="1"> | ||
|
||
<record forcecreate="True" id="cron_confirm_eshop_orders" model="ir.cron"> | ||
<field name="name">Eshop - Confirm Orders</field> | ||
<field name="user_id" ref="base.user_root"/> | ||
<field name="interval_number">5</field> | ||
<field name="interval_type">minutes</field> | ||
<field name="numbercall">-1</field> | ||
<field name="doall" eval="False"/> | ||
<field name="model" eval="'sale.order'" /> | ||
<field name="function" eval="'_eshop_cron_confirm_orders'" /> | ||
<field name="args" eval="'()'" /> | ||
</record> | ||
|
||
</data></openerp> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.