Commit Graph
93527 Commits
Author SHA1 Message Date
Mahendra Barad 5273c6ae21 [IMP] website_event_track: onboarding: misc improvements in track / sponsor / tag views 2015-01-23 15:54:04 +01:00
Thibault Delavallée b1eb6537f0 [FIX] website_event_track: fixes :
- aggregation of track tags on event model was buggy
- website URL was not correct
2015-01-23 15:54:04 +01:00
Mahendra Barad e31e11449b [IMP] event, website_event_track: auto subscription.
event: organizer is now automatically added as follower of the event

event_track: responsible and speakers are now automatically added as
followers of the track
2015-01-23 15:54:04 +01:00
Thibault Delavallée d34d142c8a [FIX] web_kanban: do not fetch data and do not try to place tags
for m2m that are actually not used in the qwek template of the kanban
view itself. This is the case for example when having a m2m declared
to have access to its raw_value.
2015-01-23 15:54:04 +01:00
Xavier Morel fca83b45f8 [IMP] on non-rpc debug, only break on non-HTTPException
Completes/improves fd6dde7ca

Because Werkzeug uses/provides flow-control exceptions via
HTTPException (which can be used as straight responses) they are used in
a few places of the web client, when triggering some redirections for
instance.

Breaking into the debugger for such mundane situations is surprising and
inconvenient for developers trying to debug actual issues in the system,
even though HTTPExceptions are by and large not error per-se, and
shouldn't warrant triggering post-mortem debugging.

So in the non-RPC dispatcher, don't post-mortem on HTTPException either.
2015-01-23 15:34:53 +01:00
Christophe Simonis 4eb385fc0b [MERGE] forward port of branch 8.0 up to 0ec3c75 2015-01-23 14:57:07 +01:00
Denis Ledoux 0ec3c75c2d [FIX] account: default value for report_vat report
If the report was printed from the tax codes list
Accounting > Configuration > Taxes > Tax codes
There is no information concerning what should be displayed (periods, details, etc.)
as the user did not printed the report from the wizard
(from Accounting > Reporting > Generic Reporting > Taxes > Taxes report)
We therefore set default values, in order the report to not crash

Nevertheless, the user has obviously to go through the wizard
if he wants to set a configuration different than the default one
2015-01-23 14:13:13 +01:00
Denis Ledoux dab5ff7e76 [MERGE] forward port of branch saas-3 up to b3f3daf 2015-01-23 13:28:17 +01:00
Denis Ledoux b3f3dafcb9 [MERGE] forward port of branch 7.0 up to c62a75a 2015-01-23 13:27:13 +01:00
Christophe Simonis 6d37ff1091 [FIX] base: remove duplicated XOF res.currency (and rate) 2015-01-23 13:02:30 +01:00
Christophe Simonis ce1096c447 [FIX] base: correct currency rate wrongly changed during 9902424 2015-01-23 12:57:04 +01:00
Denis Ledoux c62a75a5f3 [FIX] report: line splitting compatible with reportlab > 3.0
While keeping the compatibility for reportlab 2.5.

Splitting the text node on line breaks '\n' leaded to orphans ending tags,
like '</font>', which is regarded by reportlab 3.0 as a paragraph,
and reportlab therefore surrounded these tags by <para> tags,
which leaded to not syntax correct html like
<para></font></para>

To test this patch:
 - While having reportlab > 3.0
 - Create a rml report containing (at least) '<font>\n</font>'
 - Then print the report. It must not crash (obviously)
