Commit Graph

89006 Commits

Author SHA1 Message Date
Xavier Morel cf41752470 [IMP] auth_crypt: port to passlib instead of using embedded/hand-rolled md5crypt 2014-06-19 09:04:51 +02:00
xmo-odoo 81c174b740 Merge pull request #630 from xmo-odoo/master-website-save-datetime-xmo
website: missing timezone conversion back to UTC on save
2014-06-18 17:18:14 +02:00
Xavier Morel 56009e8804 [FIX] website: missing timezone conversion back to UTC
In t-field, datetime fields (formatted and not formatted versions) are
converted to the context/user's timezone (through
fields.datetime.context_timestamp) when displayed, but were saved without
converting back so the next display would go forward (or back) of the user's
tzoffset.

Fix that by applying context_timestamp's conversion backwards, from the
context/user's timezone back to UTC, before saving the field's value.
2014-06-18 16:09:02 +02:00
xmo-odoo 3160eb74c4 Merge pull request #584 from xmo-odoo/master-qweb-groups-xmo
`@groups` attribute in qweb views
2014-06-18 09:37:02 +02:00
Thibault Delavallée 9064d581f8 Merge pull request #107 from odoo-dev/master-module_rename-avo
[MOV] [RENAME] project_mrp -> sale_service
2014-06-18 08:48:40 +02:00
Amit Vora b0a5e9286d [IMP]rename project_mrp to sale_service 2014-06-17 17:12:49 +02:00
Thibault Delavallée 50245476d1 [FIX] project_mrp: fixed with in which product attributes are added, probably due to product and template refactoring 2014-06-17 17:12:21 +02:00
xmo-odoo 8482632c9b Merge pull request #354 from xmo-odoo/editor-xmlid
[IMP] add XID to view name in Ace editor dropdown
2014-06-17 16:24:04 +02:00
Xavier Morel 00c2644783 [IMP] display view's XID *below* the selection
* Looks better
* Allows for a label
* Allows for longer template names and ids without cutting off
* Room to grow more info bits
2014-06-17 16:22:28 +02:00
xmo-odoo 02677579d2 Merge pull request #590 from xmo-odoo/master-public-binary-xmo
Make attachment data available under public by default
2014-06-17 15:56:53 +02:00
xmo-odoo c949509b5e Merge pull request #463 from xmo-odoo/qweb-foreach
Qweb foreach
2014-06-17 15:56:09 +02:00
xmo-odoo 0f72f6517d Merge pull request #525 from xmo-odoo/master-fix-website-postprocess-xmo
Fix postprocessing of request arguments in website
2014-06-17 15:55:55 +02:00
Xavier Morel ba4b203e31 [FIX] report rendering should ignore http.Retry 2014-06-17 15:19:54 +02:00
Thibault Delavallée 4ed4636bd8 Merge pull request #88 from odoo-dev/master-timesheet-analysis-reports-tpa
[IMP] hr_timesheet, hr_timesheet_sheet: merge timesheet and hr_timesheet reports; base report moved to hr_timesheet; hr_timesheet_sheet adds data to the report using inheritance.
2014-06-17 14:38:55 +02:00
Fabien Meghazi 7759af7c4c Merge pull request #588 from odoo-dev/master-keep-query-fme
[ADD] support for multiple value query args in keep_query()
2014-06-17 14:37:30 +02:00
Richard Mathot cb3d38fa5c Merge pull request #561 from odoo-dev/master-branding-ref-rim
[REF] website: change URL to new Odoo website
2014-06-17 14:31:52 +02:00
Xavier Morel 25ca967b97 [IMP] make attachment data available under public by default
Assuming access rights are correctly configured, this allows providing
downloads for any attachment type, not just to display images via
/website/image.

