diff --git a/MANIFEST.in b/MANIFEST.in
index 034e06807ff..2ef37c2bb2e 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -23,4 +23,5 @@ recursive-include openerp *.woff
recursive-include openerp *.xsl
recursive-include openerp *.xml
recursive-include openerp *.yml
-recursive-exclude * *.py[co]
\ No newline at end of file
+recursive-exclude * *.py[co]
+recursive-exclude * *.hg*
diff --git a/addons/account/edi/invoice_action_data.xml b/addons/account/edi/invoice_action_data.xml
index 5f8f8ec8784..48b4cd96cb5 100644
--- a/addons/account/edi/invoice_action_data.xml
+++ b/addons/account/edi/invoice_action_data.xml
@@ -52,7 +52,7 @@
It is also possible to directly pay with Paypal:
-
+
% endif
diff --git a/addons/account/report/report_vat.py b/addons/account/report/report_vat.py
index b7016af1b04..a86a180391c 100644
--- a/addons/account/report/report_vat.py
+++ b/addons/account/report/report_vat.py
@@ -31,6 +31,15 @@ class tax_report(report_sxw.rml_parse, common_report_header):
def set_context(self, objects, data, ids, report_type=None):
new_ids = ids
res = {}
+ if not data:
+ company_id = self.pool['res.users'].browse(self.cr, self.uid, self.uid).company_id.id
+ data = {
+ 'form': {
+ 'based_on': 'invoices',
+ 'company_id': company_id,
+ 'display_detail': False,
+ }
+ }
self.period_ids = []
period_obj = self.pool.get('account.period')
self.display_detail = data['form']['display_detail']
diff --git a/addons/account/static/src/img/btn_paynowcc_lg.gif b/addons/account/static/src/img/btn_paynowcc_lg.gif
new file mode 100644
index 00000000000..092c5542551
Binary files /dev/null and b/addons/account/static/src/img/btn_paynowcc_lg.gif differ
diff --git a/addons/account_asset/i18n/ca.po b/addons/account_asset/i18n/ca.po
old mode 100755
new mode 100644
diff --git a/addons/account_asset/i18n/de.po b/addons/account_asset/i18n/de.po
old mode 100755
new mode 100644
diff --git a/addons/account_asset/i18n/es.po b/addons/account_asset/i18n/es.po
old mode 100755
new mode 100644
diff --git a/addons/account_asset/i18n/es_CR.po b/addons/account_asset/i18n/es_CR.po
old mode 100755
new mode 100644
diff --git a/addons/account_asset/i18n/fr.po b/addons/account_asset/i18n/fr.po
old mode 100755
new mode 100644
diff --git a/addons/account_asset/i18n/fr_BE.po b/addons/account_asset/i18n/fr_BE.po
old mode 100755
new mode 100644
diff --git a/addons/account_asset/i18n/pl.po b/addons/account_asset/i18n/pl.po
old mode 100755
new mode 100644
diff --git a/addons/account_asset/i18n/pt.po b/addons/account_asset/i18n/pt.po
old mode 100755
new mode 100644
diff --git a/addons/account_asset/i18n/sv.po b/addons/account_asset/i18n/sv.po
old mode 100755
new mode 100644
diff --git a/addons/event_sale/event_demo.xml b/addons/event_sale/event_demo.xml
index 9d0ed231897..459ec7b6493 100644
--- a/addons/event_sale/event_demo.xml
+++ b/addons/event_sale/event_demo.xml
@@ -160,7 +160,7 @@
sponsored by
+
+
+
It is also possible to directly pay with Paypal:
-
+
% endif
@@ -141,7 +141,7 @@
It is also possible to directly pay with Paypal:
-
+
% endif
diff --git a/addons/product_email_template/data/product_demo.xml b/addons/product_email_template/data/product_demo.xml
index ccb880d512f..1fce4851696 100644
--- a/addons/product_email_template/data/product_demo.xml
+++ b/addons/product_email_template/data/product_demo.xml
@@ -34,7 +34,7 @@
-
+
|
There are three components to the training
diff --git a/addons/product_email_template/static/img/online_training.png b/addons/product_email_template/static/img/online_training.png
new file mode 100644
index 00000000000..cc03d0d7c35
Binary files /dev/null and b/addons/product_email_template/static/img/online_training.png differ
diff --git a/addons/purchase/static/description/ebook-logistic.png b/addons/purchase/static/description/ebook-logistic.png
new file mode 100644
index 00000000000..849b711bf70
Binary files /dev/null and b/addons/purchase/static/description/ebook-logistic.png differ
diff --git a/addons/purchase/static/description/index.html b/addons/purchase/static/description/index.html
index c165adf5e0c..92dbca8cf4f 100644
--- a/addons/purchase/static/description/index.html
+++ b/addons/purchase/static/description/index.html
@@ -57,7 +57,7 @@ Launch purchase tenders, integrate supplier's answers in the process and compare
-
Download our free E-book
+
It is also possible to directly pay with Paypal: -
+
% endif
diff --git a/addons/sale/static/description/ebook-marketing.png b/addons/sale/static/description/ebook-marketing.png
new file mode 100644
index 00000000000..1a046d6ce80
Binary files /dev/null and b/addons/sale/static/description/ebook-marketing.png differ
diff --git a/addons/sale/static/description/index.html b/addons/sale/static/description/index.html
index ddcde0ef085..37b448c8f66 100644
--- a/addons/sale/static/description/index.html
+++ b/addons/sale/static/description/index.html
@@ -68,7 +68,7 @@ Spend the extra time focusing on selling, not recording data.
-
Download our free E-book
+
+ src="static/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" />
{% endif %}
{% endblock %}
{% block sidebar1 %}{% endblock %}
diff --git a/addons/web/doc/_themes/flask_small/static/forkme_right_darkblue_121621.png b/addons/web/doc/_themes/flask_small/static/forkme_right_darkblue_121621.png
new file mode 100644
index 00000000000..146ef8a8006
Binary files /dev/null and b/addons/web/doc/_themes/flask_small/static/forkme_right_darkblue_121621.png differ
diff --git a/addons/web/static/lib/qweb/qweb-test.js.html b/addons/web/static/lib/qweb/qweb-test.js.html
index aac579d04fe..59f82d150ae 100644
--- a/addons/web/static/lib/qweb/qweb-test.js.html
+++ b/addons/web/static/lib/qweb/qweb-test.js.html
@@ -1,9 +1,9 @@
-
-
-
+
+
+
diff --git a/addons/web/static/src/font/mnmliconsv21-webfont.eot b/addons/web/static/src/font/mnmliconsv21-webfont.eot
old mode 100755
new mode 100644
diff --git a/addons/web/static/src/font/mnmliconsv21-webfont.ttf b/addons/web/static/src/font/mnmliconsv21-webfont.ttf
old mode 100755
new mode 100644
diff --git a/addons/web/static/src/font/mnmliconsv21-webfont.woff b/addons/web/static/src/font/mnmliconsv21-webfont.woff
old mode 100755
new mode 100644
diff --git a/addons/web/static/src/img/k-waiting1.gif b/addons/web/static/src/img/k-waiting1.gif
new file mode 100644
index 00000000000..b76cdfaac23
Binary files /dev/null and b/addons/web/static/src/img/k-waiting1.gif differ
diff --git a/addons/web/static/src/img/k-waiting2.gif b/addons/web/static/src/img/k-waiting2.gif
new file mode 100644
index 00000000000..b0b79e80830
Binary files /dev/null and b/addons/web/static/src/img/k-waiting2.gif differ
diff --git a/addons/web/static/src/js/chrome.js b/addons/web/static/src/js/chrome.js
index 7e42441b877..c316eafbee5 100644
--- a/addons/web/static/src/js/chrome.js
+++ b/addons/web/static/src/js/chrome.js
@@ -1310,7 +1310,7 @@ instance.web.WebClient = instance.web.Client.extend({
$("body").css("background-image", "url(" + instance.session.origin + "/web/static/src/img/back-enable.jpg" + ")");
if ($.blockUI) {
var imgkit = Math.floor(Math.random() * 2 + 1);
- $.blockUI.defaults.message = ' ';
+ $.blockUI.defaults.message = ' ';
}
},
/**
diff --git a/addons/website_blog/data/website_blog_demo.xml b/addons/website_blog/data/website_blog_demo.xml
index 4ba4e4eeeb2..838d8d5a1ce 100644
--- a/addons/website_blog/data/website_blog_demo.xml
+++ b/addons/website_blog/data/website_blog_demo.xml
@@ -23,7 +23,6 @@
Emails are broken.
diff --git a/addons/website_quote/data/website_quotation_data.xml b/addons/website_quote/data/website_quotation_data.xml
index 38bffdae3fa..40335af3dff 100644
--- a/addons/website_quote/data/website_quotation_data.xml
+++ b/addons/website_quote/data/website_quotation_data.xml
@@ -48,7 +48,7 @@
It is also possible to directly pay with Paypal: -
+
% endif
@@ -214,7 +214,7 @@
It is also possible to directly pay with Paypal: -
+
% endif
diff --git a/addons/website_quote/data/website_quotation_demo.xml b/addons/website_quote/data/website_quotation_demo.xml
index ed7eeb97555..e5713db6363 100644
--- a/addons/website_quote/data/website_quotation_demo.xml
+++ b/addons/website_quote/data/website_quotation_demo.xml
@@ -275,7 +275,7 @@
Structure of the Training
-
+
There are three components to the trainingdiff --git a/addons/website_quote/static/src/img/online_training.png b/addons/website_quote/static/src/img/online_training.png new file mode 100644 index 00000000000..cc03d0d7c35 Binary files /dev/null and b/addons/website_quote/static/src/img/online_training.png differ diff --git a/debian/control b/debian/control index 0ec394a6377..f6982ecc396 100644 --- a/debian/control +++ b/debian/control @@ -2,13 +2,14 @@ Source: odoo Section: net Priority: optional Maintainer: Odoo S.A.') + instance = platypus.Paragraph(text_node, style, **(utils.attr_get(node, [], {'bulletText':'str'}))) + result = [instance] + if LooseVersion(reportlab.Version) > LooseVersion('3.0') and not instance.getPlainText().strip() and instance.text.strip(): result.append(platypus.Paragraph(' ', style, **(utils.attr_get(node, [], {'bulletText': 'str'})))) return result elif node.tag=='barCode': diff --git a/setup/package.py b/setup/package.py index ce0db21bcf9..9ca97d19dd9 100755 --- a/setup/package.py +++ b/setup/package.py @@ -50,6 +50,9 @@ PUBLISH_DIRS = { 'tarball': 'src', 'windows': 'exe', } +ADDONS_NOT_TO_PUBLISH = [ + 'web_analytics' +] def mkdir(d): if not os.path.isdir(d): @@ -238,11 +241,14 @@ class KVMWinTestExe(KVM): #---------------------------------------------------------- # Stage: building #---------------------------------------------------------- -def _prepare_build_dir(o): +def _prepare_build_dir(o, win32=False): cmd = ['rsync', '-a', '--exclude', '.git', '--exclude', '*.pyc', '--exclude', '*.pyo'] + if not win32: + cmd += ['--exclude', 'setup/win32'] system(cmd + ['%s/' % o.odoo_dir, o.build_dir]) for i in glob(join(o.build_dir, 'addons/*')): - shutil.move(i, join(o.build_dir, 'openerp/addons')) + if i.split(os.path.sep)[-1] not in ADDONS_NOT_TO_PUBLISH: + shutil.move(i, join(o.build_dir, 'openerp/addons')) def build_tgz(o): system(['python2', 'setup.py', 'sdist', '--quiet', '--formats=gztar,zip'], o.build_dir) @@ -454,6 +460,7 @@ def main(): except Exception, e: print("Won't publish the rpm release.\n Exception: %s" % str(e)) if not o.no_windows: + _prepare_build_dir(o, win32=True) build_exe(o) try: if not o.no_testing: |