Raphael Collet [Wed, 24 Sep 2014 09:28:28 +0000 (11:28 +0200)]
[FIX] ir_models: fix registry when we add/remove/modify a custom model/field
Jeremy Kersten [Wed, 24 Sep 2014 13:30:11 +0000 (15:30 +0200)]
[FIX] google_calendar: browse user as SUPERUSER_ID to be able to write/update google_calendar info on user
Mitesh Savani [Tue, 26 Aug 2014 04:49:38 +0000 (10:19 +0530)]
[FIX] mail: position of show more message button
Simon Lejeune [Wed, 24 Sep 2014 09:38:25 +0000 (11:38 +0200)]
[FIX] web: base.css: visible overflow for oe_view_manager_body on media print
Tony [Wed, 24 Sep 2014 02:59:43 +0000 (10:59 +0800)]
[FIX] survey: wrong record passed to action_survey_resent
The method action_survey_resent expects a survey.user_input instead of a hr.evaluation.interview record.
Grzegorz Krukar [Tue, 23 Sep 2014 21:41:21 +0000 (23:41 +0200)]
[FIX] product: typo in field string
Olivier Dony [Tue, 23 Sep 2014 17:13:50 +0000 (19:13 +0200)]
[I18N] Update translation templates with latest term changes
Olivier Dony [Tue, 23 Sep 2014 16:41:42 +0000 (18:41 +0200)]
[FIX] Update README for 8.0
Commandant Custo [Tue, 23 Sep 2014 12:26:47 +0000 (14:26 +0200)]
[FIX] account: typo in conversion to new API
Simon Lejeune [Fri, 19 Sep 2014 09:13:55 +0000 (11:13 +0200)]
[FIX] report: windows: lower level of file opening/closing, which to find wkhtmltpdf
* Use of 'which' to find the wkhtmltopdf binary (allow the win32 service to find it)
* Use of mkstemp and manual close of the file descriptors
DEEP SILVER ACCESSORY [Tue, 16 Sep 2014 15:25:48 +0000 (17:25 +0200)]
[FIX] Report: compatibility issues on Windows
This commit fixes two different issues specific to Windows:
* NamedTemporaryFile behavior, requiring a file to be closed before being
accessed a second time
* Wkhtmltopdf crash when the document's dpi is inferor to 96
Olivier Dony [Tue, 23 Sep 2014 11:42:05 +0000 (13:42 +0200)]
[I18N] Update translations from Launchpad 8.0 branches
server: rev. 26 rev-id launchpad_translations_on_behalf_of_openerp-
20140923072744-tkfs0yinu8msjh09
addons: rev. 39 rev-id launchpad_translations_on_behalf_of_openerp-
20140923072715-5j7qvnuvmmb1zzy1
web: rev. 23 rev-id launchpad_translations_on_behalf_of_openerp-
20140923072757-jvh9l6r2x0vfcyhb
sve-odoo [Tue, 23 Sep 2014 09:21:53 +0000 (11:21 +0200)]
[FIX] l10n_be: Fix BS and P&L
Cedric Snauwaert [Tue, 23 Sep 2014 08:27:42 +0000 (10:27 +0200)]
[FIX] wms: fix lookup of xmlid route_warehouse0_buy
Fixes #2610 courtesy of gurneyalex
Olivier Dony [Mon, 22 Sep 2014 17:13:41 +0000 (19:13 +0200)]
[FIX] bus: prevent error popups when longpolling requests are interrupted
1b9c404 modified the /longpolling/poll requests
to use openerp.session.rpc() instead of openerp.jsonRpc().
In order to properly disable error popups, an
explicit preventDefault() call is now required.
Martin Trigaux [Mon, 22 Sep 2014 15:56:51 +0000 (17:56 +0200)]
[IMP] base: safer locking at user login
When a users connects, a lock is taken on the res_user table to modify the last login date. If another running transaction uses a foreign key to res.users (e.g. write_uid column), postgres may detect the update as a concurrent update and rollback the transaction.
In pg 9.3, the lock_strength parameter 'NO KEY' allows a weaker lock which is less likely to break another transaction.
Fixes #552
Martin Trigaux [Mon, 22 Sep 2014 15:48:11 +0000 (17:48 +0200)]
[IMP] mail: avoid sending an email twice
In some specific conditions (e.g. admin logging during cron run, concurrent update), writing on the mail object may fail, triggering a rollback of the transaction.
As the write was done after the SMTP sendmail action, an email could be sent twice (state not correctly put, would be retried at next process of the email queue).
This patch provoke the error before the sendmail action and thus avoids sending the email.
Fixes #552
Christophe Simonis [Mon, 22 Sep 2014 15:05:07 +0000 (17:05 +0200)]
[FIX] models: only check existance of inverse_field for one2many fields
Jeremy Kersten [Mon, 22 Sep 2014 14:14:04 +0000 (16:14 +0200)]
[IMP] crm: make code of merge opportunities overloadable
Olivier Dony [Mon, 22 Sep 2014 12:35:13 +0000 (14:35 +0200)]
[FIX] website_twitter: display setup/debug info only for website editors, not visitors
Josse Colpaert [Mon, 22 Sep 2014 10:23:42 +0000 (12:23 +0200)]
Merge pull request #2603 from odoo-dev/8.0-wmsstaging10-jco
8.0 wmsstaging10 jco
Josse Colpaert [Fri, 19 Sep 2014 07:35:23 +0000 (09:35 +0200)]
[IMP] Assign all destination moves at once, add packaging
Josse Colpaert [Thu, 18 Sep 2014 13:50:41 +0000 (15:50 +0200)]
[FIX] Previous move subtleties
Richard deMeester [Mon, 22 Sep 2014 06:39:30 +0000 (16:39 +1000)]
[FIX] product: Put product_variant_count on template form view.
Was missing to be used in domain added at 92d8f15.
Fixes #2570
rmu-odoo [Wed, 3 Sep 2014 11:59:27 +0000 (17:29 +0530)]
[FIX] event: avoid double "Publish" button
The event.track view wa sextending the event.event view which was adding action buttons linked to the event.event object instead of the track.
This patch uses the general website view to avoid the confusion (and the risk of publishing an event instead a track).
Jérome Maes [Mon, 22 Sep 2014 08:41:11 +0000 (10:41 +0200)]
[FIX] im_chat, im_livechat : fix loading covnersation history and is_in_session function
Josse Colpaert [Sat, 20 Sep 2014 07:28:19 +0000 (09:28 +0200)]
Merge pull request #2501 from hmen89/8.0-fix-write-compute-cost
[FIX]stock_landed_costs: Fixed wrong costs on landed costs with many pro...
Christophe Simonis [Fri, 19 Sep 2014 14:51:29 +0000 (16:51 +0200)]
[FIX] models: correct lazy loading of manual fields
Jay Patel [Wed, 17 Sep 2014 06:47:37 +0000 (12:17 +0530)]
[FIX] website blog: open change cover wizard at second selection
Fixes #2470
Christophe Matthieu [Fri, 19 Sep 2014 12:00:05 +0000 (14:00 +0200)]
Merge pull request #2543 from odoo-dev/8.0-fix-website_sale-list-variants-chm
[FIX] website_sale: displayed price doesn't change for 'List View of Variants' customize template
Christophe Matthieu [Fri, 19 Sep 2014 11:59:27 +0000 (13:59 +0200)]
Merge pull request #2550 from odoo-dev/8.0-fix-default_code-chm
[FIX] product: Even when the product template has more than 1 variant, the default_code is displayed.
Mitesh Savani [Fri, 1 Aug 2014 11:39:09 +0000 (17:09 +0530)]
[FIX] base_gengo, website_gengo: groups on the gengo key.
Basically the admin group can read the gengo key. When adding website_gengo that adds the
website groups, the groups allowed to access the key are updated.
This is done because in base_gengo the website groups are not necesssarily defined. Website
is not a dependency of base_gengo.
Jérome Maes [Fri, 19 Sep 2014 09:35:26 +0000 (11:35 +0200)]
[FIX] bus, im_chat, im_livechat : use correct session to rpc call, little refactoring of im_livechat js, and prepare js code for Odoo Support.
Christophe Matthieu [Fri, 19 Sep 2014 10:30:57 +0000 (12:30 +0200)]
[FIX] product: Even when the product template has more than 1 variant, the default_code is displayed.
ptr [Fri, 19 Sep 2014 05:18:01 +0000 (10:48 +0530)]
[FIX] web: form: quick create: name is now required to avoid creating records with a void name
yingliu4203 [Wed, 10 Sep 2014 02:28:33 +0000 (19:28 -0700)]
[FIX] Packaging: Wndows: wrong handler used when logging to file
Christophe Matthieu [Fri, 19 Sep 2014 09:07:33 +0000 (11:07 +0200)]
[FIX] website_sale: displayed price doesn't change for 'List View of Variants' customize template
Denis Ledoux [Thu, 18 Sep 2014 14:18:23 +0000 (16:18 +0200)]
[MERGE] forward port of branch saas-3 up to 5bd0249
Denis Ledoux [Thu, 18 Sep 2014 14:05:34 +0000 (16:05 +0200)]
[MERGE] forward port of branch 7.0 up to a218a9e
Denis Ledoux [Thu, 18 Sep 2014 13:50:59 +0000 (15:50 +0200)]
[FIX] kanban: wrong condition to reset the dataset index
The dataset index should be reset either if the dataset is empty or the index is greater than the records size
Raphaël Valyi [Thu, 18 Sep 2014 10:14:00 +0000 (07:14 -0300)]
[FIX] mrp_repair: pass context in product_id_change calls
Martin Trigaux [Thu, 18 Sep 2014 11:50:20 +0000 (13:50 +0200)]
[FIX] survey: typo in domain
MadeleineHero [Tue, 16 Sep 2014 20:46:45 +0000 (22:46 +0200)]
[FIX] survey: display_mode is required if question type is simple_choice
Fixes #2461
Olivier Dony [Thu, 18 Sep 2014 10:11:18 +0000 (12:11 +0200)]
[REL] Odoo 8.0
Martin Trigaux [Thu, 18 Sep 2014 09:57:36 +0000 (11:57 +0200)]
[FIX] stock_account: accept negative quantities on standard price
The qty_available available of a product can be negative (e.g. using the force availibility button on delivery order) and the generated account.move.line should be adapted (otherwise getting negative values in debit/credit entries).
Fixes #2475
Simon Lejeune [Thu, 18 Sep 2014 09:54:25 +0000 (11:54 +0200)]
[FIX] Package: split the version to not include the latest commit's hash included by the package script
Géry Debongnie [Thu, 18 Sep 2014 09:50:25 +0000 (11:50 +0200)]
[FIX] update autocomplete test
Autocompletion of many2one fields only accepts domains in the form of
arrays, not as strings.
Olivier Dony [Thu, 18 Sep 2014 09:46:12 +0000 (11:46 +0200)]
[I18N] Update translations from Launchpad branches
Simon Lejeune [Thu, 18 Sep 2014 09:23:40 +0000 (11:23 +0200)]
[FIX] Package: Debian: finally a correct Packages generation
Thibault Delavallée [Thu, 18 Sep 2014 08:18:05 +0000 (10:18 +0200)]
[FIX] [CLEAN] Various: fixed / cleaned use of dict.fromkeys.
Indeed using fromkeys with a list / dict as argument leads to the creation
of shared list / dict. This could create some ugly side effects when
used in loops. This commit fixes or cleans this kind of statement to avoid
unwanted side effects.
Martin Trigaux [Fri, 12 Sep 2014 13:46:10 +0000 (15:46 +0200)]
[IMP] gamification: allow to select fields of inherited models
Martin Trigaux [Fri, 12 Sep 2014 13:45:17 +0000 (15:45 +0200)]
[ADD] base: list of inherited models on a ir.model
This field is needed to retrieve the list of inherited fields (instead of only the fields of a current model) of a model using domain such as ('model_id', 'in', model.inherited_model_ids) on ir.model.fields
Martin Trigaux [Fri, 12 Sep 2014 08:37:14 +0000 (10:37 +0200)]
[IMP] gamification: usability and shit
Challenge
- 'Reward as soon as every goal is reached' box checked by default (most of the time people want this behaviour, few special cases were do not)
- Click on challenge kanban opens goal list instead of challenge form
- Add button 'Start Challenge' clicking on statusbar is not intuitive
Badge
- When creates a challenge from badge view, set by default badge to 'For Every Succeding User' field
- replace filter 'Current' vs 'Passed' by 'Running' (in progress and done with not reached end date) vs 'Done' (done & failed without end date or end date passed)
Goal
- list of badge on employee form not the first tab
Raphael Collet [Thu, 18 Sep 2014 08:31:18 +0000 (10:31 +0200)]
[IMP] fields: reset decimal precision on new-style fields
When a decimal_precision record is created/modified, the float fields of the
models in the registry must be reset. This was done on old-API columns only.
It is now handled by the new-API fields.
Martin Trigaux [Thu, 18 Sep 2014 09:07:54 +0000 (11:07 +0200)]
[FIX] event: subscribe customer error
The onchange methods needs to work with browse records and address_get returns an id. Fixes #2484
Géry Debongnie [Thu, 18 Sep 2014 09:03:18 +0000 (11:03 +0200)]
[FIX] correctly expand many2ones in autocompletion
The ManyToOneField widget evaluated the domain before doing a name_search,
but the domain should not be evaluated client side, because it can only
be static at that point. It caused crash in autocompletion because
some variables could not be found in the context (see stage_id in
project.task for example)
Denis Ledoux [Thu, 18 Sep 2014 08:50:37 +0000 (10:50 +0200)]
[FIX] website_sale: only display payment method from the same company as the order
Cedric Snauwaert [Thu, 18 Sep 2014 07:55:07 +0000 (09:55 +0200)]
[FIX] announcement_bar: computed height was wrongly computed
Cedric Snauwaert [Wed, 17 Sep 2014 14:32:54 +0000 (16:32 +0200)]
[FIX] css: move overflow auto from body to webclient to prevent some element from triggering anoter scrollbar
Simon Lejeune [Wed, 17 Sep 2014 22:16:54 +0000 (00:16 +0200)]
[FIX] Package: Debian, Windows: more odooification; Debian: correct Packages.gz
Josse Colpaert [Wed, 17 Sep 2014 20:12:51 +0000 (22:12 +0200)]
Merge pull request #2502 from odoo-dev/8.0-wmsstaging9-jco
8.0 wmsstaging9 jco
Josse Colpaert [Wed, 17 Sep 2014 15:54:34 +0000 (17:54 +0200)]
[IMP] Use display_name instead of partner_ref
Josse Colpaert [Wed, 17 Sep 2014 14:47:57 +0000 (16:47 +0200)]
[IMP] Purchase on incoming shipments with services added
Josse Colpaert [Wed, 17 Sep 2014 12:32:06 +0000 (14:32 +0200)]
[IMP] MO should pass warehouse + improvements on pack_operation_ids when someone would make it visible
Josse Colpaert [Wed, 17 Sep 2014 08:42:52 +0000 (10:42 +0200)]
[FIX] Basic patches for product_extended
Josse Colpaert [Mon, 15 Sep 2014 17:24:08 +0000 (19:24 +0200)]
[IMP] Purchase order wkf optim
Josse Colpaert [Tue, 16 Sep 2014 10:05:52 +0000 (12:05 +0200)]
[IMP] Scheduled time, weights, remove routing on lines
Josse Colpaert [Fri, 12 Sep 2014 14:31:45 +0000 (16:31 +0200)]
[FIX] Theoretical quantity for created inventory adjustment should take into account location in context of stock
Grover Menacho [Wed, 17 Sep 2014 19:13:48 +0000 (15:13 -0400)]
[FIX]stock_landed_costs: Fixed wrong costs on landed costs with many products
rmu-odoo [Wed, 10 Sep 2014 07:45:51 +0000 (13:15 +0530)]
[FIX] hr_timesheet_sheet: avoid error when sort attendances
When an attendance line is edited, the tuple has no key 'name' which lead to a traceback.
Fixes #546
qdp-odoo [Wed, 17 Sep 2014 16:04:41 +0000 (18:04 +0200)]
[FIX] stock/purchase: dates and currency rates
Use the currency rate of the purchase date instead of the one of at the reception time (opw 610430)
Denis Ledoux [Wed, 17 Sep 2014 16:03:34 +0000 (18:03 +0200)]
[FIX] mail: chatter read more/less expand first oe_msg_body_long/short in the first oe_msg_body
Otherwise, if the mail itself contains a oe_msg_body_long (because sent in the mail history), it will open that one
Josse Colpaert [Wed, 17 Sep 2014 16:00:52 +0000 (18:00 +0200)]
Merge pull request #2460 from odoo-dev/8.0-wmslandedextraout-jco
8.0 wmslandedextraout jco
Josse Colpaert [Tue, 16 Sep 2014 15:53:52 +0000 (17:53 +0200)]
[IMP] Check sum + out should take quantities from stock move
Josse Colpaert [Fri, 5 Sep 2014 15:39:42 +0000 (17:39 +0200)]
[IMP] Do the landed costs out of the quants already out of stock
Fabien Meghazi [Wed, 17 Sep 2014 15:36:09 +0000 (17:36 +0200)]
[FIX] Image resizing bug
qdp-odoo [Wed, 17 Sep 2014 15:37:14 +0000 (17:37 +0200)]
Merge pull request #2352 from odoo-dev/8.0-imp-bank-statement-reconciliation-widget-ama
fixes and improvements in the new bank statement reconciliation widget.
Arthur Maniet [Wed, 17 Sep 2014 15:12:50 +0000 (17:12 +0200)]
[FIX] account: bank statement reconciliation: when creating a new move line to reconcile an existing one, use the existing move line's partner or, if there's none, the statement line's partner
Martin Trigaux [Tue, 16 Sep 2014 09:37:29 +0000 (11:37 +0200)]
[FIX] account_anglo_saxon: correctly set the accounts for returns
The generated moves on a return should be the reverse of the outgoing move.
Fixes #1817, opw 604417
Frederic van der Essen [Wed, 17 Sep 2014 14:14:30 +0000 (16:14 +0200)]
[IMP] point_of_sale: opening the cashbox only if paying with cash was problematic as you sometimes need to use the cashbox with bank payment methods such as ticket meals
Frederic van der Essen [Wed, 17 Sep 2014 14:01:53 +0000 (16:01 +0200)]
[IMP] point_of_sale: partner edition ! -> create partners, edit partners, assign them barcodes, take pictures, etc.
Frederic van der Essen [Fri, 12 Sep 2014 14:58:30 +0000 (16:58 +0200)]
[WIP] point_of_sale: qweb template for partner edition
Fabien Meghazi [Wed, 17 Sep 2014 14:54:08 +0000 (16:54 +0200)]
[IMP] Brought back /website/image route w/filename hinted in headers
Also added support for this route in widget Image#from_html()
Olivier Dony [Wed, 17 Sep 2014 14:38:51 +0000 (16:38 +0200)]
[MERGE] Forward-port saas-5 up to f9bcd67
Martin Trigaux [Wed, 17 Sep 2014 14:32:43 +0000 (16:32 +0200)]
[FIX] purchase: keep reference to purchase order line
When generating an invoice from a stock.picking, the reference to the purchase.order.line needs to be kept (e.g. this is needed by anglo-saxon for price valuation). (opw 600767)
Denis Ledoux [Wed, 17 Sep 2014 14:25:38 +0000 (16:25 +0200)]
[MERGE] forward port of branch saas-3 up to b6e6b57
Denis Ledoux [Wed, 17 Sep 2014 14:24:40 +0000 (16:24 +0200)]
qdp-odoo [Wed, 17 Sep 2014 14:13:45 +0000 (16:13 +0200)]
[REF] account: minor change made during the code review
Raphael Collet [Wed, 17 Sep 2014 12:16:25 +0000 (14:16 +0200)]
[FIX] fields: make convert_to_cache() more robust with inverse one2many
When a one2many field uses an integer field as inverse, the onchange method on
the second model may receive a dictionary for the value of the integer field.
This is because the client expects that field to be a many2one.
Fabien Meghazi [Wed, 17 Sep 2014 13:52:47 +0000 (15:52 +0200)]
[IMP] Refactor ir.ui.view's read_template cache invalidation
Julien Legros [Wed, 17 Sep 2014 08:37:36 +0000 (10:37 +0200)]
[FIX] analytic: contract manager_id defaults to the context value
Bhumi Patel [Thu, 7 Aug 2014 06:12:13 +0000 (11:42 +0530)]
[FIX] sale_stock: packaging was given a product instead of a product template id, leading to possible crash or incoherent values.
Olivier Dony [Wed, 17 Sep 2014 13:15:22 +0000 (15:15 +0200)]
[MERGE] Forward-port saas-3 up to 09ab2d4
Olivier Dony [Wed, 17 Sep 2014 13:13:42 +0000 (15:13 +0200)]
[MERGE] Forward-port 7.0 up to 938502a
Olivier Dony [Wed, 17 Sep 2014 13:09:55 +0000 (15:09 +0200)]
[FIX] loading: always process auto-installed modules for new databases
If the server was started without -i or -u and
happened to initialize a fresh database,
auto-installed modules that depend
on `base` only would stay in status "to install"
without actually being installed (until the next
installation round was triggered).
This was of little consequence in 7.0, but causes
a crash in 8.0.
Fixes #953
Arthur Maniet [Wed, 17 Sep 2014 13:02:02 +0000 (15:02 +0200)]
[IMP] account: bank statement reconciliation: allow to filter on move line name
Fabien Meghazi [Wed, 17 Sep 2014 08:03:33 +0000 (10:03 +0200)]
[FIX] Bundlification remains (Fixes #2463)
Olivier Dony [Wed, 17 Sep 2014 12:37:12 +0000 (14:37 +0200)]
[IMP] base: show local modules in Settings until apps.odoo.com is migrated for 8.0
Stéphane Bidoul [Tue, 16 Sep 2014 13:01:03 +0000 (15:01 +0200)]
[IMP] broaden scope of search of bank statement reconciliation candidates
Looking for accounts with reconcile=True is enough.
Restricting on payable/receivable account types narrows the search
to much and makes it difficult to implement transfer account holding
the payment while they are in transit at the bank.
Denis Ledoux [Wed, 17 Sep 2014 12:23:02 +0000 (14:23 +0200)]
[IMP] mail: app specific notifications