Christophe Simonis [Fri, 5 Sep 2014 14:17:51 +0000 (16:17 +0200)]
[FIX] theme_bootstrap: views does not have `application` field anymore
Christophe Simonis [Fri, 5 Sep 2014 13:28:22 +0000 (15:28 +0200)]
[MERGE] forward port of branch 8.0 up to ed1c173
Fabien Meghazi [Tue, 5 Aug 2014 12:13:01 +0000 (14:13 +0200)]
[FIX] Some fixes for base_import_module
- Properly check unmet dependencies
- Set imported module's state to 'installed'
- Fix bad translation usage
Christophe Simonis [Thu, 4 Sep 2014 16:03:24 +0000 (18:03 +0200)]
[MERGE] forward port of branch saas-5 up to 9363bc9
Denis Ledoux [Thu, 4 Sep 2014 15:55:48 +0000 (17:55 +0200)]
[FIX] website_quote: onchange return nothing if product is False
Christophe Simonis [Thu, 4 Sep 2014 15:51:42 +0000 (17:51 +0200)]
[MERGE] forward port of branch saas-3 up to 3d80dc2
Julien Legros [Thu, 4 Sep 2014 15:47:00 +0000 (17:47 +0200)]
[FIX] web_tip: don't display tip on element whose width or height is 0
This commit allows a tip to be properly displayed on elements containing
an img tag. Previously the tip would be displayed before the image could
be loaded, thus breaking the ui.
Christophe Simonis [Thu, 4 Sep 2014 15:46:51 +0000 (17:46 +0200)]
[MERGE] forward port of branch 7.0 up to 59b76ee
Your Name [Thu, 21 Aug 2014 12:55:49 +0000 (18:25 +0530)]
[FIX] sale: keep page when confirming a sale order
To keep the pager and view changer after confirmation of a sale order, do not reload the view (quotation and sale order view are the same anyway)
Fixes #250
Denis Ledoux [Thu, 4 Sep 2014 15:21:12 +0000 (17:21 +0200)]
[FIX] web: wait onchanges to be processed before save
Christophe Simonis [Wed, 3 Sep 2014 18:05:37 +0000 (20:05 +0200)]
FIX] packaging: odoo-ification
Xavier Morel [Thu, 4 Sep 2014 14:23:15 +0000 (16:23 +0200)]
[IMP] doc: move version switcher to header
as recommended by nwi
use same style as logo but very slightly smaller font, otherwise the
difference is a bit jarring as numbers are much bigger than the app logo's
text
Raphael Collet [Tue, 2 Sep 2014 08:50:52 +0000 (10:50 +0200)]
[IMP] models: inherited fields are related fields read as the current user
Add an attribute 'related_sudo' (True by default) for related fields.
A related field is computed as superuser if related_sudo is True.
Add explicit related fields 'name' and 'email' on 'res.users', as these should
be readable by the public user with module website_forum.
Raphael Collet [Fri, 22 Aug 2014 14:14:58 +0000 (16:14 +0200)]
[IMP] models: "X in self" is now equivalent to any(X == rec for rec in self)
Fix modules with code like "record.id in other.stuff_ids".
Raphael Collet [Thu, 4 Sep 2014 12:59:45 +0000 (14:59 +0200)]
[FIX] base: remove test_ir_model, which causes bugs
The test in test_ir_model creates a custom model. This causes a full reload of
the registry, which recursively installs the required modules while 'base' is
being tested. As a side effect, it commits stuff from the database, so that
the effects of test_ir_model are actually not rolled back.
Somesh Khare [Tue, 26 Aug 2014 06:25:23 +0000 (11:55 +0530)]
[FIX] document: display Attachment(s) menu only on form view
The attachment menu (list and add) has no effect in tree view (not supporting multi-items upload and display), the menu should then only be displayed in these view (opw 612534)
Xavier Morel [Thu, 4 Sep 2014 12:40:20 +0000 (14:40 +0200)]
[ADD] support for a version switcher in odoo theme thing
needs beauty input
Xavier Morel [Thu, 4 Sep 2014 09:08:54 +0000 (11:08 +0200)]
[ADD] doc's readme
* also only enable linkcode if Sphinx >= 1.2
* fix html inline roles?
Jérome Maes [Thu, 4 Sep 2014 12:26:07 +0000 (14:26 +0200)]
[FIX] im_chat : enable chat widget only for base.group_user
Christophe Matthieu [Thu, 4 Sep 2014 11:08:42 +0000 (13:08 +0200)]
[FIX] website_sale: customer write on public user and the sale order is apply to public user if the public user is active=True; the checkout layout display state_id field twice
Denis Ledoux [Thu, 4 Sep 2014 10:31:14 +0000 (12:31 +0200)]
[MERGE] forward port of branch 7.0 up to 5872c24
Denis Ledoux [Thu, 4 Sep 2014 10:28:16 +0000 (12:28 +0200)]
[FIX] stock: on partial picking, do no open a new window action if not needed
This is related to rev. dd4d72d
Not opening a new window action allows to keep the current list of stock picking being threated, and to use the next an previous arrow of the forom view of the web client.
Géry Debongnie [Thu, 4 Sep 2014 10:11:40 +0000 (12:11 +0200)]
[FIX] correct css computation to remove unnecessary toolbar
qdp-odoo [Thu, 4 Sep 2014 09:32:16 +0000 (11:32 +0200)]
[FIX] account: several fixes on the new bank statement reconciliation widget
Denis Ledoux [Thu, 4 Sep 2014 09:15:13 +0000 (11:15 +0200)]
[FIX] account: invoiced button values must be calculated as the user
Otherwise, if done with the superuser:
- The multi-company rules won't work, the user will have the amount of all invoices, cross-companies
- The amount currency will always be the currency of the superuser
Josse Colpaert [Thu, 4 Sep 2014 08:32:48 +0000 (10:32 +0200)]
Merge pull request #2178 from odoo-dev/8.0-wmsmultiop-jco
[IMP] Courtesy of kevin3274 issue 1258: orderpoint should have float mul...
Raphael Collet [Wed, 3 Sep 2014 12:33:14 +0000 (14:33 +0200)]
[FIX] openerp.api.Environment: move recomputation todos into a shared object
This fixes a bug which is usually triggered in module account_followup, but
does not occur deterministically. Some recomputations of computed fields are
apparently missing. Environment objects containing recomputations todos and
kept alive by a WeakSet, are removed by the Python garbage collector before
recomputation takes place. We fix the bug by moving the recomputation todos in
a non-weakref'ed object.
Martin Trigaux [Thu, 4 Sep 2014 08:17:18 +0000 (10:17 +0200)]
[IMP] crm_partner_assign: remove inexistant onchange
This field is readonly so a onchange is useless anyway (opw 612593)
xmo-odoo [Thu, 4 Sep 2014 07:38:23 +0000 (09:38 +0200)]
Merge pull request #2173 from pedrobaeza/8.0-module_icon_field_size
[FIX] Size for icon field of ir_module_module table in base.sql
fixes #2095
Pedro M. Baeza [Wed, 3 Sep 2014 23:46:44 +0000 (01:46 +0200)]
[FIX] Size for icon field of ir_module_module table in base.sql
Josse Colpaert [Wed, 3 Sep 2014 20:25:00 +0000 (22:25 +0200)]
[IMP] Courtesy of kevin3274 issue 1258: orderpoint should have float multiple instead of integer
Josse Colpaert [Wed, 3 Sep 2014 19:36:01 +0000 (21:36 +0200)]
Merge pull request #2027 from odoo-dev/8.0-wmsstaging7-jco
8.0 wmsstaging7 jco
Josse Colpaert [Wed, 3 Sep 2014 19:13:44 +0000 (21:13 +0200)]
Merge pull request #2021 from odoo-dev/8.0-wmsbomtasks-jco
8.0 wmsbomtasks jco
Josse Colpaert [Tue, 26 Aug 2014 13:15:23 +0000 (15:15 +0200)]
[IMP] Pass product template to template method
Josse Colpaert [Tue, 26 Aug 2014 10:29:47 +0000 (12:29 +0200)]
[IMP] Clean
Josse Colpaert [Fri, 22 Aug 2014 16:48:57 +0000 (18:48 +0200)]
[IMP] Changing the standard cost price should do the real-time valuation for all variants of the template
Josse Colpaert [Tue, 19 Aug 2014 08:29:35 +0000 (10:29 +0200)]
[IMP] Change static buttons with group_ids each time
Josse Colpaert [Thu, 14 Aug 2014 20:12:45 +0000 (22:12 +0200)]
[WIP] Allow to produce more than the total qty of the production order in the last step
Josse Colpaert [Wed, 13 Aug 2014 07:51:00 +0000 (09:51 +0200)]
[IMP] cost_method and valuation should be copied when duplicating
Josse Colpaert [Mon, 1 Sep 2014 14:46:09 +0000 (16:46 +0200)]
[IMP] When landed costs are installed, it should automatically generate accounting entries
Josse Colpaert [Wed, 27 Aug 2014 08:15:42 +0000 (10:15 +0200)]
[IMP] Clean
Josse Colpaert [Tue, 26 Aug 2014 15:28:40 +0000 (17:28 +0200)]
[IMP] Clean
Josse Colpaert [Tue, 26 Aug 2014 10:10:05 +0000 (12:10 +0200)]
[IMP] Adapt mrp workflow and moves + Differ between Bose speakers and Custom Computer
Josse Colpaert [Fri, 22 Aug 2014 15:28:04 +0000 (17:28 +0200)]
[IMP] Domain on model instead of view + no production order without consume lines
Josse Colpaert [Fri, 22 Aug 2014 13:48:04 +0000 (15:48 +0200)]
[IMP] After invoice onshipping it should show all the created invoices
Josse Colpaert [Fri, 22 Aug 2014 12:55:20 +0000 (14:55 +0200)]
[IMP] Not necessary from merge
Josse Colpaert [Fri, 22 Aug 2014 12:20:34 +0000 (14:20 +0200)]
[IMP] Make sure we can do dropship where the purchase is invoiced on incoming shipments
Josse Colpaert [Thu, 21 Aug 2014 15:49:31 +0000 (17:49 +0200)]
[WIP] Dropshipping should take into account if incoming shipment wants to invoice
Josse Colpaert [Wed, 20 Aug 2014 08:03:23 +0000 (10:03 +0200)]
[IMP] Phantom BoMs only out of services products should work
Josse Colpaert [Tue, 19 Aug 2014 15:24:08 +0000 (17:24 +0200)]
[WIP] In between test
Josse Colpaert [Tue, 19 Aug 2014 10:26:05 +0000 (12:26 +0200)]
[IMP] Make sure normal products will still work
Josse Colpaert [Thu, 14 Aug 2014 22:42:28 +0000 (00:42 +0200)]
[WIP] This should be enough to put sale order to delivered when all tasks have been done. Problem is that because of procurement_jit it is creating it twice
Josse Colpaert [Thu, 14 Aug 2014 14:12:59 +0000 (16:12 +0200)]
[WIP] Add link with sale order by duplicating. That way sale order will be delivered when procurement is done
Josse Colpaert [Wed, 13 Aug 2014 15:19:40 +0000 (17:19 +0200)]
[FIX] Services type procurements are also important to trigger sale wkf
Josse Colpaert [Mon, 11 Aug 2014 13:06:03 +0000 (15:06 +0200)]
[IMP] Clean need_procurement and add partner on procurement for Phantom with service
Josse Colpaert [Fri, 8 Aug 2014 15:22:14 +0000 (17:22 +0200)]
[WIP] Create procurement when Phantom
Nicolas Seinlet [Fri, 8 Aug 2014 12:15:13 +0000 (14:15 +0200)]
- Fix #1253
- avoid using sale objects in stock_account module
- check the purchase side
Nicolas Seinlet [Thu, 7 Aug 2014 11:02:34 +0000 (13:02 +0200)]
remove pudb
Nicolas Seinlet [Thu, 7 Aug 2014 11:00:17 +0000 (13:00 +0200)]
fix #1253
Denis Ledoux [Wed, 3 Sep 2014 16:26:53 +0000 (18:26 +0200)]
[MERGE] forward port of branch 7.0 up to 7307227
Denis Ledoux [Wed, 3 Sep 2014 16:25:19 +0000 (18:25 +0200)]
[FIX] mrp: do not reset back stock moves to confirm
For instance, setting a BOM Phantom with:
Finished product: stockable, MTO Manufacture
Components: stockable, MTS, Buy. Inventory set to 1000
Stock moves of components are directly set to assigned once the procurement confirmed thanks to JIT
The stock moves should not be set back to confirmed after they have been assigned
antonylesuisse [Wed, 3 Sep 2014 14:40:52 +0000 (16:40 +0200)]
Merge pull request #2134 from odoo-dev/8.0-improve-packaging3-sle
v8 packaging by sle
Xavier Morel [Wed, 3 Sep 2014 14:34:52 +0000 (16:34 +0200)]
[ADD] support for canonical urls in technical doc
* canonical_root setting is the path to the root of the canonical sphinx doc,
if not set no canonical link is generated, must end with "/"
* canonical_branch defines the canonical branch to which to redirect, defaults
to master
also various side-fixes:
* disabled permalinks in sphinx instead of hiding them via CSS
* improved generation of github links, removed _app global and setting of
linkcode_resolve in conf.py
Denis Ledoux [Wed, 3 Sep 2014 13:56:04 +0000 (15:56 +0200)]
[FIX] website_forum_doc: forum.documentation.stage readable by all
Denis Ledoux [Wed, 3 Sep 2014 13:19:26 +0000 (15:19 +0200)]
[FIX] payment_paypal: avoid json decode error
with post.pop('custom', '{}'), if the key 'custom' is not there, it will return '{}', but if the key is there, but the value is equivalent to False, the json decode will fail.
Xavier Morel [Wed, 3 Sep 2014 08:18:20 +0000 (10:18 +0200)]
[ADD] github links from doc
Xavier Morel [Tue, 2 Sep 2014 08:51:46 +0000 (10:51 +0200)]
[IMP] display sibling documents in affixed menu
Simon Lejeune [Wed, 3 Sep 2014 12:03:38 +0000 (14:03 +0200)]
[FIX] Windows packaging: AGPL license
Denis Ledoux [Wed, 3 Sep 2014 10:29:41 +0000 (12:29 +0200)]
[FIX] pad: fullscreen pad behind the top nav bar
Fabien Meghazi [Wed, 3 Sep 2014 10:09:31 +0000 (12:09 +0200)]
[FIX] Website translation pairing bug
I think we could get rid of the .trim() calls (for performance sake)
but I don't want to break anything so I'll leave them.
Jeremy Kersten [Wed, 3 Sep 2014 09:55:00 +0000 (11:55 +0200)]
[FIX] Website_gengo: check API key with SUPERUSER_ID since private_key is really private
Dikshit Prajapati [Tue, 26 Aug 2014 13:04:45 +0000 (18:34 +0530)]
[IMP] mail: chatter: Send message / Log a note tooltips improvements, to better explain to the user why the world is about to collapse into a molecular singularity.
Thibault Delavallée [Wed, 3 Sep 2014 09:09:06 +0000 (11:09 +0200)]
[FIX] website_forum_doc: fixed last commit, wrong branch pushed (missing code review)
Jeremy Kersten [Wed, 3 Sep 2014 09:06:50 +0000 (11:06 +0200)]
[IMP] survey: display sum for numerical answers
Jérome Maes [Wed, 3 Sep 2014 09:01:00 +0000 (11:01 +0200)]
[FIX] im_chat : forget part of sql request, and fix ambiguous column name
Thibault Delavallée [Wed, 3 Sep 2014 08:15:06 +0000 (10:15 +0200)]
[FIX] website_forum_doc: default stage for post + removed unused import + added toc_id field in post tree view
Christophe Matthieu [Wed, 3 Sep 2014 07:33:16 +0000 (09:33 +0200)]
Merge pull request #2153 from odoo-dev/master-website-image-controller-chm
[IMP] website: image controller can use xmlid
Martin Trigaux [Tue, 2 Sep 2014 14:24:26 +0000 (16:24 +0200)]
[IMP] website_forum: performance improvements
- avoid to browse on every question/answer, only the 20 most recent ones (need to manually update the view to see the real number of q&a)
- do not render hidden tabs (leakage of information and useless rendering)
- add related fields to speed up vote search (need to be stored to be efficient)
Martin Trigaux [Tue, 2 Sep 2014 13:08:07 +0000 (15:08 +0200)]
[FIX] crm: avoid constraint errors when merging partners
As for the _update_foreign_keys, the _update_reference_fields method may raise an unique constraint when merging two partners.
In such case, the new record is not relevant and can be removed.
Olivier Dony [Tue, 2 Sep 2014 17:42:24 +0000 (19:42 +0200)]
[IMP] web: extra comments to explain commit 57b4860
Added some cryptic comments so we remember a bit
why we have a complicated dance with on_close.
Basically we do not want to reload the
original form view until the last popup is closed,
in the case where several wizard (steps) are opened
one after the other.
Jérome Maes [Tue, 2 Sep 2014 14:20:52 +0000 (16:20 +0200)]
[FIX] im_chat : use direct sql query on im_search method for perfomance issue
and fix away status
Jérome Maes [Tue, 2 Sep 2014 14:19:50 +0000 (16:19 +0200)]
[FIX] im_chat : scroll down on opening conversation and add scroll bar on user list
Denis Ledoux [Tue, 2 Sep 2014 16:43:22 +0000 (18:43 +0200)]
[FIX] account_payment: lin2bank correct fallback condition
Stéphane Wirtel [Thu, 12 Jun 2014 13:08:33 +0000 (15:08 +0200)]
[IMP] Optimize the schedulers of the calendar, fetchmail and base_action_rules modules
Disable the the crons when they'd have nothing to do, re-enable them when a
task is (probably) introduced
Denis Ledoux [Tue, 2 Sep 2014 15:32:37 +0000 (17:32 +0200)]
[FIX] web: chain close action on wizard confirm
If a wizard has several steps, or laucnh a second wizard, the view from where has been loaded the initial wizard is finally reloaded
Simon Lejeune [Tue, 2 Sep 2014 15:25:18 +0000 (17:25 +0200)]
[FIX] Windows packaging: correct Makefile.version writing and remove useless lib installation
Christophe Matthieu [Tue, 2 Sep 2014 13:19:09 +0000 (15:19 +0200)]
[IMP] website: image controller can use xmlid
Martin Trigaux [Tue, 2 Sep 2014 12:50:51 +0000 (14:50 +0200)]
Forward port of branch saas-5 up to 9a7f48a
Simon Lejeune [Tue, 2 Sep 2014 12:05:43 +0000 (14:05 +0200)]
[REF] Package.py: refactoring including cleanup, lint, and use of docker to test unix releases
Simon Lejeune [Tue, 2 Sep 2014 12:02:37 +0000 (14:02 +0200)]
[REF][FIX]: Windows packaging: lint, cleanup and make it work
setup.nsi: make it build and use postgresql 9.3
win32_se*: lint and simplified
Makefile: only one mode
Simon Lejeune [Tue, 2 Sep 2014 10:34:49 +0000 (12:34 +0200)]
[ADD] RedHat: defined the dependencies and added a post-install script to create the odoo user, the odoo configuration file, ...
Simon Lejeune [Tue, 2 Sep 2014 10:19:28 +0000 (12:19 +0200)]
[FIX] Debian: updated informations and dependencies, refactored debhelpers scripts to allow easy name change, simplified debhelper rules
Simon Lejeune [Tue, 2 Sep 2014 10:06:39 +0000 (12:06 +0200)]
[REF] Debian: renamed debhelpers scripts to not contain openerp in their filenames anymore, removed run_all_with_tests.sh script
Simon Lejeune [Tue, 2 Sep 2014 09:29:14 +0000 (11:29 +0200)]
[REF] setup: cleanup and linting of setup.py, reworked MANIFEST, added requirements.txt
Simon Lejeune [Tue, 2 Sep 2014 09:13:08 +0000 (11:13 +0200)]
[REF] Renamed files whose names contained whitespaces
Simon Lejeune [Tue, 2 Sep 2014 08:59:09 +0000 (10:59 +0200)]
[FIX] config.py: do not use appsdir to define the user's data dir when he has no home directory on unix
Force it to be '/var/lib/(appname)' in this case
Simon Lejeune [Mon, 1 Sep 2014 16:28:31 +0000 (18:28 +0200)]
[REF] Packaging: moved all the windows-related files into an unique win32 directory + cleanup
Raphael Collet [Mon, 1 Sep 2014 09:43:33 +0000 (11:43 +0200)]
[IMP] models: prefetch fields with groups (those to which user has access)
Raphael Collet [Mon, 1 Sep 2014 09:39:03 +0000 (11:39 +0200)]
[IMP] models: do not prefetch too many records at once
Raphael Collet [Tue, 2 Sep 2014 10:02:23 +0000 (12:02 +0200)]
[IMP] fields: update inverse fields lazily for performance
When a relational field is assigned in an onchange, its inverse field is
updated in cache. Reading the current value of the inverse field may be
costly, for instance in the case of a one2many field with thousands of records
as a value. Instead, put in cache a SpecialValue that reads and updates the
field; it will be triggered only when it is accessed.