Commit Graph

72642 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
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
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
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
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
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
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
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
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 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
Thibault Delavallée 88205e292a [FIX] [IMP] website_forum: usability fix: moved answers / votes column below the text on mobile displays, because it takes too much place and restrict the place left for the text. By the way some custom css has been removed, replaced by bootstrap css. 2014-06-12 15:01:41 +02:00
Géry Debongnie c73736694e [FIX] css hack to make it work with IE9
hopefully, it should allow IE9 to correctly display the web client
content
2014-06-12 14:14:28 +02:00
Fabien Meghazi 87378aac26 Convert form views @version="6.1" 2014-06-12 13:55:40 +02:00
Olivier Dony ad4c6caecf [MERGE] Forward-port of saas-3 bugfixes up to 9f0ecb3 2014-06-12 13:52:35 +02:00
Olivier Dony 9f0ecb3572 [MERGE] Forward-port of 7.0 bugfixes up to 4d3a5df 2014-06-12 13:49:32 +02:00
Jeremy Kersten 7d47271a02 [FIX] l10n-be data - Be more accurate in the belgium data. All accounts have by default a right padding of 0 to be on 6 char, so the csv need to have the accounts on 6 char since with have removed the default replacement of "=" by "=like" to allow the manual import 2014-06-12 13:29:41 +02:00
Jeremy Kersten 5a95d00f33 [FIX] Import - Use the right comparator to allow import with accounts_ids 2014-06-12 13:29:40 +02:00
Denis Ledoux 4d3a5df001 [FIX] sale_order: set state field track_visibility
sale_order module override state field of sale.oder (sale.sale.py) and forgot to reset the track_visibility, therefore sale orders state changes are no longer tracked once this module installed.
2014-06-12 12:37:11 +02:00
Dimitri del Marmol a487e92171 Merge pull request #492 from nseinlet/patch-1
tested local install with saas5 version
2014-06-12 11:36:13 +02:00
Géry Debongnie 0bcf81f11f Merge remote-tracking branch 'odoo/master' into master-inline-searchview-ged 2014-06-12 10:44:32 +02:00
Géry Debongnie b9135264b9 [FIX] fix scrolling in left menu in Firefox
and possibly also in IE
2014-06-12 10:39:49 +02:00
Richard Mathot 01cceb37a5 [IMP] survey: better display for survey managers/website editors 2014-06-12 10:18:40 +02:00
SEINLET Nicolas c8927463c5 tested local install with saas5 version
- added a missing dependency (qrcode)
- url for local test with port 8069
- check if pip2 needs to be used
2014-06-12 09:43:49 +02:00
Fabien Meghazi faa09da325 Removed version="7.0" from form views 2014-06-12 09:09:59 +02:00