2015-01-23 12:54:30 +01:00
Christophe Matthieu 88c1b40dea [FIX] website: snippet gallery in mode slideshow: When selecting an image, the previous one is highlighted when add images. Can't display the first image. 2015-01-23 12:44:26 +01:00
Christophe Matthieu 113e6addad [IMP] website editor: select all the text if it's a default snippet text without any change 2015-01-23 12:14:15 +01:00
Christophe Matthieu 1d072a8fda [FIX] website editor: not display bullet of list when apply and remove folded list option 2015-01-23 12:14:15 +01:00
Christophe Matthieu 64b0c36f16 [FIX] summernote lib: scroll to top when click on input in editable mode 2015-01-23 12:14:15 +01:00
Christophe Matthieu 1c4e6c87a0 [FIX] website editor: resize snippet loose the focus 2015-01-23 12:14:15 +01:00
Christophe Matthieu 5a2fc7b15c [IMP] website editor: the snippet overlay fadeout on keypress and fadein on mousemove 2015-01-23 12:14:15 +01:00
Christophe Matthieu c27930ccb6 [FIX] website editor: when resize widow the snippet overlay don't move with the container 2015-01-23 12:14:15 +01:00
Christophe Matthieu 919a8159bc [IMP] website editor: add media-saved trigger into media editor when the media is changed 2015-01-23 12:14:15 +01:00
Christophe Matthieu e53019ec7b [IMP] website editor: by default apply img-responsive and pull-left on insert images and option resize apply width in percent 2015-01-23 12:14:15 +01:00
Christophe Matthieu 2d75b1471a [IMP] website editor: remove font size from media editor (font size is available in image edition bar) 2015-01-23 12:14:15 +01:00
Christophe Matthieu 60efc27f15 [FIX] website editor: can't select a picture followed by a br tag 2015-01-23 12:14:15 +01:00
Christophe Matthieu 493abe1cab [FIX] website: page go to top when click on unfold ul 2015-01-23 12:14:14 +01:00
Christophe Matthieu f6b987356c [IMP] website editor: add doc for o_not_editable 2015-01-23 12:14:14 +01:00
Christophe Matthieu db81c72dfd [IMP] website editor: 'active' link when click to allow the edition of the last and first char 2015-01-23 12:14:14 +01:00
Christophe Matthieu 5bec4b8996 [FIX] website editor: backspace does not merge like delete 2015-01-23 12:14:14 +01:00
Christophe Matthieu 7b38e1dd62 [FIX] website editor: triple click and link edition destroy or remove tag when triple click 2015-01-23 12:14:14 +01:00
Yannick Tivisse 38085a51a5 [IMP] project : remove oe_e class 2015-01-23 11:53:45 +01:00
Christophe Simonis a3bcadd5f1 Merge pull request #4860 from odoo-dev/8.0-deb-packaging-aab
8.0 - Various fixes for Debian Packaging
2015-01-23 11:53:36 +01:00
Aaron Bohy 3cae676619 [FIX] Use local copies of png instead of fetching them from websites
Debian does not allow fetching data from external website at runtime.
This fixes the privacy-breach-generic lintian warnings for Debian packaging.
The removed youtube url was a dead link...
2015-01-23 11:23:04 +01:00
Aaron Bohy 2a39214d2e [FIX] File permission: remove unnecessary executable perm on files
Some .xml,.csv,.po,.woff,.ttf,.png,.eot,.svg had perm 755, provocating
'executable-not-elf-or-script' lintian warning for Debian packaging.
Set permission to 644 for those files.
Also remove unnecessary executable permissions on some .py:
	-addons/l10n_fr_hr_payroll/report/fiche_paye.py
	-addons/l10n_ro/res_partner.py
	-addons/l10n_ro/__openerp__.py
	-addons/l10n_ro/__init__.py
	-addons/l10n_do/__openerp__.py
	-addons/l10n_do/__init__.py
2015-01-23 11:11:27 +01:00
Aaron Bohy 59a7615d3c [FIX] Packaging: exclude *.hg* in MANIFEST.in
This fixes the lintian warning package-contains-vcs-control-file
for Debian packaging.
2015-01-23 11:11:27 +01:00
Aaron Bohy 629572cb76 [FIX] Web: qweb-test.js.html: use local copy of jquery and qunit
Use the local copy of those libraries instead of fetching them at runtime.
This fix was required for Debian packaging. It fixes the
privacy-breach-may-use-debian-package lintian error.
2015-01-23 11:11:27 +01:00
Aaron Bohy ef986fe9de [FIX] Account, portal_sale, sale, website_quote: local paypal gif
Add local copies of the paypal gif to the archive. This fix was required
for Debian packaging. It fixes the privacy-breach-donation lintian error.
2015-01-23 11:11:26 +01:00
Aaron Bohy 91026647d4 [FIX] Packaging: Debian: do not include setup/win32 in sources
This prevents to put postgresql-9.3.5-1-windows.exe, node.exe and
wkhtmltopdf.exe in the tar.gz produced with debhelper, saving
approx. 60MB.
2015-01-23 11:11:26 +01:00
Aaron Bohy 95402dee81 [FIX] Packaging: do not publish add-on web_analytics
This fixes the privacy-breach-google-adsense lintian error for Debian
packaging.
2015-01-23 11:11:26 +01:00
Aaron Bohy b3aca1d825 [FIX] Packaging: Debian: lintian errors and warnings
- control:
	- duplicated Section entry removed
	- X-Python-Version added
	- Uploaders added