TODO: unify attachment querying, we've got stuff over both web/ and website/
2014-06-17 14:16:07 +02:00
Fabien Meghazi 267e5db737 Merge pull request #587 from odoo-dev/master-incomplete-sitemap-fme
[FIX] sitemap does not show pages (Fixes #452)

the /page/ controller was not using the page converter
2014-06-17 14:14:39 +02:00
tpa-odoo d2f3bb953d [IMP] move hr timesheet analysis report in to hr_timesheet 2014-06-17 13:53:33 +02:00
Fabien Meghazi c4b1b58ffa [FIX] sitemap does not show pages
the /page/ controller was not using the ``page`` converter
2014-06-17 13:43:57 +02:00
Xavier Morel dda18249c0 [FIX] @groups attribute should not disappear when editing
The @groups attribute in qweb views was not rendered (even when matched by the
user), so editing a template with an @groups would either remove the whole
section (if the user didn't have the groups, fixed in previous commit) or only
removed the attribute itself making it visible to everybody (which ought be
fixed-ish by this commit).
2014-06-17 12:22:15 +02:00
Xavier Morel 79e10200d5 [IMP] prevent edition of page if groups which current user doesn't have
If the current view uses @groups attributes (possibly in called templates),
the corresponding elements are rendered to a void (empty string in qweb). If
said user can edit the page, does so and saves a view section in which there's
a @groups to which he has no access, the element[@groups] is completely
removed from the template once saved, losing it.

If QWeb encounters an @groups to which the current user has no right during
rendering, have it request a no-RTE page, so the user can not RTE-edit the
page (or drop snippets in it).
2014-06-17 12:01:52 +02:00
Xavier Morel 63a6ba92e2 [IMP] no need to compute *all* has_group calls if the first one fails 2014-06-17 12:00:50 +02:00
Fabien Meghazi daf8bdf688 [ADD] support for multiple value query args in keep_query() 2014-06-17 11:35:29 +02:00
Xavier Morel e555855f07 [ADD] ability to trigger retrying rendering with an updated rendering context 2014-06-17 11:29:11 +02:00
Thibault Delavallée 1870fa813d Merge pull request #560 from odoo-dev/master-website_instantclick-dja
[ADD] website_instantclick module: using instantclick lib, faster loading of website in public mode. Done in a separate module to avoid doing it by default.
2014-06-17 10:03:25 +02:00
Thibault Delavallée 7fc2f8871e Merge pull request #557 from odoo-dev/master-updatevalue_issue3-rda
[IMP] crm: onchange partner on lead form view better fills partner and contact name, depending on whether the partner is a company or not
2014-06-17 09:37:16 +02:00
Christophe Matthieu 381507e6eb Merge pull request #569 from odoo-dev/master-product-menu-chm
[IMP] product: all left menu item became product.template's action
2014-06-16 18:05:22 +02:00
Christophe Matthieu 96f038a6ab [IMP] product: all left menu item became product.template's action 2014-06-16 17:16:50 +02:00
Christophe Matthieu 6a5c6c89ec Merge pull request #554 from odoo-dev/master-fix-banner-editable-chm
[FIX] website: clean for save of snippet editor don't remove conteneteditable attributes
2014-06-16 16:38:10 +02:00
Thibault Delavallée 2850da99cb Merge pull request #558 from odoo-dev/master-claimform_issue9-rda
[IMP] claim: add a placeholder on resolution in form view
2014-06-16 16:29:30 +02:00
Richard Mathot ab3231d6c9 [REF] website: change URL to new Odoo website 2014-06-16 13:49:39 +02:00
Fabien Meghazi b4ea1965e5 Merge pull request #559 from odoo-dev/master-default-form-view-fme
[FIX] new style for default form views
2014-06-16 13:40:54 +02:00
Fabien Meghazi f213b7ea65 [FIX] new style for default form views 2014-06-16 13:39:48 +02:00
Dharmraj Jhala a8497e07c9 [ADD] added instantclick library to load data faster in anonymous mode 2014-06-16 16:00:06 +05:30
Christophe Matthieu 3d66fff4d4 [FIX] website: clean for save of snippet editor don't remove conteneteditable attributes 2014-06-16 11:47:28 +02:00
Mansi Kariya ea4def7de9 [FIX] l10n_in: refactor indian chart of accounts
Added standard and Schedule-vi chart with taxes
removed private and public chart with taxes files
2014-06-16 10:25:12 +02:00
Thibault Delavallée 8dc02ebb6f Merge pull request #90 from odoo-dev/master-uninstall-module-tpa
[FIX] issues when uninstalling modules: unlink ir.action.todo which are related to actions which will be deleted (fix issues when uninstalling modules) + check for menu existence before displaying need action
2014-06-16 10:08:36 +02:00
odony 47647c6c49 Merge pull request #521 from odoo-dev/master-graphview-measures-fix-ged
[FIX] graph/pivot tables: remove non stored fields from available measures
2014-06-16 09:13:09 +02:00
Xavier Morel 1587663fd2 [FIX] postprocessing of request arguments in website
If website is installed but not used/enabled for the current controller,
overridden methods like _get_converters will *still run* for the controller's
dispatch.

This means a ModelConverter used in a controller with website installed but
not enabled will use website.models.ir_http.ModelConverter, not
base.ir.ir_http.ModelConverter, and base's args postprocessing will *not* be
able to convert the placeholder object to a real UID, only website's
postprocessing can do so.

And as far as I can see there's no reason to skip the URL building validation
either, only the multilang stuff relies on and requires that the controller be
website enabled (and in fact that it be multilang enabled), so only *that*
should be gated behind a flag.

Also always call super(), there's no reason not to and others might add args
to postprocess on base rather than website, ending up after website in the
MRO.
2014-06-13 16:11:56 +02:00
Martin Trigaux 5e7485abb9 remove useless quotation marks 2014-06-13 16:09:43 +02:00
Martin Trigaux 5eac9b669a [IMP] better and shorter contribution guidelines (detailed one are now on the wiki) 2014-06-13 16:07:56 +02:00
Géry Debongnie cedae1fba7 [FIX] removes non stored fields from measures
Non stored functional fields cannot be grouped by read_group, so it is
useless, and even harmful, to display them in the measure list (in
graph view).
2014-06-13 13:32:24 +02:00
Olivier Dony 0f01df42ea [MERGE] Forward-port saas-5 up to f15cbd6 2014-06-12 18:59:15 +02:00
Olivier Dony f15cbd6520 [MERGE] Forward-port saas-4 bugfixes up to ad4c6ca 2014-06-12 18:54:36 +02:00
Richard Mathot 114e95b113 Merge pull request #508 from odoo-dev/master-survey-fix-rim
[FIX] survey: ordering of questions/labels was buggy
2014-06-12 16:42:59 +02:00
Richard Mathot b7137a5ada [FIX] survey: ordering of questions/labels was buggy 2014-06-12 16:40:58 +02:00
Thibault Delavallée a3cfed1809 [IMP] website_forum: added management and support of private profile (unpublished partners). 2014-06-12 16:33:33 +02:00
ged-odoo 74168c4e9d Merge pull request #272 from odoo-dev/master-inline-searchview-ged
[MERGP] Inline Searchview

This task split the searchview in two parts: SearchView and SearchViewDrawer. The drawer is displayed inside the main view and the searchview stays in place.  It also changes the scrolling behavior of the web client: the main view area can scroll without affecting the UI (so the various menus stays in place)

Because of this, other large changes have been made:

the drawer has been redesigned,
the Custom Filter widget has been split in two (Custom Report and SaveCurrentFilter),
the main view is now scrollable, so the UI stays in place and only the view can change
The text 'Group By...' has been changed into 'Group By' (most addons had to be modified)
bootstrap classes are used when it makes sense (for example, badge)
the left menu is also scrollable (separately from the main view)

It is likely that some stupid bugs have been introduced.  Please don't hurt me.
2014-06-12 16:27:11 +02:00
Fabien Meghazi 64b78b34d6 Merge pull request #505 from odoo-dev/master-form-views-default-version-fme
[IMP] Form views default version is now 7.0
2014-06-12 15:27:24 +02:00