Martin Trigaux [Thu, 2 Oct 2014 10:05:32 +0000 (12:05 +0200)]
[ADD] contribution files and image removed at 2ad092b
Denis Ledoux [Thu, 2 Oct 2014 08:58:14 +0000 (10:58 +0200)]
[FIX] website_sale: too tiny quantity input (if qty > 9)
Olivier Dony [Thu, 2 Oct 2014 08:13:29 +0000 (10:13 +0200)]
[FIX] website: editor: ignore spurious changes for editable content
Changes to contentEditable or attributeEditable attributes
should not cause the corresponding section to be marked
as dirty (oe_dirty). This would otherwise cause an extra
editor save() for those, wrongly marking untouched
templates as `noupdate`, and possibly triggering access
right errors.
Christophe Matthieu [Wed, 1 Oct 2014 16:46:13 +0000 (18:46 +0200)]
[FIX] website: repair compatibility with 8.0rc1 carousel (banner) snippets that may be present in existing pages
Christophe Simonis [Wed, 1 Oct 2014 15:51:01 +0000 (17:51 +0200)]
[FIX] account: recordsets are not sortable in-place
Christophe Simonis [Wed, 1 Oct 2014 15:13:38 +0000 (17:13 +0200)]
[FIX] correct typo introduce during forward-port in commit 388f1a1
qdp-odoo [Wed, 1 Oct 2014 14:50:10 +0000 (16:50 +0200)]
[FIX] stock: allow the user to use the '!=' operator in domains for 'Qty on Hand' and 'Qty available'. Fixes #2763
Christophe Simonis [Wed, 1 Oct 2014 14:46:03 +0000 (16:46 +0200)]
[MERGE] forward port of branch saas-3 up to 3d4b82c
Christophe Simonis [Wed, 1 Oct 2014 14:34:13 +0000 (16:34 +0200)]
[FIX] migration: allow debugging of migration scripts + avoid useless copies
qdp-odoo [Wed, 1 Oct 2014 14:05:53 +0000 (16:05 +0200)]
[FIX] account: fixed broken constraint (due to the passage to the new API) to ensure the same partner is present on journal items we try to reconcile partially. Fixes #2527
Raphael Collet [Wed, 1 Oct 2014 12:47:08 +0000 (14:47 +0200)]
[IMP] fields: allow sorting on inherited field in list views
Raphael Collet [Wed, 1 Oct 2014 08:02:10 +0000 (10:02 +0200)]
[IMP] fields: split multi-purpose '_origin' into 'column' and 'inherited'
This makes it easier to determine when a field interfaces a column, and when it
implements an inherited field (with _inherits).
xmo-odoo [Wed, 1 Oct 2014 13:19:20 +0000 (15:19 +0200)]
[REVERT] typo
Olivier Dony [Tue, 30 Sep 2014 15:54:25 +0000 (17:54 +0200)]
[FIX] website_sale: checkout: do not reset address country every time
Once the value is set it can be modified by the user
(e.g. if geoip detection was wrong), so should not be reset.
xmo-odoo [Wed, 1 Oct 2014 13:02:20 +0000 (15:02 +0200)]
[FIX] doc: branch name in configuration
The branch name is used in the version switcher, so the master branch should have a version of "master".
Maybe the release could be the revision hash? Not sure how to extract it from the repo.
Denis Ledoux [Wed, 1 Oct 2014 10:41:42 +0000 (12:41 +0200)]
[MERGE] forward port of branch 7.0 up to 9cc54dc
Denis Ledoux [Wed, 1 Oct 2014 10:39:32 +0000 (12:39 +0200)]
[FIX] product: name_search handles negative operators
Thibault Delavallée [Wed, 1 Oct 2014 08:45:59 +0000 (10:45 +0200)]
[FIX] event: jump on the correct menu after installing
the event application (event kanban view).
Also added a missing description on event.type model.
Raphael Collet [Tue, 30 Sep 2014 13:35:24 +0000 (15:35 +0200)]
[IMP] fields: split the default value from the compute function
This separation allows to set a default value on a related field, for instance.
Denis Ledoux [Tue, 30 Sep 2014 15:20:28 +0000 (17:20 +0200)]
[FIX] website*sale: product_id_change qty is 0 by default
Thus, need to pass the actual quantity to product_id_change in order to set values correctly
Denis Ledoux [Tue, 30 Sep 2014 15:19:00 +0000 (17:19 +0200)]
[FIX] sale_margin: stored field functions cannot trigger other stored field functions
the update of sale.order margin field was trigger with the margin stored field of sale.order.line: This cannot work with the old api
dhr-odoo [Wed, 16 Jul 2014 13:45:56 +0000 (19:15 +0530)]
[FIX] purchase: minmum purchase quantity and float precision (opw 610557)
Martin Trigaux [Tue, 30 Sep 2014 14:17:57 +0000 (16:17 +0200)]
[FIX] hr_payroll_account: do not create entries with amount at 0
If the salary compuation gives a salary of zero, skip the creation of the account.move.line (not good to have lines at 0).
Fixes lp:1298116, opw 605816
Martin Trigaux [Tue, 30 Sep 2014 13:31:52 +0000 (15:31 +0200)]
[FIX] hr_expense: computation of tax/base amount
When computing the amount for a tax (included) with children, accumulate the included taxes to avoid taking only the last one (opw 614867).
Denis Ledoux [Tue, 30 Sep 2014 13:46:11 +0000 (15:46 +0200)]
[MERGE] forward port of branch 7.0 up to 419c439
Denis Ledoux [Tue, 30 Sep 2014 13:44:53 +0000 (15:44 +0200)]
[FIX] account: sort partner ledger report by partner ref, name
Simon Lejeune [Fri, 26 Sep 2014 16:36:13 +0000 (18:36 +0200)]
[FIX] fleet: contract onchange: ensure dict before executing `get`
Denis Ledoux [Tue, 30 Sep 2014 11:29:54 +0000 (13:29 +0200)]
[FIX] fields: copy origin to avoid sharing field objects between registries
Fix a bug introduced in revision f229974, where shared columns objects are
systematically reintroduced in registries.
Denis Ledoux [Tue, 30 Sep 2014 12:05:02 +0000 (14:05 +0200)]
[FIX] im_livechat: ir.config_parameter must be read as superuser
As ir.config_parameter is restricted to employees in ACL, for security reasons
xmo-odoo [Tue, 30 Sep 2014 10:54:32 +0000 (12:54 +0200)]
Merge pull request #2796 from gurneyalex/8.0-improve_report_not_found_exception
[FIX] lookup_report: exception message when the report is not found
Alexandre Fayolle [Tue, 30 Sep 2014 09:35:05 +0000 (11:35 +0200)]
fix exception message in report seachr
when we get to the raise statement, `r` is `None`, so displaying it in the
exception message is useless. `name` is what we want to show.
Martin Trigaux [Tue, 30 Sep 2014 09:33:26 +0000 (11:33 +0200)]
[IMP] gamification_sale_crm: change date filed for definition "Logged Calls"
The field date_close is only computed when writing the state done. In v8, the phonecalls are always created in state done if the user is not in the group crm.group_scheduled_calls (displays menus to schedule calls.
As the field date_closed is then almost never set, change the date field by the one displayed in the form view. opw 614893
Josse Colpaert [Tue, 30 Sep 2014 09:06:50 +0000 (11:06 +0200)]
Merge pull request #2771 from odoo-dev/8.0-wmsstaging11-jco
8.0 wmsstaging11 jco
Denis Ledoux [Tue, 30 Sep 2014 08:40:42 +0000 (10:40 +0200)]
[FIX] purchase: do not reset price_unit on qty or uom change
only when the product is actually changed
Josse Colpaert [Mon, 29 Sep 2014 15:48:38 +0000 (17:48 +0200)]
[IMP] UoM corrections + Adapt tables in stock doc
[IMP] Float_compare before splitting moves in mrp
Josse Colpaert [Mon, 29 Sep 2014 09:13:44 +0000 (11:13 +0200)]
[IMP] Better demo data + property comment + recheck
[IMP] Recheck should be type object and procure_method read only when not in draft
[FIX] Inversion of moves in the correct way and assigning production_id
As the moves are split the other way, the original move needs to be done. Also the production_id for linking the
new to be produced moves and the production order must be written on those.
[IMP] Clean
Simon Lejeune [Fri, 26 Sep 2014 14:12:02 +0000 (16:12 +0200)]
[FIX] mrp: solve bom structures views
A previous refactoring brought a bom_line_ids field on the mrp.bom, thus
deprecating the _child_compute method. But the previous refactoring did
not go through all the views, breaking everything that relied on the
_child_compute (tree view, report). As the bom_line_ids refers to the
mrp.bom.line model (introduced by this previous refactoring, note:
_child_compute returned mrp.bom record) and that we can't make a treeview
showing different model, this patch introduce a function field _get_child_bom_lines
on the mrp.line model, allowing to go through the bom_line_ids of a mrp.bom.line
if this mrp.bom.line refers to a mrp.bom.
[IMP] Rename bom_line_ids to child_line_ids in mrp_bom_line to avoid confusion
Josse Colpaert [Fri, 26 Sep 2014 08:40:55 +0000 (10:40 +0200)]
[IMP] Update module descriptions of procurement and product_extended + _bom_find and properties
Module description of procurement was deprecated (talking about mrp, ...) and in product_extended
it described things not implemented in the module.
In _bom_find, we passed a UoM which was not used in Saas-4 and it would not be logical that you
need to select a BoM that matches the UoM, so I removed it.
In the demo data, there was still a push rule which triggered a move from output to pack. The copy=False
is correct for production_id when you would have these push rules.
For the properties: we want to allow to take a bom which has no properties, but only when there is no other
BoM matching the properties we pass.
Update module descriptions
[IMP] production_id copy + no round
[IMP] _bom_find without uom, property correction
Josse Colpaert [Mon, 22 Sep 2014 20:17:15 +0000 (22:17 +0200)]
[IMP] Change documentation + new action_consume/qty/origin corrections
Simplify the action_consume of the consumption lines after the corrections
by Kevin Wang. Also the UoMs are revised as the action_consume uses the default UoM
of the product.
We have to avoid circular boms where a child bom should not contain the product that
represents the parent bom, but it is possible for example to use another product of the parent bom in
the child bom.
As the consume line move has no procurement rule, its origin will have no description. So, when there is
none it will also check the description of the previous move (when passed to procurement for example) This way
the chained moves or purchase order for example will have the MO-number as origin and not nothing.
[IMP] Change assignation
[IMP] UoM changes continuation
[IMP] Make sure we can use 2 times the same product in a BoM
[IMP] Source document for consume lines to procurement
Alexandre Fayolle [Mon, 22 Sep 2014 12:20:45 +0000 (14:20 +0200)]
use warehouse._get_mto_route to get the MTO route
instead of using a custom lookup with a different implementation
closes #2608
pass context as a named argument
kevin wang [Mon, 22 Sep 2014 07:27:52 +0000 (15:27 +0800)]
[FIX]keep primary move when split consume raw materials
Josse Colpaert [Mon, 22 Sep 2014 15:42:59 +0000 (17:42 +0200)]
[IMP] UoM in mrp + rereserve of partial
xmo-odoo [Tue, 30 Sep 2014 08:30:39 +0000 (10:30 +0200)]
Merge pull request #2789 from erwin-bas-solutions/translation-timesheet-alert
[Fix] hr_timesheet: Make alert translatable
Erwin van der Ploeg [Tue, 30 Sep 2014 07:49:17 +0000 (09:49 +0200)]
[Fix] hr_timesheet: When changing the date in timesheet activities gives alert, but alert is not translatable.
Thibault Delavallée [Mon, 29 Sep 2014 11:15:35 +0000 (13:15 +0200)]
[FIX] event: added missing description on event.event model, leading to event model having Email Thread has description due to inheritance.
Olivier Dony [Mon, 29 Sep 2014 17:39:02 +0000 (19:39 +0200)]
[MERGE] Forward-port of 7.0 up to 9b1a9c9
Olivier Dony [Mon, 29 Sep 2014 15:56:03 +0000 (17:56 +0200)]
[FIX] tools: remove useless attributes
Denis Ledoux [Mon, 29 Sep 2014 15:55:50 +0000 (17:55 +0200)]
[FIX] account: default product taxes on product.template
As product.template is now most commonly used than product.product
Fabien Meghazi [Mon, 29 Sep 2014 15:40:51 +0000 (17:40 +0200)]
[FIX] Non printable character 0x07h in website's german .po (Fixes #2688)
Olivier Dony [Mon, 29 Sep 2014 15:39:01 +0000 (17:39 +0200)]
[FIX] tools: remove useless attributes
Jérome Maes [Mon, 29 Sep 2014 14:12:01 +0000 (16:12 +0200)]
[FIX] bus, im_chat : set bus and im_chat in auto install to set im_odoo_support in auto install too.
xmo-odoo [Mon, 29 Sep 2014 13:24:22 +0000 (15:24 +0200)]
Merge pull request #2620 from savoirfairelinux/8.0-http-unicode
Fix two possible UnicodeDecodeError when an exception occurs
Sandy Carter [Mon, 22 Sep 2014 16:21:09 +0000 (12:21 -0400)]
Fix two possible AsciiErrors when an exception occurs
Signed-off-by: Sandy Carter <sandy.carter@savoirfairelinux.com>
Denis Ledoux [Mon, 29 Sep 2014 13:03:13 +0000 (15:03 +0200)]
[FIX] website_mail: t-field replace by t-esc as html_sanitize applied on the field
Denis Ledoux [Mon, 29 Sep 2014 12:57:36 +0000 (14:57 +0200)]
[FIX] website_mail: sanitize email templates when displaying templates selection
In cases the templates is not html syntax valid
xmo-odoo [Mon, 29 Sep 2014 11:40:10 +0000 (13:40 +0200)]
[FIX] doc readme: the list of versions uses commas
it's not space-separated
xmo-odoo [Mon, 29 Sep 2014 11:37:55 +0000 (13:37 +0200)]
Merge pull request #2766 from Nick-OpusVL/patch-1
Fix spelling error of Human Resources
Nick-OpusVL [Mon, 29 Sep 2014 11:20:30 +0000 (12:20 +0100)]
Fix spelling error of Human Resources
Simon Lejeune [Mon, 29 Sep 2014 09:54:30 +0000 (11:54 +0200)]
[FIX] package: last fedora epel repo
Thibault Delavallée [Wed, 3 Sep 2014 11:21:23 +0000 (13:21 +0200)]
[IMP] website_sale: confirm quotation only when the payment is done, not directly when hitting 'pay now'.
Denis Ledoux [Mon, 29 Sep 2014 08:48:25 +0000 (10:48 +0200)]
[FIX] purchase: payment_term_id twice in the view
+ replace widget selection by options no_open no_create
Olivier Dony [Mon, 29 Sep 2014 08:18:11 +0000 (10:18 +0200)]
[FIX] website: restore compatibility with RC1 templates for commit
77c41cc5cb64a951789d251b445f05e42cf1b997
Denis Ledoux [Fri, 26 Sep 2014 20:23:46 +0000 (22:23 +0200)]
Denis Ledoux [Fri, 26 Sep 2014 19:58:06 +0000 (21:58 +0200)]
[MERGE] forward port of branch saas-3 up to 39bb45a
Denis Ledoux [Fri, 26 Sep 2014 19:32:40 +0000 (21:32 +0200)]
[MERGE] forward port of branch 7.0 up to 333852e
Denis Ledoux [Fri, 26 Sep 2014 19:21:06 +0000 (21:21 +0200)]
Revert "[FIX] product,float_utils: perform ceiling via float_round with new rounding_method UP"
This reverts commit
d4972ffdb6b9356a524eef1dbc11f455ff4473f2.
Seems to break some cases, at least in _product_reserve from stock/stock.py
Actual use case:
SELECT product_uom, sum(product_qty) AS product_qty FROM stock_move WHERE location_dest_id=%s AND location_id<>%s AND product_id=3645 AND state='done' GROUP BY product_uom;
returning 1 | 6
SELECT product_uom,-sum(product_qty) AS product_qty FROM stock_move WHERE location_id=%s AND location_dest_id<>%s AND product_id=%s AND state in ('done', 'assigned') GROUP BY product_uom;
returning 1 | -6
results += cr.dictfetchall()
total = 0.0
results2 = 0.0
for r in results:
amount = uom_obj._compute_qty(cr, uid, r['product_uom'], r['product_qty'], context.get('uom', False))
results2 += amount
total += amount
Total = 1, amount = -5
It should actually be
Total = 0, amount = -6
Martin Trigaux [Fri, 26 Sep 2014 14:55:41 +0000 (16:55 +0200)]
[IMP] account: use float_compare for taxes
Avoiding some python float representation errors
Christophe Matthieu [Thu, 25 Sep 2014 13:32:25 +0000 (15:32 +0200)]
[FIX] website: 'Display Editor Bar on Website' group stopped working at commit
a2ef044c477
The Edit button never appeared anymore for these users.
The idea was that they should see an edit button with
limited editing capabilities depending on their other
access rights.
For example, someone with only Sales Manager access and
'Display Editor Bar on Website'
would be able to edit online quotes from the website_quote
module, but not change the actual website pages or menus,
for instance.
Olivier Dony [Fri, 26 Sep 2014 13:09:29 +0000 (15:09 +0200)]
[FIX] website_sale: avoid subscribing the website user (Public) to all shop orders
Especially as this user does not have a valid email, which
could prevent notifications to reach other followers.
Denis Ledoux [Fri, 26 Sep 2014 14:06:22 +0000 (16:06 +0200)]
[MERGE] forward port of branch 7.0 up to cac6a26
Denis Ledoux [Fri, 26 Sep 2014 14:05:16 +0000 (16:05 +0200)]
[FIX] project_mrp: task description duplicated + product name translation
Olivier Dony [Fri, 26 Sep 2014 11:03:43 +0000 (13:03 +0200)]
[FIX] website_sale: auto-confirm free orders upon cart validation
Orders are normally confirmed when the payment transaction
is processed, but there is no transaction for free orders.
This caused them to stay in draft until manually cancelled.
Jérome Maes [Fri, 26 Sep 2014 12:27:12 +0000 (14:27 +0200)]
[FIX] im_odoo_support : fix event triggered to bind event on dropdown usermenu item.
Christophe Simonis [Fri, 26 Sep 2014 11:54:37 +0000 (13:54 +0200)]
[FIX] base: correct non-copy of `login_date` + adapt tests
Christophe Simonis [Fri, 26 Sep 2014 10:53:59 +0000 (12:53 +0200)]
[MERGE] forward port of branch saas-3 up to fe8106f
Christophe Simonis [Fri, 26 Sep 2014 10:33:17 +0000 (12:33 +0200)]
[MERGE] forward port of branch 7.0 up to af37b30
Jérome Maes [Fri, 26 Sep 2014 09:43:12 +0000 (11:43 +0200)]
[ADD] im_odoo_support : add the module for the live odoo support from all instances. This sets the bus and im_chat module auto installable.
Jérome Maes [Thu, 25 Sep 2014 14:30:50 +0000 (16:30 +0200)]
[FIX] im_chat, im_livechat : fix the loading history for anonymous user and remove useless search_user_status rpc call.
Géry Debongnie [Fri, 26 Sep 2014 09:38:06 +0000 (11:38 +0200)]
[FIX] fix context problem in graph view
The group_by query expects the context to have group_by_no_leaf = true,
so we can not just blindly forward the context to the groupby query.
This is a defensive way to fix the problem, to avoid other possible
crashes. But the context shouldn't have group_by_no_leaf anyway,
it does not make sense to explicitely do that in the action
Denis Ledoux [Fri, 26 Sep 2014 08:17:50 +0000 (10:17 +0200)]
[FIX] cron: doall false by default
As in most cases, we do not want this doall
Fekete Mihai [Fri, 26 Sep 2014 06:54:31 +0000 (09:54 +0300)]
Modify General Ledger report to be printed on landscape if set in wizard.
Denis Ledoux [Thu, 25 Sep 2014 15:00:34 +0000 (17:00 +0200)]
[FIX] res_users: do not copy login_date when duplicating users
Simon Lejeune [Thu, 25 Sep 2014 14:58:53 +0000 (16:58 +0200)]
[FIX] payment: transaction formview display issue
Using group without defining the col attribute will let the form
renderer choose the right display to avoid screwing up the layout
Ronak Baxi [Wed, 3 Sep 2014 11:31:15 +0000 (17:01 +0530)]
[FIX] Error when installing module document
Denis Ledoux [Thu, 25 Sep 2014 14:24:59 +0000 (16:24 +0200)]
[FIX] website_sale: free carts were not confirmed
Raphael Collet [Thu, 25 Sep 2014 12:57:53 +0000 (14:57 +0200)]
[FIX] account_voucher: use resolve_2many_commands() instead of buggy-hand-written function
Raphael Collet [Thu, 25 Sep 2014 12:30:22 +0000 (14:30 +0200)]
[FIX] account_voucher: do not unlink records in onchange method
The method recompute_voucher_lines() is used by several onchange methods of
account.voucher. It used to unlink() the voucher lines before recomputing new
voucher lines. As a side effect, if you edit a voucher and discard your
changes, your voucher has lost its lines, although you did not save your
changes! Moreover, the call to unlink() is invalidating the record cache,
which screws up completely the onchange() method.
So, instead of unlinking the existing lines, the onchange generates commands
[(2, id), ...] to remove the existing lines only when saving the changes.
Denis Ledoux [Thu, 25 Sep 2014 13:10:37 +0000 (15:10 +0200)]
[MERGE] forward port of branch 7.0 up to 5f6d324
Martin Trigaux [Thu, 25 Sep 2014 13:07:07 +0000 (15:07 +0200)]
[FIX] payment_ogone: last commit
Wolfgang Taferner [Sat, 20 Sep 2014 17:18:42 +0000 (19:18 +0200)]
[FIX] paymnet_ogon: add missing SHA OUT keys
The SHA OUT list was incomplete and therefore SHASIGN was not matching anymore
List of keys from https://viveum.v-psp.com/Ncol/Viveum_e-Com-BAS_EN.pdf
Simon Lejeune [Thu, 25 Sep 2014 11:40:45 +0000 (13:40 +0200)]
[FIX] crm: merge the phonecalls during an opportunities merge
Christophe Simonis [Thu, 25 Sep 2014 09:51:15 +0000 (11:51 +0200)]
[FIX] portal_sale: force empty context
The context was removed by
1933e926.
Jamin Shah [Wed, 24 Sep 2014 07:06:42 +0000 (12:36 +0530)]
[IMP] website_sale : avoid duplicated order lines
Add line id to while calling _cart_update() from sale_get_order()
The missing line_id parametre was making the _cart_find_product_line() call to fail as it was linked to an option while searching for lines without options (making the method recreate new lines).
Fixes #2573
Ajay Patel [Fri, 5 Sep 2014 09:47:58 +0000 (15:17 +0530)]
[FIX] website: prevent t-field on selection fields
This quick fix avoids a buggy behaviour in version 8.0 that could
confuse users.
A future version should implement properly selection fields in t-field.
(closes #2490)
(cherry picked from commit
fe3cac30e4c5c132da1de02576d4aa325979ccd9)
Raphael Collet [Wed, 24 Sep 2014 13:41:09 +0000 (15:41 +0200)]
[IMP] models: when checking for data in a table, do not use column 'id'
Replace the query "SELECT min(id) FROM xxx" by "SELECT 1 FROM xxx LIMIT 1".
Both requests are as efficient, and the second one does not crash if column
'id' is missing.
Raphael Collet [Wed, 24 Sep 2014 09:12:44 +0000 (11:12 +0200)]
[FIX] fields: a function field with fnct_search should be searchable
Cedric Snauwaert [Wed, 24 Sep 2014 13:38:14 +0000 (15:38 +0200)]
[FIX] css: overflow-x: auto should be on modal-body
Simon Lejeune [Wed, 24 Sep 2014 15:33:00 +0000 (17:33 +0200)]
[FIX] Report: attachment_use need attachment
Martin Trigaux [Wed, 24 Sep 2014 15:19:22 +0000 (17:19 +0200)]
[IMP] crm: remove TODO posted by past me
Cedric Snauwaert [Wed, 24 Sep 2014 14:09:28 +0000 (16:09 +0200)]
[FIX] product: _compute_qty: first round before ceiling, to avoid pathological cases
Fixes problem when we try to sell 12 units of a product and change it to 1 dozen,
the algorithm was then trying to recompute the original amount and was getting
12,0000048 as a result which was then passed to the ceiling method, getting 13.0!
See also previous commit and issue #1125, PR #1126