Sébastien CHAZALLET [Thu, 11 Dec 2014 10:33:57 +0000 (11:33 +0100)]
Footer changes
Sébastien CHAZALLET [Thu, 11 Dec 2014 09:03:38 +0000 (10:03 +0100)]
Convert submodule repo to from ssh to https
Alicia FLOREZ [Wed, 10 Dec 2014 17:07:27 +0000 (18:07 +0100)]
Update website_house_booking module
Alicia FLOREZ [Wed, 10 Dec 2014 14:36:26 +0000 (15:36 +0100)]
Add fr translation for website_crm module
Alicia FLOREZ [Wed, 10 Dec 2014 14:34:10 +0000 (15:34 +0100)]
Add fr translation for website module
Sébastien CHAZALLET [Wed, 10 Dec 2014 11:36:47 +0000 (12:36 +0100)]
Updating house booking submodules
Sébastien CHAZALLET [Wed, 10 Dec 2014 11:25:59 +0000 (12:25 +0100)]
Making things right with JS and CSS headers
Sébastien CHAZALLET [Wed, 10 Dec 2014 09:52:58 +0000 (10:52 +0100)]
second submodule: website_house_booking
Sébastien CHAZALLET [Wed, 10 Dec 2014 09:52:49 +0000 (10:52 +0100)]
first submodule: house_booking
Sébastien CHAZALLET [Wed, 26 Nov 2014 10:07:24 +0000 (11:07 +0100)]
Merge branch upstream/8.0 into 8.0
Christophe Matthieu [Thu, 6 Nov 2014 16:30:36 +0000 (17:30 +0100)]
[FIX] website_sale: Discussion not working on product; issue: #3495
Christophe Matthieu [Mon, 17 Nov 2014 13:07:30 +0000 (14:07 +0100)]
[FIX] website_reseller: Navigation Broken for Partner List on Website issue#3522
Arthur Maniet [Wed, 26 Nov 2014 08:44:50 +0000 (09:44 +0100)]
[FIX] account: bank statement reconciliation widget: disable buttons which trigger RPC calls until done
Paul Chater [Tue, 25 Nov 2014 15:37:48 +0000 (15:37 +0000)]
[FIX] doc: typo in themes document
closes #3874
hiekmann [Tue, 11 Nov 2014 11:22:35 +0000 (11:22 +0000)]
[FIX] payment: docstring typo
closes #3557
Martin Trigaux [Wed, 26 Nov 2014 08:18:53 +0000 (09:18 +0100)]
[FIX] mrp_operation: missing context
It is present in mrp declaration but was not in mrp_production which was problematic if another module inherit as well from action_produce_end.
antonylesuisse [Tue, 25 Nov 2014 22:26:30 +0000 (23:26 +0100)]
Merge pull request #3822 from the-digital-engineer/patch-1
updated deb-repository URL
Denis Ledoux [Tue, 25 Nov 2014 18:25:22 +0000 (19:25 +0100)]
[FIX] website: the attachment creation improvment of
a3e578068e170df41ef95c00026bc2351c9e2c13 must be done on res_model
instead of type
Martin Trigaux [Tue, 25 Nov 2014 17:13:41 +0000 (18:13 +0100)]
[FIX] product: comparison of currency rounding
Setting 0.0001 as precision used to be converted to 9.
999999999999999e-05
precision_digits of 6 is the precision of the field 'rounding' on res.currency
Fixes #3875
Olivier Dony [Tue, 25 Nov 2014 15:54:43 +0000 (16:54 +0100)]
[FIX] ir.ui.view: deletion of parent view should not cascade
This is safer to avoid inadvertently dropping customizations,
and does not impact the normal update/uninstall process, which
is based on the dependency order.
Denis Ledoux [Tue, 25 Nov 2014 16:37:12 +0000 (17:37 +0100)]
[FIX] stock: typo incomming -> incoming in demo & tests
I avoid to change external ids, in case some custom/community modules use it in their own tests
Arthur Maniet [Tue, 25 Nov 2014 15:46:30 +0000 (16:46 +0100)]
[IMP] account: bank statement reconciliation proposition:
- find a move line whose amount exactly matches the bank statement line amount even if it has no partner
- properly handle multicurrency
- if there's no exact match, look for a set of move line whose amount is <= to the statement line's amount
Jeremy Kersten [Tue, 25 Nov 2014 14:06:48 +0000 (15:06 +0100)]
[FIX] survey: Was browsing a browse record, useless and traceback... https://github.com/odoo/odoo/issues/2383
Denis Ledoux [Tue, 25 Nov 2014 13:36:56 +0000 (14:36 +0100)]
[FIX] website: improve performance for attachment creation
website introduces two new stored function fields, which depend on the attachment data
The thing is, these two fields are pertinent for website attachments only
Therefore, we avoid to read the datas field when the attachment is not a website attachment(when not needed), as this is the most costly field to read
Géry Debongnie [Tue, 25 Nov 2014 12:11:15 +0000 (13:11 +0100)]
[FIX] correctly set searchview id (web client)
The issue is that when a default searchview is requested, it is
initialized without its view_id. Result: debug mode can't edit the
search view. This commit makes sure that when the field_view_get is
received, the correct view_id is set.
Raphael Collet [Tue, 25 Nov 2014 11:42:36 +0000 (12:42 +0100)]
Merge pull request #3645 from odoo-dev/8.0-fix2manyupdateonchanges-chs
[FIX] api: avoid to return all fields *2many in onchanges
Raphael Collet [Tue, 25 Nov 2014 10:25:50 +0000 (11:25 +0100)]
[FIX] fields: in *2many convert_to_write(), return all fields for new records and dirty fields for existing records
Martin Trigaux [Mon, 24 Nov 2014 15:41:39 +0000 (16:41 +0100)]
[FIX] mrp: allow to select BoM with a product template only
Josse Colpaert [Mon, 24 Nov 2014 21:38:51 +0000 (22:38 +0100)]
[IMP] Incoming, outgoing and virtual quantities should not take draft moves into account
Olivier Dony [Mon, 24 Nov 2014 17:45:22 +0000 (18:45 +0100)]
[DOC] web: search view: extra info about key events handling
Complements
bde1a4432fef4cb2f5fe8ab600e72ab5b8b4830d
Denis Ledoux [Mon, 24 Nov 2014 17:38:14 +0000 (18:38 +0100)]
Revert "[FIX] stock_picking_wave: removed obsolete many2many widget from stock_picking_wave_view"
This reverts commit
436bbb0a48ff866925fe0a3987928ab554bc3c6d.
The many2many widget is usefull, as it allows to select an existing picking instead of creating a new one when clicking add an item from the list
Denis Ledoux [Mon, 24 Nov 2014 16:24:49 +0000 (17:24 +0100)]
[FIX] product_extended: price from bom is build for product templates
As it sets the standard_price field, which is defined on product templates only: setting the standard price of a product variant will lead to set the standard price to all the variants of the product template.
There is therefore no meaning to compute and set the standard price of product variants according to the boms
Raphael Collet [Mon, 24 Nov 2014 16:22:47 +0000 (17:22 +0100)]
[FIX] test_new_api: fix/simplify the result of the onchange on one2many fields
Jamin Shah [Wed, 5 Nov 2014 05:52:34 +0000 (11:22 +0530)]
[IMP] account : Add reference field to Invoice report
Denis Ledoux [Mon, 24 Nov 2014 15:42:26 +0000 (16:42 +0100)]
[FIX] mail: batch_size expects an integer
Denis Ledoux [Mon, 24 Nov 2014 15:28:03 +0000 (16:28 +0100)]
[FIX] mail: allow to set own batch size for mass mailing
Raphael Collet [Mon, 24 Nov 2014 14:31:18 +0000 (15:31 +0100)]
[IMP] models: rework the API that deals with dirty fields on records
the-digital-engineer [Sun, 23 Nov 2014 20:08:36 +0000 (21:08 +0100)]
updated deb-repository URL
was : openerp.com; new : odoo.com
Simon Lejeune [Sun, 23 Nov 2014 14:01:52 +0000 (15:01 +0100)]
[FIX] tools: find_in_path: config is not ready at import time
commit
f76d4525a was not actually working: extra keys from
config files are not yet into the config options dict at
import time. The fix is to move the logic inside the method,
like in `find_pg_tool` just below.
Also fix the use of `find_in_path` in report.py: the subprocess
may also raise AttributeError exception, so instead of listing
all the possible ones just re-raise the IOError shallowed by
`find_in_path` when the result is None.
Fixes #3809 #3811
Jeremy Kersten [Fri, 21 Nov 2014 17:23:22 +0000 (18:23 +0100)]
[FIX] website_editor: smallest pictogram was unselectable.
Simon Lejeune [Fri, 21 Nov 2014 10:34:16 +0000 (11:34 +0100)]
[FIX] packaging: windows: installer images odooification
Simon Lejeune [Fri, 21 Nov 2014 16:38:50 +0000 (17:38 +0100)]
[ADD] tools: handling of bin_path key in find_in_path
The openerp-server.conf now generates the bin_path record, in order
to resolve calls to external binaries served in the thirdparty dir.
Adpated report.py to use find_in_path and not directly which.
Simon Lejeune [Wed, 19 Nov 2014 22:37:43 +0000 (23:37 +0100)]
[ADD] packaging: windows: bundle wkhtmltopdf and lessc
rmu-odoo [Tue, 21 Oct 2014 13:05:32 +0000 (18:35 +0530)]
[FIX] payment_transfer: correctly display transfer information
When moving fields name -> provider on payment.acquire, the condition in payment_transfer was not updated.
This lead to no post_msg value in the Wired Transfert acquire.
Fixes #2423, opw 613934
Jeremy Kersten [Fri, 21 Nov 2014 15:23:00 +0000 (16:23 +0100)]
[FIX] google_calendar: update tuto to create credential for google Calendar API. Google changes suddenly the process. Before that was optional, now without it, customers have an error 400 redirect_uri_mismatch
Denis Ledoux [Fri, 21 Nov 2014 14:51:54 +0000 (15:51 +0100)]
[FIX] website_sale: apply reduction code
The line being deleted in this revision looks to have been useful when it was introduced in this commit:
36fc910
As the sale order was updated right away through the update_pricelist method
But since this rev. 22f4c31, the sale order is updated later, and reset the sale_order_code_pricelist_id value in the session right after setting it prevent to apply the pricelist of the promotional code...
Jeremy Kersten [Fri, 21 Nov 2014 14:53:13 +0000 (15:53 +0100)]
[IMP] website_blog: Add menu, form view and tree view to manage tags.
Christophe Simonis [Fri, 21 Nov 2014 14:25:44 +0000 (15:25 +0100)]
[FIX] http.py: log 400 errors
Christophe Simonis [Fri, 21 Nov 2014 14:05:48 +0000 (15:05 +0100)]
[FIX] website_crm: contactus: do not polute lead creation values
Christophe Simonis [Fri, 21 Nov 2014 14:03:12 +0000 (15:03 +0100)]
[FIX] crm: set the oldname of field crm.lead.medium_id
Josse Colpaert [Fri, 21 Nov 2014 12:10:02 +0000 (13:10 +0100)]
[IMP] Show product_uom_qty instead of normalized quantity in mrp order report
Christophe Simonis [Mon, 24 Nov 2014 12:52:36 +0000 (13:52 +0100)]
[IMP] http: do not log traceback for Warnings
Denis Ledoux [Mon, 24 Nov 2014 11:13:47 +0000 (12:13 +0100)]
[REF] mail: extract auto subscribe notifications sending into a sub-method
To allow customization, such as do not send the notification to the partner that subscribed himself to the thread (he probably already read the thread, no need to send him an email)
Denis Ledoux [Mon, 24 Nov 2014 10:35:13 +0000 (11:35 +0100)]
[FIX] im_chat: unlink im chat presence on user deletion
It wasn't possible to delete a user if he had a im chat presence linked to him.
Richard Mathot [Mon, 24 Nov 2014 09:22:47 +0000 (10:22 +0100)]
[FIX] doc/backend: typos in example code
Géry Debongnie [Thu, 20 Nov 2014 15:53:35 +0000 (16:53 +0100)]
[FIX] yet another filter fix... (crm reporting)
Same problem as before: filters do not compose properly with the implicit
'&', and they are filtering on the wrong model (should filter on probability
in the crm.case.stage model and not on the crm.opportunity.report)
Xavier Morel [Mon, 24 Nov 2014 08:05:23 +0000 (09:05 +0100)]
[CHG] doc: company officially renamed
Xavier Morel [Mon, 24 Nov 2014 07:52:38 +0000 (08:52 +0100)]
[ADD] ws doc: introspection, reports and workflows
* use static imports in java examples to make them terser
* inline ``domain`` in java and php example to make examples more
self-contained
* try to extend/improve Model.write's docstring
* add convenience kwarg to fields_get, mostly for user-driven
introspection
Closes #3689
Jeremy Kersten [Fri, 21 Nov 2014 10:58:39 +0000 (11:58 +0100)]
[FIX] web_calendar: improve the commit 787147d. This commit was fixing bug in other module that calendar which was open an event in popup view. Because browse/read by default was unable to read string id. The fix was too restrictif, because calendar need to read/browse string; we cannot cast this id in Int else we loose the virtual part. parseInt('12-
20140512') -> 12.
Jeremy Kersten [Fri, 21 Nov 2014 10:55:00 +0000 (11:55 +0100)]
[FIX] calendar: allow to sort in tree view the starting date (start, start_date, start_datetime) (hack for V8)
Géry Debongnie [Thu, 20 Nov 2014 09:26:13 +0000 (10:26 +0100)]
[FIX] fix autocompletion problems with quick presses
Problem was that when the user types quickly in the search bar and press
enter, the keydown event of the enter key happens before the keypress
event of the last key entered. This means that the autocompletion has
a wrong string. The fix is to move the enter selection detection from
keydown to keyup.
Olivier Dony [Thu, 20 Nov 2014 17:16:31 +0000 (18:16 +0100)]
[FIX] calendar: support non-ascii chars in date/time format
The calendar module generates string values with
a date/time formatted according to the user
language. Those formats may contain non-ascii
characters and are read as unicode strings,
but fed to str{p,t}time, which only accepts
byte strings (in Python 2).
This would cause an exception when loading calendar
notifications for a user using e.g. Chinese with
some CJK unicode chars in the date/time format.
Binjal Desai [Thu, 20 Nov 2014 10:08:39 +0000 (15:38 +0530)]
[FIX] mass_mailing: attachments were not send.
Christophe Simonis [Thu, 20 Nov 2014 15:06:55 +0000 (16:06 +0100)]
[FIX] http.py: invalid request must return a status code 400
Géry Debongnie [Thu, 20 Nov 2014 10:25:49 +0000 (11:25 +0100)]
[FIX] fix wrong filter in opportunity view (crm)
There was two problems:
* it was filtering on the probability of the opportunity, not on the
probability of the stage
* the filters were not prefixed with '&', which means that they gave
weird results when combined in the searchview (in a filter group, filters
are combined with '|', but it breaks when the filters are defined by
an implicit '&')
Christophe Simonis [Thu, 20 Nov 2014 10:37:23 +0000 (11:37 +0100)]
[MERGE] forward port of branch saas-3 up to 6c13c8d
Denis Ledoux [Wed, 19 Nov 2014 18:09:18 +0000 (19:09 +0100)]
[FIX] base: copy access rights on group duplication
Olivier Dony [Wed, 19 Nov 2014 16:49:12 +0000 (17:49 +0100)]
[I18N] Update translations from Launchpad 8.0 branches
Xavier Morel [Wed, 19 Nov 2014 16:07:28 +0000 (17:07 +0100)]
[REM] duplicated package in requirements, sort
Henri-Maxime Ducoulombier [Wed, 19 Nov 2014 15:24:28 +0000 (16:24 +0100)]
[IMP] doc: incorrect value documented
closes #3761
Sébastien CHAZALLET [Wed, 19 Nov 2014 14:44:56 +0000 (15:44 +0100)]
BUGFIX WSGI
Christophe Simonis [Wed, 19 Nov 2014 14:14:14 +0000 (15:14 +0100)]
[FIX] graph.py: correct Node() creation.
Fixes #3730
root [Wed, 19 Nov 2014 13:49:05 +0000 (14:49 +0100)]
Add OCA addons
Denis Ledoux [Wed, 19 Nov 2014 13:06:48 +0000 (14:06 +0100)]
[MERGE] forward port of branch 7.0 up to 529e920
Denis Ledoux [Wed, 19 Nov 2014 12:24:32 +0000 (13:24 +0100)]
[FIX] mrp: perform location chaining for kit exploded moves
This rev. 7307227 ensured to not (re-)set the state 'confirmed' to exploded moves with a more advanced state (for instance, 'assigned')
Nevertheless, the location chaining is performed on the move confirmation, through the action_confirm method of the stock.move model. Besides, the resulting moves of the _action_explode method had the state 'confirmed' on creation, the 'confirmed' state wasn't set by the method 'action_confirm', meaning that the moves were confirmed without having the location chaining done. Allowing moves to go through the action_confirm method even if the state was 'confirmed' or further triggered the location chaining.
Preventing already confirmed moves to go through the action_confirm method prevented the location chaining, thus.
We now create the resulting moves with the 'draft' state, and then confirm them through the procurement workflow signal 'button_confirm'. Thus, the resulting moves are confirmed by going through the action_confirm method, writing the confirmed state and triggering the location chaining at the same time. We then write the 'assigned' state if necessary.
opw-617235
Olivier Dony [Wed, 19 Nov 2014 11:14:21 +0000 (12:14 +0100)]
[FIX] decimal_precision: avoid refreshing float precisions at each cache invalidation
Changing the decimal precision of float fields is a rare
operation, while cache clearing occurs fairly frequently.
Signaling a full registry change when the decimal precision
is changed (instead of a mere cache change) is therefore
a better trade-off, and more semantically correct as well.
This way we avoid the decimal precision refresh for each
invalidation.
Registry invalidation implies cache invalidation.
Martin Trigaux [Wed, 19 Nov 2014 10:06:40 +0000 (11:06 +0100)]
[FIX] web: force company logo refresh per db
The company_logo is cached and was not refreshed when switching between database, still showing the logo of the company of the previous database
Fixes #2738
Leonardo Pistone [Wed, 19 Nov 2014 10:55:33 +0000 (11:55 +0100)]
[REM] python-stdnum from requirements
It is never used in the code, and causes problems with wheels: related
to pypa/pip#2105
closes #3744
Julien Legros [Wed, 19 Nov 2014 10:36:04 +0000 (11:36 +0100)]
[FIX] website_sale: don't carry over tx details on SO duplication
opw-617319
Antony Lesuisse [Tue, 18 Nov 2014 22:27:48 +0000 (23:27 +0100)]
[FIX] windows ctrl-c from cmd as a non admin
return False when calling is_running_as_nt_service from a non adminstrator
account.
Antony Lesuisse [Tue, 18 Nov 2014 22:04:21 +0000 (23:04 +0100)]
[FIX] server.py traceback on ctrl-c from windows cmd
Define a shim signal.SIGHUP on windows to avoid an ifdef in the threaded server
loop.
Frederic van der Essen [Tue, 18 Nov 2014 18:06:21 +0000 (19:06 +0100)]
[FIX] requirements.txt: add info about optional python requirements used for the point of sale receipt printing
Frederic van der Essen [Tue, 18 Nov 2014 18:03:10 +0000 (19:03 +0100)]
[FIX] hw_escpos: use logger instead of prints to avoid corrupting the odoo.py command line interface.
Martin Trigaux [Tue, 18 Nov 2014 14:09:13 +0000 (15:09 +0100)]
[FIX] project: access rights and followers
For privacy_visibility 'followers' or 'portal', the user should be follower of the project (not the task).
Remove public access to portal task
Fixes #2372
If no project on the task (or other rule), an employee (not a portal) can access if is follower of the task.
Follower rule is not enough as a user creating a rule will subscribe to the rule but to subscribe to record, the user should have access to it in the first place.
To make sure the snake does not bit its tail, fallback to give access on task where the user is reponsible (user_id = user.id).
Fixes #139
Adapted the tests to the new behaviour (removed not relevant and added some on creation)
Martin Trigaux [Tue, 18 Nov 2014 14:21:59 +0000 (15:21 +0100)]
[IMP] point_of_sale: make the sequence field configurable
Frederic van der Essen [Tue, 18 Nov 2014 17:03:53 +0000 (18:03 +0100)]
[FIX] point_of_sale: fix point of sale sequence declaration, github issue #3218
Christophe Simonis [Tue, 18 Nov 2014 16:42:13 +0000 (17:42 +0100)]
[FIX] website_forum: load js files in the right order.
Josse Colpaert [Tue, 18 Nov 2014 10:38:58 +0000 (11:38 +0100)]
[FIX] Avoid access error on XML id in browse when choosing picking type for manual purchase order. As they are ordered by sequence, just take the first you can find.
Denis Ledoux [Tue, 18 Nov 2014 15:27:16 +0000 (16:27 +0100)]
[FIX] account: do not duplicate analytic lines on analytic journal duplicate
Jeremy Kersten [Tue, 18 Nov 2014 15:20:58 +0000 (16:20 +0100)]
[FIX] website_forum:
Remove useless document ready
Add select2 to frontend to allow public user to use tags
Frederic van der Essen [Tue, 18 Nov 2014 14:38:07 +0000 (15:38 +0100)]
[FIX] point_of_sale: remove a confusing partial implementation of UoS
Jeremy Kersten [Tue, 18 Nov 2014 13:31:36 +0000 (14:31 +0100)]
[FIX] website_forum:
Use if_dom_contains to check if we need to load js
Fix bug where _tag_to_write_vals was called like old API but model converter was new api
Move IsKarmaValid and Load CKE only in website_forum context
xmo-odoo [Tue, 18 Nov 2014 12:53:20 +0000 (13:53 +0100)]
[IMP] doc: try to clarify what $as is in qweb doc
Stéphane Bidoul [Wed, 15 Oct 2014 19:38:29 +0000 (21:38 +0200)]
[IMP] account_payment: remove dead voucher code and extension hook
Since bank statement do not use vouchers anymore in 8.0,
it's not necessary to create the voucher anymore.
Additionally, I add an extension point to let modules adapt
the statement line.
qdp-odoo [Tue, 18 Nov 2014 12:26:34 +0000 (13:26 +0100)]
[FIX] account_payment: fixed the view of payment order to display the amount of transactions
Simon Lejeune [Mon, 17 Nov 2014 22:09:59 +0000 (23:09 +0100)]
[ADD] account_budget: theoretical amount: tests
Simon Lejeune [Wed, 22 Oct 2014 15:50:02 +0000 (17:50 +0200)]
[FIX] account_budget: theoretical amount: ignore future and use datetime
Denis Ledoux [Tue, 18 Nov 2014 10:40:55 +0000 (11:40 +0100)]
[FIX] website_sale: product website description must be translatable
Jeremy Kersten [Tue, 18 Nov 2014 10:25:31 +0000 (11:25 +0100)]
[FIX] website_forum: use common method to compute tags for orm
Tymoteusz Motylewski [Tue, 18 Nov 2014 09:45:25 +0000 (10:45 +0100)]
[FIX] doc: incorrect class access in new api guide
When creating a class with the new API, we should use models.Model
instead of just Model.
closes #3713