- init:
	- set odoo.py as deamon instead of openerp-server
	- source /lib/lsb/init-functions to fix Debian lintian warning
	  init.d-script-does-not-source-init-functions
- copyright: machine-readable (dep5) copyright
2015-01-23 11:07:50 +01:00
qdp-odoo ed19463056 [FIX] account: renaming a the 'close_method' field on account.account.type. Fixes #779 2015-01-23 09:34:47 +01:00
Géry Debongnie 0521c8b83f [FIX] web: fix various bugs in FieldCharDomain
now, the FieldCharDomain widget should
* correctly display the selected records instead of the whole list
* allow the removal of the current selection in edit mode (by adding
  a facet in the searchview)
* allow the selection of a full group when the list view is grouped

also, it correctly now uses the ReinitializeFieldMixin instead of
reimplementing half of it in a buggy way.
2015-01-22 20:45:08 +01:00
Christophe Simonis 21c1686f06 [FIX] purchase: since 2aeb1e5, minimum_planned_date is a datetime field. Adapt test 2015-01-22 19:24:30 +01:00
Christophe Simonis 6f841038f3 [MERGE] forward port of branch 8.0 up to 3735394 2015-01-22 18:47:13 +01:00
Christophe Simonis 373539425e [MERGE] forward port of branch saas-3 up to c339fcc 2015-01-22 18:43:06 +01:00
Christophe Simonis c339fcc603 [MERGE] forward port of branch 7.0 up to d5c7234 2015-01-22 18:42:26 +01:00
Christophe Simonis 99024240f5 [IMP] base: avoid useless call to time.strftime()
This will also ease next forward-port 8.0 -> master
2015-01-22 18:27:08 +01:00
Christophe Simonis c75b61d3e7 [FIX] account_voucher: now that currency rates created at installation does not use current year (be33101), tests must create their own rates instead of trying to change default one 2015-01-22 17:19:56 +01:00
Jaysinh Shukla 5f987f8745 [IMP] website_forum: added social sharing on questions.
A widget based on website share widget has been added that allows to share
questions and answers on social networks. Old posts can also be bumped
through sharing.

New fields have been added on forum model allowing to disable the old
question bump and social sharing modals.

Courtesy of RD India: Ajay Patel (apa@odoo.com), Jaysinh Shukla
(jsh@odoo.com)
Courtesy of use Merge: Damien Bouvy (dbo@odoo.com)
2015-01-22 17:02:17 +01:00
Jaysinh Shukla 1c91e27c8c [IMP] website: added social share widget
A new widget has been developed that allows to share content on social networks.
It is displayed like a simple share link in a popover for four social networks
(facebook, twitter, linkedin, google+ (really ?)).

Courtesy of RD India: Ajay Patel (apa@odoo.com), Jaysinh Shukla (jsh@odoo.com)
Courtesy of use Merge: Damien Bouvy (dbo@odoo.com)
2015-01-22 17:02:17 +01:00
Christophe Simonis be33101903 [FIX] base: correct currency rates.
- Do not force creation of rates.
- Using rates of 2010 and storing them as beeing from 2015 is not a good idea.
2015-01-22 16:23:42 +01:00
Martin Trigaux 88a9a45cf2 [FIX] warning: missing parameter in super call
Complete patch made at 06187405
2015-01-22 16:22:44 +01:00