diff options
| author | Christophe Simonis <chs@odoo.com> | 2015-01-23 14:57:07 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2015-01-23 14:57:07 +0100 |
| commit | 4eb385fc0baf46ed29e406bc66d531316eea7379 (patch) | |
| tree | 7b80203c933e664a4fc4d0a5dbb0a5b71b4c5b54 | |
| parent | 88c1b40dead092b52914a1ff6b0164cfef41a6db (diff) | |
| parent | 0ec3c75c2dff354a9dfed7e475f227c2f8769256 (diff) | |
[MERGE] forward port of branch 8.0 up to 0ec3c75
83 files changed, 52 insertions, 52 deletions
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 @@ <br/> <p>It is also possible to directly pay with Paypal:</p> <a style="margin-left: 120px;" href="${object.paypal_url}"> - <img class="oe_edi_paypal_button" src="https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif"/> + <img class="oe_edi_paypal_button" src="/account/static/src/img/btn_paynowcc_lg.gif"/> </a> % 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 Binary files differnew file mode 100644 index 00000000000..092c5542551 --- /dev/null +++ b/addons/account/static/src/img/btn_paynowcc_lg.gif diff --git a/addons/account_asset/i18n/ca.po b/addons/account_asset/i18n/ca.po index 821a329256b..821a329256b 100755..100644 --- a/addons/account_asset/i18n/ca.po +++ b/addons/account_asset/i18n/ca.po diff --git a/addons/account_asset/i18n/de.po b/addons/account_asset/i18n/de.po index cf17a1b8be6..cf17a1b8be6 100755..100644 --- a/addons/account_asset/i18n/de.po +++ b/addons/account_asset/i18n/de.po diff --git a/addons/account_asset/i18n/es.po b/addons/account_asset/i18n/es.po index d950281e6e6..d950281e6e6 100755..100644 --- a/addons/account_asset/i18n/es.po +++ b/addons/account_asset/i18n/es.po diff --git a/addons/account_asset/i18n/es_CR.po b/addons/account_asset/i18n/es_CR.po index c44aa7b3956..c44aa7b3956 100755..100644 --- a/addons/account_asset/i18n/es_CR.po +++ b/addons/account_asset/i18n/es_CR.po diff --git a/addons/account_asset/i18n/fr.po b/addons/account_asset/i18n/fr.po index 3fe54af8562..3fe54af8562 100755..100644 --- a/addons/account_asset/i18n/fr.po +++ b/addons/account_asset/i18n/fr.po diff --git a/addons/account_asset/i18n/fr_BE.po b/addons/account_asset/i18n/fr_BE.po index 4aa2d9d3f00..4aa2d9d3f00 100755..100644 --- a/addons/account_asset/i18n/fr_BE.po +++ b/addons/account_asset/i18n/fr_BE.po diff --git a/addons/account_asset/i18n/pl.po b/addons/account_asset/i18n/pl.po index 38ee640d704..38ee640d704 100755..100644 --- a/addons/account_asset/i18n/pl.po +++ b/addons/account_asset/i18n/pl.po diff --git a/addons/account_asset/i18n/pt.po b/addons/account_asset/i18n/pt.po index 1897f308600..1897f308600 100755..100644 --- a/addons/account_asset/i18n/pt.po +++ b/addons/account_asset/i18n/pt.po diff --git a/addons/account_asset/i18n/sv.po b/addons/account_asset/i18n/sv.po index 760b5bc1a26..760b5bc1a26 100755..100644 --- a/addons/account_asset/i18n/sv.po +++ b/addons/account_asset/i18n/sv.po 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 @@ <small class="col-xs-3" style="float: left; padding-right: 0px; padding-left: 0px;">sponsored by</small> <div class="col-xs-2" style="padding-right: 0px; padding-left: 0px;"> <span> - <img class="img img-responsive" src="https://www.odoo.com/openerp_website/static/src/img/logo_white.png"/> + <img class="img img-responsive" src="/base/static/img/logo_white.png"/> </span> </div> </div> diff --git a/addons/l10n_ae/static/description/icon.png b/addons/l10n_ae/static/description/icon.png Binary files differindex 1897a0e8bdd..1897a0e8bdd 100755..100644 --- a/addons/l10n_ae/static/description/icon.png +++ b/addons/l10n_ae/static/description/icon.png diff --git a/addons/l10n_do/__init__.py b/addons/l10n_do/__init__.py index a54c97fa4fb..a54c97fa4fb 100755..100644 --- a/addons/l10n_do/__init__.py +++ b/addons/l10n_do/__init__.py diff --git a/addons/l10n_do/__openerp__.py b/addons/l10n_do/__openerp__.py index f875bb7e2c4..f875bb7e2c4 100755..100644 --- a/addons/l10n_do/__openerp__.py +++ b/addons/l10n_do/__openerp__.py diff --git a/addons/l10n_do/data/account.account.template.csv b/addons/l10n_do/data/account.account.template.csv index 9dccba4a9c0..9dccba4a9c0 100755..100644 --- a/addons/l10n_do/data/account.account.template.csv +++ b/addons/l10n_do/data/account.account.template.csv diff --git a/addons/l10n_do/data/account.account.type.csv b/addons/l10n_do/data/account.account.type.csv index 3c43a2cd70e..3c43a2cd70e 100755..100644 --- a/addons/l10n_do/data/account.account.type.csv +++ b/addons/l10n_do/data/account.account.type.csv diff --git a/addons/l10n_do/data/account.fiscal.position.tax.template.csv b/addons/l10n_do/data/account.fiscal.position.tax.template.csv index 8d0f2b6590d..8d0f2b6590d 100755..100644 --- a/addons/l10n_do/data/account.fiscal.position.tax.template.csv +++ b/addons/l10n_do/data/account.fiscal.position.tax.template.csv diff --git a/addons/l10n_do/data/account.fiscal.position.template.csv b/addons/l10n_do/data/account.fiscal.position.template.csv index 926f8f2f915..926f8f2f915 100755..100644 --- a/addons/l10n_do/data/account.fiscal.position.template.csv +++ b/addons/l10n_do/data/account.fiscal.position.template.csv diff --git a/addons/l10n_do/data/account.tax.code.template.csv b/addons/l10n_do/data/account.tax.code.template.csv index 8f862e17db2..8f862e17db2 100755..100644 --- a/addons/l10n_do/data/account.tax.code.template.csv +++ b/addons/l10n_do/data/account.tax.code.template.csv diff --git a/addons/l10n_do/data/account.tax.template.csv b/addons/l10n_do/data/account.tax.template.csv index f483e0d6b6e..f483e0d6b6e 100755..100644 --- a/addons/l10n_do/data/account.tax.template.csv +++ b/addons/l10n_do/data/account.tax.template.csv diff --git a/addons/l10n_do/data/account_chart_template.xml b/addons/l10n_do/data/account_chart_template.xml index 44c27fe294e..44c27fe294e 100755..100644 --- a/addons/l10n_do/data/account_chart_template.xml +++ b/addons/l10n_do/data/account_chart_template.xml diff --git a/addons/l10n_do/data/account_journal.xml b/addons/l10n_do/data/account_journal.xml index 8319ae3bfb2..8319ae3bfb2 100755..100644 --- a/addons/l10n_do/data/account_journal.xml +++ b/addons/l10n_do/data/account_journal.xml diff --git a/addons/l10n_do/data/ir_sequence.xml b/addons/l10n_do/data/ir_sequence.xml index 746fb8a31b7..746fb8a31b7 100755..100644 --- a/addons/l10n_do/data/ir_sequence.xml +++ b/addons/l10n_do/data/ir_sequence.xml diff --git a/addons/l10n_do/data/l10n_do_base_data.xml b/addons/l10n_do/data/l10n_do_base_data.xml index aca3eeb785d..aca3eeb785d 100755..100644 --- a/addons/l10n_do/data/l10n_do_base_data.xml +++ b/addons/l10n_do/data/l10n_do_base_data.xml diff --git a/addons/l10n_do/data/l10n_do_wizard.xml b/addons/l10n_do/data/l10n_do_wizard.xml index dde7a77516a..dde7a77516a 100755..100644 --- a/addons/l10n_do/data/l10n_do_wizard.xml +++ b/addons/l10n_do/data/l10n_do_wizard.xml diff --git a/addons/l10n_do/static/description/icon.png b/addons/l10n_do/static/description/icon.png Binary files differindex 73ece6e47a8..73ece6e47a8 100755..100644 --- a/addons/l10n_do/static/description/icon.png +++ b/addons/l10n_do/static/description/icon.png diff --git a/addons/l10n_fr_hr_payroll/report/fiche_paye.py b/addons/l10n_fr_hr_payroll/report/fiche_paye.py index 88ae68df57b..88ae68df57b 100755..100644 --- a/addons/l10n_fr_hr_payroll/report/fiche_paye.py +++ b/addons/l10n_fr_hr_payroll/report/fiche_paye.py diff --git a/addons/l10n_pl/account_chart.xml b/addons/l10n_pl/account_chart.xml index 2937950e442..2937950e442 100755..100644 --- a/addons/l10n_pl/account_chart.xml +++ b/addons/l10n_pl/account_chart.xml diff --git a/addons/l10n_pl/account_tax.xml b/addons/l10n_pl/account_tax.xml index ebf7a301181..ebf7a301181 100755..100644 --- a/addons/l10n_pl/account_tax.xml +++ b/addons/l10n_pl/account_tax.xml diff --git a/addons/l10n_pl/account_tax_code.xml b/addons/l10n_pl/account_tax_code.xml index d0b5c6dbaf3..d0b5c6dbaf3 100755..100644 --- a/addons/l10n_pl/account_tax_code.xml +++ b/addons/l10n_pl/account_tax_code.xml diff --git a/addons/l10n_pl/country_pl.xml b/addons/l10n_pl/country_pl.xml index 0b3d45c6d15..0b3d45c6d15 100755..100644 --- a/addons/l10n_pl/country_pl.xml +++ b/addons/l10n_pl/country_pl.xml diff --git a/addons/l10n_pl/fiscal_position.xml b/addons/l10n_pl/fiscal_position.xml index 46627c60cd5..46627c60cd5 100755..100644 --- a/addons/l10n_pl/fiscal_position.xml +++ b/addons/l10n_pl/fiscal_position.xml diff --git a/addons/l10n_ro/__init__.py b/addons/l10n_ro/__init__.py index d427d523072..d427d523072 100755..100644 --- a/addons/l10n_ro/__init__.py +++ b/addons/l10n_ro/__init__.py diff --git a/addons/l10n_ro/__openerp__.py b/addons/l10n_ro/__openerp__.py index 68eae53888e..68eae53888e 100755..100644 --- a/addons/l10n_ro/__openerp__.py +++ b/addons/l10n_ro/__openerp__.py diff --git a/addons/l10n_ro/account_chart.xml b/addons/l10n_ro/account_chart.xml index 2f5dee7e9a3..2f5dee7e9a3 100755..100644 --- a/addons/l10n_ro/account_chart.xml +++ b/addons/l10n_ro/account_chart.xml diff --git a/addons/l10n_ro/account_chart_template.xml b/addons/l10n_ro/account_chart_template.xml index 37215b5bbef..37215b5bbef 100755..100644 --- a/addons/l10n_ro/account_chart_template.xml +++ b/addons/l10n_ro/account_chart_template.xml diff --git a/addons/l10n_ro/account_tax_code_template.xml b/addons/l10n_ro/account_tax_code_template.xml index 4ebf9b546b3..4ebf9b546b3 100755..100644 --- a/addons/l10n_ro/account_tax_code_template.xml +++ b/addons/l10n_ro/account_tax_code_template.xml diff --git a/addons/l10n_ro/account_tax_template.xml b/addons/l10n_ro/account_tax_template.xml index f908368214b..f908368214b 100755..100644 --- a/addons/l10n_ro/account_tax_template.xml +++ b/addons/l10n_ro/account_tax_template.xml diff --git a/addons/l10n_ro/fiscal_position_template.xml b/addons/l10n_ro/fiscal_position_template.xml index e46fa8786f2..e46fa8786f2 100755..100644 --- a/addons/l10n_ro/fiscal_position_template.xml +++ b/addons/l10n_ro/fiscal_position_template.xml diff --git a/addons/l10n_ro/partner_view.xml b/addons/l10n_ro/partner_view.xml index 46c0cef1149..46c0cef1149 100755..100644 --- a/addons/l10n_ro/partner_view.xml +++ b/addons/l10n_ro/partner_view.xml diff --git a/addons/l10n_ro/res_partner.py b/addons/l10n_ro/res_partner.py index 3c48a2caa53..3c48a2caa53 100755..100644 --- a/addons/l10n_ro/res_partner.py +++ b/addons/l10n_ro/res_partner.py diff --git a/addons/l10n_sg/static/description/icon.png b/addons/l10n_sg/static/description/icon.png Binary files differindex 3204140dd03..3204140dd03 100755..100644 --- a/addons/l10n_sg/static/description/icon.png +++ b/addons/l10n_sg/static/description/icon.png diff --git a/addons/l10n_vn/account_chart.xml b/addons/l10n_vn/account_chart.xml index 4f7a5d90a49..4f7a5d90a49 100755..100644 --- a/addons/l10n_vn/account_chart.xml +++ b/addons/l10n_vn/account_chart.xml diff --git a/addons/l10n_vn/account_tax.xml b/addons/l10n_vn/account_tax.xml index 85f068023c2..85f068023c2 100755..100644 --- a/addons/l10n_vn/account_tax.xml +++ b/addons/l10n_vn/account_tax.xml diff --git a/addons/l10n_vn/account_tax_code.xml b/addons/l10n_vn/account_tax_code.xml index 4f3aee1bfc6..4f3aee1bfc6 100755..100644 --- a/addons/l10n_vn/account_tax_code.xml +++ b/addons/l10n_vn/account_tax_code.xml diff --git a/addons/l10n_vn/l10n_vn_wizard.xml b/addons/l10n_vn/l10n_vn_wizard.xml index 368a3cbd8b3..368a3cbd8b3 100755..100644 --- a/addons/l10n_vn/l10n_vn_wizard.xml +++ b/addons/l10n_vn/l10n_vn_wizard.xml diff --git a/addons/l10n_vn/static/description/icon.png b/addons/l10n_vn/static/description/icon.png Binary files differindex 241a2d3fa74..241a2d3fa74 100755..100644 --- a/addons/l10n_vn/static/description/icon.png +++ b/addons/l10n_vn/static/description/icon.png diff --git a/addons/mrp/static/description/ebook-manufacturing.png b/addons/mrp/static/description/ebook-manufacturing.png Binary files differnew file mode 100644 index 00000000000..ab8a42c3ef8 --- /dev/null +++ b/addons/mrp/static/description/ebook-manufacturing.png diff --git a/addons/mrp/static/description/index.html b/addons/mrp/static/description/index.html index 997aa5538ec..23be339473f 100644 --- a/addons/mrp/static/description/index.html +++ b/addons/mrp/static/description/index.html @@ -98,7 +98,7 @@ meets your delivery schedule dates. <section class="oe_container oe_centeralign oe_padded oe_mb32"> <div class='oe_cover'> - <img src="http://www.openerp.com/ebooks/manufacturing.png"> + <img src="/mrp/static/description/ebook-manufacturing.png"> </div> <a href="http://www.openerp.com/ebooks/manufacturing" target="_blank" class="oe_button oe_big">Download our free E-book</a> </section> diff --git a/addons/point_of_sale/static/description/ebook-manufacturing.png b/addons/point_of_sale/static/description/ebook-manufacturing.png Binary files differnew file mode 100644 index 00000000000..ab8a42c3ef8 --- /dev/null +++ b/addons/point_of_sale/static/description/ebook-manufacturing.png diff --git a/addons/point_of_sale/static/description/index.html b/addons/point_of_sale/static/description/index.html index 0460ef8935d..2dc99af7f4d 100644 --- a/addons/point_of_sale/static/description/index.html +++ b/addons/point_of_sale/static/description/index.html @@ -88,7 +88,7 @@ <section class="oe_container oe_centeralign oe_padded oe_mb32"> <div class='oe_cover'> - <img src="http://www.openerp.com/ebooks/manufacturing.png"> + <img src="/point_of_sale/static/description/ebook-manufacturing.png"> </div> <a href="http://www.openerp.com/ebooks/manufacturing" target="_blank" class="oe_button oe_big">Download our free E-book</a> </section> diff --git a/addons/portal_sale/portal_sale_data.xml b/addons/portal_sale/portal_sale_data.xml index deb8281e826..cfacd6bd917 100644 --- a/addons/portal_sale/portal_sale_data.xml +++ b/addons/portal_sale/portal_sale_data.xml @@ -54,7 +54,7 @@ <br/> <p>It is also possible to directly pay with Paypal:</p> <a style="margin-left: 120px;" href="${object.paypal_url}"> - <img class="oe_edi_paypal_button" src="https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif"/> + <img class="oe_edi_paypal_button" src="/sale/static/img/btn_paynowcc_lg.gif"/> </a> % endif @@ -141,7 +141,7 @@ <br/> <p>It is also possible to directly pay with Paypal:</p> <a style="margin-left: 120px;" href="${object.paypal_url}"> - <img class="oe_edi_paypal_button" src="https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif"/> + <img class="oe_edi_paypal_button" src="/sale/static/img/btn_paynowcc_lg.gif"/> </a> % 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 @@ <table> <tr> <td> - <img src="https://www.openerp.com/saas_master/static/site_new/img/layout/online_training.png"/> + <img src="/product_email_template/static/img/online_training.png"/> </td> <td style="height: auto;margin-top:10px;margin-bottom:10px;font-size:18px;color: #646464;"> <strong>There are three components to the training</strong> diff --git a/addons/product_email_template/static/img/online_training.png b/addons/product_email_template/static/img/online_training.png Binary files differnew file mode 100644 index 00000000000..cc03d0d7c35 --- /dev/null +++ b/addons/product_email_template/static/img/online_training.png diff --git a/addons/purchase/static/description/ebook-logistic.png b/addons/purchase/static/description/ebook-logistic.png Binary files differnew file mode 100644 index 00000000000..849b711bf70 --- /dev/null +++ b/addons/purchase/static/description/ebook-logistic.png 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 <section class="oe_container oe_centeralign oe_padded oe_mb32"> <div class='oe_cover'> - <img src="http://www.openerp.com/ebooks/logistic.png"> + <img src="/purchase/static/description/ebook-logistic.png"> </div> <a href="http://www.openerp.com/ebooks/logistic" target="_blank" class="oe_button oe_big">Download our free E-book</a> </section> diff --git a/addons/sale/edi/sale_order_action_data.xml b/addons/sale/edi/sale_order_action_data.xml index 80738147027..66735b3198b 100644 --- a/addons/sale/edi/sale_order_action_data.xml +++ b/addons/sale/edi/sale_order_action_data.xml @@ -58,7 +58,7 @@ <br/> <p>It is also possible to directly pay with Paypal:</p> <a style="margin-left: 120px;" href="${object.paypal_url}"> - <img class="oe_edi_paypal_button" src="https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif"/> + <img class="oe_edi_paypal_button" src="/sale/static/img/btn_paynowcc_lg.gif"/> </a> % endif diff --git a/addons/sale/static/description/ebook-marketing.png b/addons/sale/static/description/ebook-marketing.png Binary files differnew file mode 100644 index 00000000000..1a046d6ce80 --- /dev/null +++ b/addons/sale/static/description/ebook-marketing.png 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. <section class="oe_container oe_centeralign oe_padded oe_mb32"> <div class='oe_cover'> - <img src="http://www.openerp.com/ebooks/marketing.png"> + <img src="/sale/static/description/ebook-marketing.png"> </div> <a href="http://www.openerp.com/ebooks/marketing" target="_blank" class="oe_button oe_big">Download our free E-book</a> </section> diff --git a/addons/sale/static/img/btn_paynowcc_lg.gif b/addons/sale/static/img/btn_paynowcc_lg.gif Binary files differnew file mode 100644 index 00000000000..092c5542551 --- /dev/null +++ b/addons/sale/static/img/btn_paynowcc_lg.gif diff --git a/addons/web/doc/_themes/flask_small/layout.html b/addons/web/doc/_themes/flask_small/layout.html index aa1716aaff0..c5c44efe357 100644 --- a/addons/web/doc/_themes/flask_small/layout.html +++ b/addons/web/doc/_themes/flask_small/layout.html @@ -15,7 +15,7 @@ {% block relbar2 %} {% if theme_github_fork %} <a href="http://github.com/{{ theme_github_fork }}"><img style="position: fixed; top: 0; right: 0; border: 0;" - src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a> + src="static/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a> {% 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 Binary files differnew file mode 100644 index 00000000000..146ef8a8006 --- /dev/null +++ b/addons/web/doc/_themes/flask_small/static/forkme_right_darkblue_121621.png 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 @@ <!doctype html> <html> <head> - <script src="http://code.jquery.com/jquery-2.1.1.min.js"></script> - <link rel="stylesheet" href="http://code.jquery.com/qunit/qunit-1.15.0.css" type="text/css" media="screen"/> - <script type="text/javascript" src="http://code.jquery.com/qunit/qunit-1.15.0.js"></script> + <script src="/web/static/lib/jquery/jquery.js"></script> + <link rel="stylesheet" href="/web/static/lib/qunit/qunit.css" type="text/css" media="screen"/> + <script type="text/javascript" src="/web/static/lib/qunit/qunit.js"></script> <script type="text/javascript" src="qweb2.js"></script> diff --git a/addons/web/static/src/font/mnmliconsv21-webfont.eot b/addons/web/static/src/font/mnmliconsv21-webfont.eot Binary files differindex 433ebb82e4b..433ebb82e4b 100755..100644 --- a/addons/web/static/src/font/mnmliconsv21-webfont.eot +++ b/addons/web/static/src/font/mnmliconsv21-webfont.eot diff --git a/addons/web/static/src/font/mnmliconsv21-webfont.ttf b/addons/web/static/src/font/mnmliconsv21-webfont.ttf Binary files differindex c38e59cf138..c38e59cf138 100755..100644 --- a/addons/web/static/src/font/mnmliconsv21-webfont.ttf +++ b/addons/web/static/src/font/mnmliconsv21-webfont.ttf diff --git a/addons/web/static/src/font/mnmliconsv21-webfont.woff b/addons/web/static/src/font/mnmliconsv21-webfont.woff Binary files differindex 3ddf14fb814..3ddf14fb814 100755..100644 --- a/addons/web/static/src/font/mnmliconsv21-webfont.woff +++ b/addons/web/static/src/font/mnmliconsv21-webfont.woff diff --git a/addons/web/static/src/img/k-waiting1.gif b/addons/web/static/src/img/k-waiting1.gif Binary files differnew file mode 100644 index 00000000000..b76cdfaac23 --- /dev/null +++ b/addons/web/static/src/img/k-waiting1.gif diff --git a/addons/web/static/src/img/k-waiting2.gif b/addons/web/static/src/img/k-waiting2.gif Binary files differnew file mode 100644 index 00000000000..b0b79e80830 --- /dev/null +++ b/addons/web/static/src/img/k-waiting2.gif 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 = '<img src="http://www.amigrave.com/loading-kitten/' + imgkit + '.gif" class="loading-kitten">'; + $.blockUI.defaults.message = '<img src="/web/static/src/img/k-waiting' + imgkit + '.gif" class="loading-kitten">'; } }, /** 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 @@ <field name="background_image">/website_blog/static/src/img/post1.jpg</field> <field name="content"><![CDATA[ <section class="mt16 mb16 readable"> - <iframe width="361" height="200" src="http://www.youtube.com/embed/EkbBFmIWoTE" frameborder="0" allowfullscreen></iframe> <p> Emails are broken. </p><p> 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 @@ <br/> <p>It is also possible to directly pay with Paypal:</p> <a style="margin-left: 120px;" href="${object.paypal_url}"> - <img class="oe_edi_paypal_button" src="https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif"/> + <img class="oe_edi_paypal_button" src="/sale/static/img/btn_paynowcc_lg.gif"/> </a> % endif @@ -214,7 +214,7 @@ <br/> <p>It is also possible to directly pay with Paypal:</p> <a style="margin-left: 120px;" href="${object.paypal_url}"> - <img class="oe_edi_paypal_button" src="https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif"/> + <img class="oe_edi_paypal_button" src="/sale/static/img/btn_paynowcc_lg.gif"/> </a> % 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 @@ <h2>Structure of the Training</h2> </div> <div class="col-md-5 col-md-offset-1 mt16 mb16"> - <img class="img img-responsive" src="https://www.odoo.com/saas_master/static/site_new/img/layout/online_training.png"/> + <img class="img img-responsive" src="/website_quote/static/src/img/online_training.png"/> </div> <div class="col-md-6 mt32"> <h4><strong>There are three components to the training</strong></h4> diff --git a/addons/website_quote/static/src/img/online_training.png b/addons/website_quote/static/src/img/online_training.png Binary files differnew file mode 100644 index 00000000000..cc03d0d7c35 --- /dev/null +++ b/addons/website_quote/static/src/img/online_training.png 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. <info@odoo.com> +Uploaders: Aaron Bohy <aab@odoo.com>, Simon Lejeune <sle@odoo.com> Build-Depends: debhelper (>= 9.0), python, rsync +X-Python-Version: 2.7 Standards-Version: 3.9.5.0 Homepage: http://www.odoo.com/ Vcs-Git: https://github.com/odoo/odoo Package: odoo -Section: net Architecture: all Depends: ${misc:Depends}, diff --git a/debian/copyright b/debian/copyright index 0866450aa9a..2fb0ad4b115 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,10 +1,8 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Contact: Odoo <info@odoo.com> -Upstream-Homepage: http://www.odoo.com/ -Maintainer-Contact: Debian Odoo Maintainers <gnunet@lists.debian-maintainers.org> -Maintainer-Homepage: http://www.odoo.com/ Files: * -Copyright: (C) 2004-2014 OpenERP SA. (www.openerp.com) +Copyright: (C) 2004-2015 Odoo SA. (www.odoo.com) License: AGPL-3+ 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 diff --git a/debian/init b/debian/init index ee4c0120db5..2a3a165dbee 100644 --- a/debian/init +++ b/debian/init @@ -1,18 +1,20 @@ #!/bin/bash ### BEGIN INIT INFO -# Provides: openerp-server +# Provides: odoo.py # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 -# Short-Description: Start openerp daemon at boot time +# Short-Description: Start odoo daemon at boot time # Description: Enable service provided by daemon. # X-Interactive: true ### END INIT INFO ## more info: http://wiki.debian.org/LSBInitScripts +. /lib/lsb/init-functions + PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin -DAEMON=/usr/bin/openerp-server +DAEMON=/usr/bin/odoo.py NAME=odoo DESC=odoo CONFIG=/etc/odoo/openerp-server.conf diff --git a/openerp/addons/base/res/res_currency_data.xml b/openerp/addons/base/res/res_currency_data.xml index e2a2514cfe6..2a889f8965c 100644 --- a/openerp/addons/base/res/res_currency_data.xml +++ b/openerp/addons/base/res/res_currency_data.xml @@ -133,7 +133,7 @@ <record forcecreate="0" id="rateIDR1" model="res.currency.rate"> <field name="rate">14352.00</field> <field name="currency_id" ref="IDR"/> - <field name="name">2010-01-01</field> + <field name="name">2009-01-01</field> </record> <record forcecreate="0" id="rateIDR" model="res.currency.rate"> <field name="rate">11796.39</field> @@ -2086,17 +2086,5 @@ <field name="currency_id" ref="GTQ"/> <field name="name">2010-01-01</field> </record> - - <record id="base.XOF" model="res.currency"> - <field name="name">XOF</field> - <field name="symbol">CFA</field> - <field name="rounding">1</field> - <field name="accuracy">4</field> - </record> - <record id="base.rateXOF" model="res.currency.rate"> - <field name="rate">655.957</field> - <field name="currency_id" ref="base.XOF"/> - <field name="name">2010-01-01</field> - </record> </data> </openerp> diff --git a/openerp/addons/base/static/img/logo_white.png b/openerp/addons/base/static/img/logo_white.png Binary files differnew file mode 100644 index 00000000000..84335cbf5cc --- /dev/null +++ b/openerp/addons/base/static/img/logo_white.png diff --git a/openerp/report/render/rml2pdf/trml2pdf.py b/openerp/report/render/rml2pdf/trml2pdf.py index 6293b542547..463bcc88ae5 100644 --- a/openerp/report/render/rml2pdf/trml2pdf.py +++ b/openerp/report/render/rml2pdf/trml2pdf.py @@ -780,15 +780,10 @@ class _rml_flowable(object): style = self.styles.para_style_get(node) if extra_style: style.__dict__.update(extra_style) - result = [] - tag_text = '' - plain_text = '' - for i in self._textual(node).split('\n'): - instance = platypus.Paragraph(i, style, **(utils.attr_get(node, [], {'bulletText':'str'}))) - plain_text += instance.getPlainText().strip() - tag_text += instance.text.strip() - result.append(instance) - if LooseVersion(reportlab.Version) > LooseVersion('3.0') and not plain_text and tag_text: + text_node = self._textual(node).strip().replace('\n\n', '\n').replace('\n', '<br/>') + 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(' <br/>', 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: |
