Martin Trigaux [Tue, 16 Sep 2014 13:27:56 +0000 (15:27 +0200)]
[FIX] payment: access rights limitation
Do not allow everybody to access account.transactions.
Restrict by default to readonly and even restrict the access with a record rule, give access to salesman.
Raphael Collet [Tue, 16 Sep 2014 12:34:56 +0000 (14:34 +0200)]
[FIX] models: make field inheritance work when source field is defined in old api
ssh-odoo [Fri, 5 Sep 2014 04:53:58 +0000 (10:23 +0530)]
[REM] report: remove openerp/report/pyPdf
Distributing our version of pyPdf is not required anymore since we
introduced the new reporting tool.
In order to keep reports working, the standard python library
`python-pypdf` has to be installed instead (through pip or your
distribution's package manager)
sle-odoo [Tue, 16 Sep 2014 13:05:34 +0000 (15:05 +0200)]
Update README.md
Martin Trigaux [Tue, 16 Sep 2014 12:30:16 +0000 (14:30 +0200)]
[FIX] portal_sale: security rules matching the one of public user
The portal users had no access to the attributes objects (while the public user does) and was not allowed to render the shop page.
Fixes #1961
Fabien Meghazi [Tue, 16 Sep 2014 09:27:06 +0000 (11:27 +0200)]
[FIX] request.website browse record bad context
Arthur Maniet [Tue, 16 Sep 2014 11:36:36 +0000 (13:36 +0200)]
[FIX] account: account_invoice's onchange_partner_id uses the first partner bank account if several are defined. Merge of #2280
Arthur Maniet [Tue, 16 Sep 2014 10:46:26 +0000 (12:46 +0200)]
[IMP] account: bank statement reconciliation: better animations
Denis Ledoux [Tue, 16 Sep 2014 10:28:32 +0000 (12:28 +0200)]
[FIX] fields: convert_to_read, handle missing many2one foreign keys
Arthur Maniet [Tue, 16 Sep 2014 10:23:13 +0000 (12:23 +0200)]
[IMP] account: bank statement reconciliation: for a partially reconciled move line, display total and residual amount
Simon Lejeune [Tue, 16 Sep 2014 10:10:32 +0000 (12:10 +0200)]
[FIX] packaging: windows: passlib dependency was not correctly set
Mohammed Shekha [Mon, 14 Jul 2014 12:29:22 +0000 (17:59 +0530)]
[FIX] web: traceback in search view when no field
Jeremy Kersten [Tue, 16 Sep 2014 09:29:14 +0000 (11:29 +0200)]
[FIX] website_hr_recruitement: Don't use GeoIp if all countries is selected
Arthur Maniet [Tue, 16 Sep 2014 09:01:06 +0000 (11:01 +0200)]
[IMP] account: bank statement reconciliation widget: display partner name found in statement import in change partner field ; do not set the partner to false before changing the partner
Raphael Collet [Tue, 16 Sep 2014 08:56:43 +0000 (10:56 +0200)]
Merge branch 'acsone-8.0-onchange-one2many-test': add test for onchange on one2many field
Géry Debongnie [Tue, 16 Sep 2014 08:11:47 +0000 (10:11 +0200)]
[FIX] display problem in graph view in some cases
Recently, the graph view was changed to prevent changing groupbys
for active custom filters. Unfortunately, I did not take into account
the fact that pivot table can be drawn in part when expanding rows.
The "frozen" parameter was then undefined and caused display problems,
this patch should fix the issue.
Raphael Collet [Mon, 15 Sep 2014 15:30:41 +0000 (17:30 +0200)]
[FIX] models: improve implementation of _compute_display_name()
The method was expecting that name_get() returns complete and in-order values.
Because of this, some records in the recordset could end up without a value.
Christophe Simonis [Mon, 15 Sep 2014 16:53:22 +0000 (18:53 +0200)]
[IMP] mail,website: improve update_notification
Denis Ledoux [Tue, 13 May 2014 08:15:01 +0000 (10:15 +0200)]
[FIX] sale: backport of rev
709e22c32aca
[FIX] sale: sale report view, wrong domain
Quotations are sale.order with state draft and sent
Sale orders are sale.order with state other than draft, sent and cancel
Jeremy Kersten [Mon, 15 Sep 2014 13:50:16 +0000 (15:50 +0200)]
[FIX] website_hr_recruitement: typo
Raphael Collet [Mon, 15 Sep 2014 12:41:39 +0000 (14:41 +0200)]
[FIX] fields: in *2many.convert_to_cache, fix the effect of command "1"
Jeremy Kersten [Mon, 15 Sep 2014 13:27:48 +0000 (15:27 +0200)]
[FIX] website_hr_recruitment: add param to force all countries else it use GeoIP, check that country returned by GeoIP have jobs availables else fallback on all countries
Martin Trigaux [Mon, 15 Sep 2014 13:24:43 +0000 (15:24 +0200)]
[FIX] orm: do not drop foreign keys of transient models
During the update of a module, the existing foreign keys are dropped if they have a different ondelete_rule than the one specified on the field.
The foreign keys for many2one transiant -> non-transiant are created with cascade rule by default (see `m2o_add_foreign_key_checked` method) so the check needs to be realised in the same conditions.
Denis Ledoux [Mon, 15 Sep 2014 13:24:49 +0000 (15:24 +0200)]
[MERGE] forward port of branch saas-5 up to 9699f62
Denis Ledoux [Mon, 15 Sep 2014 13:24:19 +0000 (15:24 +0200)]
[MERGE] forward port of branch saas-3 up to 685fa26
Denis Ledoux [Mon, 15 Sep 2014 13:22:04 +0000 (15:22 +0200)]
[FIX] web: do not check if db in session match filter if no db
Samus CTO [Thu, 4 Sep 2014 07:30:43 +0000 (09:30 +0200)]
[IMP] api: compute methods cannot depend on field 'id'
This feature hasn't been implemented because of complexity problems.
Therefore, we should not allow the developer to use it.
Denis Ledoux [Mon, 15 Sep 2014 12:25:02 +0000 (14:25 +0200)]
[MERGE] forward port of branch saas-5 up to 163d7f5
Denis Ledoux [Mon, 15 Sep 2014 12:23:58 +0000 (14:23 +0200)]
[MERGE] forward port of branch saas-3 up to b5b7dcc
Christophe Simonis [Mon, 15 Sep 2014 11:52:44 +0000 (13:52 +0200)]
[MERGE] forward port of branch saas-5 up to 7eab880
Christophe Matthieu [Mon, 15 Sep 2014 11:24:24 +0000 (13:24 +0200)]
Merge pull request #2348 from odoo-dev/8.0-fix-website_sale-breadcrumb-chm
[FIX] website_sale: The product breadcrumbs in shop not working.
Martin Trigaux [Mon, 15 Sep 2014 10:54:40 +0000 (12:54 +0200)]
Forward port of 7.0 up to revision 42680c9
Well actually it's an empty forward port to avoid forward porting last 7.0 commit in saas...
Denis Ledoux [Mon, 7 Apr 2014 08:24:45 +0000 (10:24 +0200)]
[FIX] web: backport of ebb826a and 2372d30
Fixing breadcrumb not being displayed after some action button (e.g. validate invoice, opw 612763)
Denis Ledoux [Mon, 15 Sep 2014 10:25:32 +0000 (12:25 +0200)]
[FIX] account: missing context assignation in self
Christophe Simonis [Mon, 15 Sep 2014 10:09:35 +0000 (12:09 +0200)]
[FIX] orm: correct read_group() on models with `_group_by_full` (introduced by previous forward-port)
also add tests of `_group_by_full` functionality
Denis Ledoux [Mon, 15 Sep 2014 09:58:10 +0000 (11:58 +0200)]
[MERGE] forward port of branch 7.0 up to b601015
Fabien Meghazi [Tue, 15 Jul 2014 13:26:18 +0000 (15:26 +0200)]
[IMP] Improve stock's barcode start page
remove module_boot() usage
Denis Ledoux [Mon, 15 Sep 2014 09:55:53 +0000 (11:55 +0200)]
[FIX] tools: restrict available attributes
Géry Debongnie [Tue, 9 Sep 2014 10:26:16 +0000 (12:26 +0200)]
[FIX] web: fixes issues with custom filters and search view
The problem was that when the user manipulates the graph view (in pivot
table mode), the graph view resetted the group by facet in the search
view. It was not a problem unless a custom filter with a groupby was
already there, in which case, the group bys were duplicated.
The search view is now smarter, it only resets the additional groupbys
(and col_groupbys). Also, to prevent usability problems, the graph
view disable the '+/-' groupbys added by a custom filters.
Note that this fix is only temporary: a revamp of custom filters, facets,
search view is coming in the next months. (at least, that's the idea). Right
now, too much 'search logic' is in the graph view.
Another note: this fix is somewhat fragile: it makes some assumptions
about the search query (mainly that the custom filter is the first facet,
also, that no other filters add groupbys/col_groupbys)
Christophe Simonis [Sat, 13 Sep 2014 15:00:51 +0000 (17:00 +0200)]
[FIX] website_event_sale: remove invalid code chunk introduced during previous forward-port (
56f2b7ae0f6)
Christophe Simonis [Fri, 12 Sep 2014 16:53:48 +0000 (18:53 +0200)]
[MERGE] forward port of branch saas-3 up to fdc6271
Daniel Reis [Wed, 13 Aug 2014 08:57:53 +0000 (09:57 +0100)]
[IMP] modules: add support for loading module description from README.{md,rst,txt}
Showcase the feature by moving auth_ldap's description to README.rst
(Manual rebase of PR #1759)
Olivier Dony [Fri, 12 Sep 2014 15:51:56 +0000 (17:51 +0200)]
[IMP] ir.model:.fields allow setting ondelete=restrict foncustom fields
Christophe Simonis [Fri, 12 Sep 2014 15:28:55 +0000 (17:28 +0200)]
[MERGE] forward port of branch 7.0 up to 9b1cdea
Denis Ledoux [Fri, 12 Sep 2014 14:25:48 +0000 (16:25 +0200)]
[FIX] mrp_repair: invoice the actual invoice partner id
Fekete Mihai [Fri, 12 Sep 2014 14:04:22 +0000 (16:04 +0200)]
[FIX] l10n_ro: backport of fix done in res_partner.py from aa76885
PR #720
Jeremy Kersten [Fri, 12 Sep 2014 13:58:59 +0000 (15:58 +0200)]
[IMP] website_crm: keep the new id from the created lead to allow another function which override this one to get the new lead.
Arthur Maniet [Fri, 12 Sep 2014 10:01:25 +0000 (12:01 +0200)]
[FIX]: account: reconciliation: handling negative amount_residual
Arthur Maniet [Fri, 12 Sep 2014 13:28:50 +0000 (15:28 +0200)]
[FIX] account: bank statement reconciliation widget: display only one line for a partial reconciliation
Josse Colpaert [Fri, 12 Sep 2014 12:24:29 +0000 (14:24 +0200)]
Merge pull request #2292 from odoo-dev/8.0-wmsstaging8-jco
8.0 wmsstaging8 jco
Josse Colpaert [Thu, 11 Sep 2014 14:02:44 +0000 (16:02 +0200)]
[IMP] Solve landed costs bug + invoice_state in account_anglo_saxon.yml
Josse Colpaert [Wed, 10 Sep 2014 17:11:21 +0000 (19:11 +0200)]
[FIX] Bom qty
Josse Colpaert [Tue, 9 Sep 2014 17:06:26 +0000 (19:06 +0200)]
[IMP] Implement comments on pull request
Josse Colpaert [Mon, 8 Sep 2014 16:00:50 +0000 (18:00 +0200)]
[WIP] Improve views for qty available + forecast qty in product and product template tree views
Josse Colpaert [Mon, 8 Sep 2014 13:20:01 +0000 (15:20 +0200)]
[IMP] Invoice_state on move and search custom picking type
Josse Colpaert [Fri, 5 Sep 2014 12:50:41 +0000 (14:50 +0200)]
[IMP] Put wkf_action_cancel back, so the method does not call itself recursively (issue 2079)
Josse Colpaert [Fri, 5 Sep 2014 10:16:09 +0000 (12:16 +0200)]
[FIX] When purchase, do not overwrite price
Josse Colpaert [Thu, 4 Sep 2014 15:54:44 +0000 (17:54 +0200)]
[IMP] Patch for boms that explode in boms to have the correct quantities courtesy of chm
Josse Colpaert [Thu, 4 Sep 2014 12:54:39 +0000 (14:54 +0200)]
[WIP] Pricelist of purchase is not in stock only and remove product_manufacturer module in view + manufacturer
Josse Colpaert [Wed, 3 Sep 2014 17:15:10 +0000 (19:15 +0200)]
[IMP] Inter-company pricing: put price on move when only partner and not connected to sale or purchase + invoice_state inverse function
Josse Colpaert [Wed, 3 Sep 2014 13:24:49 +0000 (15:24 +0200)]
[IMP] Make sure property_ids on sale order line are visible and able to work
Josse Colpaert [Mon, 1 Sep 2014 13:39:32 +0000 (15:39 +0200)]
[IMP] Old hack where uom_id had to be empty in on_change
[IMP] Add purchase order origin on picking
[WIP] Picking type on move for location on routing
[IMP] Provide extra function for custom buttons on picking
[IMP] Action assign optim
[IMP] Push apply should take invoice_state into account. Propagation of cancel of stock moves should depend on procurement rule
Simon Lejeune [Fri, 12 Sep 2014 10:29:29 +0000 (12:29 +0200)]
[FIX] report: /report/download route should not be website enabled
There's a little magic inside the website enabled route modifying the
context's lang, thus breaking the logic to print the report in the
current user's lang. The direct route to display the report should
stay in website_enabled mode, as it allows to switch lang, use the
website translator and so on.
Denis Ledoux [Fri, 12 Sep 2014 07:57:56 +0000 (09:57 +0200)]
[FIX]stock_account: missing default value for Inventory Valuation
Denis Ledoux [Thu, 11 Sep 2014 15:54:58 +0000 (17:54 +0200)]
[FIX] product: can be sold as default filter for templates
fka-odoo [Wed, 2 Jul 2014 08:38:41 +0000 (14:08 +0530)]
[FIX] web: sort with undefined value
In this awesome programming language called javascript, undefined is neither bigger nor smaller than a string. Previous code was then considering undefined values equal to any string.
This fix allows to sort in a column of a o2m field and group the undefined values together. opw 607704
Denis Ledoux [Thu, 11 Sep 2014 15:20:27 +0000 (17:20 +0200)]
[FIX] stock: return picking, pass serial number value when returning
Arthur Maniet [Thu, 11 Sep 2014 15:02:47 +0000 (17:02 +0200)]
[FIX] account: reconciliation: allow to reconcile when no_partner
Dharti Ratani [Thu, 11 Sep 2014 15:01:03 +0000 (17:01 +0200)]
[FIX] survey: access rights error when editing
The wizard 'Edit Survey' > 'Add Question' was trowing an access rights error as the id was passed as a string instead of a real id. opw 607854
Denis Ledoux [Thu, 11 Sep 2014 15:00:45 +0000 (17:00 +0200)]
[FIX] web_graph: pivot_table, use _.isEmpty to check if value_lookup is False
Arthur Maniet [Thu, 11 Sep 2014 14:34:05 +0000 (16:34 +0200)]
[FIX] account: bank statement reconciliation widget: refactor fix : is_single_statement -> single_statement
Denis Ledoux [Thu, 11 Sep 2014 13:47:48 +0000 (15:47 +0200)]
[FIX] website: customize menu, only a with data-view-id should actually call do_customize
Simon Lejeune [Thu, 11 Sep 2014 12:08:03 +0000 (14:08 +0200)]
[FIX] website_forum: moved editor-related js files into the editor asset
Denis Ledoux [Thu, 11 Sep 2014 11:57:28 +0000 (13:57 +0200)]
[FIX] website: do not bind do_customize to menu without data-action
Olivier Dony [Thu, 11 Sep 2014 11:54:16 +0000 (13:54 +0200)]
[FIX] report_webkit: re-enable test, disabled during new API developement
Requires an extra use_global_header to be added on
the report record, to mimic the super.create()
behavior, as super.create() is not called.
Martin Trigaux [Wed, 10 Sep 2014 16:06:38 +0000 (18:06 +0200)]
[FIX] hr_expense: tax amount computation
The tax_amount field should contain the basic amount (without tax) for base tax code. (opw 613470)
Martin Trigaux [Thu, 11 Sep 2014 09:25:36 +0000 (11:25 +0200)]
[FIX] stock: multicompany warehouse creation
When creating a new warehouse, the linked locations should have the same company as the warehouse.
The company_id field is required on warehouse (not necessary in vals as could be added by default values) while it is not for stock.location (meaning global location, also filled with default value).
Christophe Simonis [Thu, 11 Sep 2014 11:18:22 +0000 (13:18 +0200)]
[IMP] website_blog: more generic xpath expression when inheriting view. ease migration.
Ronak Baxi [Wed, 27 Aug 2014 09:55:20 +0000 (15:25 +0530)]
[FIX] web: scroll should move top on clicking menu on top bar
Backported from
97d99d1974c965506ed9005d4854fcc5ffee0590
Arthur Maniet [Thu, 11 Sep 2014 11:08:59 +0000 (13:08 +0200)]
[IMP] account: bank statement reconciliation widget: better animations
Arthur Maniet [Thu, 11 Sep 2014 10:46:56 +0000 (12:46 +0200)]
[IMP] account: bank statement reconciliation widget: it is now possible, when reconciliation is done, to close all the statements reconciled and to go back to statements list view
Raphael Collet [Thu, 11 Sep 2014 08:31:10 +0000 (10:31 +0200)]
[FIX] fields: in computed fields, handle AccessError and MissingError
When computing a field on a recordset, a subset of the records may be missing
or forbidden by access rules. In that case, evaluate the compute method record
by record, and mark failed records as such in cache.
Simon Lejeune [Thu, 11 Sep 2014 08:55:59 +0000 (10:55 +0200)]
[FIX] website_forum: header template: double display of questions
The <t t-raw='0'/> is already defined lower in the view (line 101)
Simon Lejeune [Wed, 10 Sep 2014 12:59:00 +0000 (14:59 +0200)]
[FIX] web: about odoo: correct bootstrap structure inside the modal
Bootstrap's container class has a fixed width, using it in a modal
with the previous commit allowing an horizontal scrollbar makes the
layout goes crazy. Use container-fluid instead and cleaned some css.
Simon Lejeune [Wed, 10 Sep 2014 10:20:16 +0000 (12:20 +0200)]
[FIX] web: modals: overflow-x on modal-body to prevent large content to be displayed outside
Raphael Collet [Wed, 10 Sep 2014 12:55:28 +0000 (14:55 +0200)]
[FIX] models: in onchange(), do not send a field value if it has not changed
The method onchange() executes onchange methods in cascade. Suppose onchange()
is called and a field F=1 in the form. If an onchange method set F=2, that
value is put in the result variable. If another onchange method set it back to
F=1, the binding F=2 must be removed from the result variable.
Fixes #2309
Denis Ledoux [Thu, 11 Sep 2014 07:58:38 +0000 (09:58 +0200)]
[FIX] web: *.openerp.com to *.odoo.com
Martin Trigaux [Thu, 11 Sep 2014 07:32:59 +0000 (09:32 +0200)]
[IMP] point_of_sale: field company_id on pos.config view
Move invisible field on bottom to avoid blank space in view if display journal, group or sequence field
Arthur Maniet [Thu, 11 Sep 2014 07:27:10 +0000 (09:27 +0200)]
[FIX] account: bank statement reconciliation widget: correctly refresh partial reconciliation sign
Jeremy Kersten [Wed, 10 Sep 2014 17:50:22 +0000 (19:50 +0200)]
Jeremy Kersten [Wed, 10 Sep 2014 16:20:54 +0000 (18:20 +0200)]
[FIX] website_blog: change group restriction to load the JS editor
Jeremy Kersten [Wed, 10 Sep 2014 16:10:25 +0000 (18:10 +0200)]
[FIX] website_blog: wait that document is ready before to check if we need to update menu for blog
Martin Trigaux [Wed, 10 Sep 2014 15:35:44 +0000 (17:35 +0200)]
[FIX] mail: encoding of sender name with unicode
When sending an email, both formats 'Name <email>' or '"Name" <email>' can be used for fields 'From', 'To' and others. If the name contains unicode characters, a regex only matching '"Name" <email>' was used to encode the name with RFC2047. That meant that the name was not encoded and eventually dropped, using only the email part.
Instead of using a limited regex, use the parseaddr method from email library.
Fixes lp:1272610, opw 607683
Denis Ledoux [Wed, 10 Sep 2014 15:25:56 +0000 (17:25 +0200)]
[FIX] mail: alias domain should be fetch as superuser
as ir.config.parameter has limited access
Jeremy Kersten [Wed, 10 Sep 2014 15:23:19 +0000 (17:23 +0200)]
[FIX] website_event_track: force type from related to fix bug with convert_to_cache on picture
Arthur Maniet [Wed, 10 Sep 2014 15:17:35 +0000 (17:17 +0200)]
[FIX] account: bank statement reconciliation widget: cleaning (ID has nothing to do in the tooltip showing more infos about a move line)
Arthur Maniet [Wed, 10 Sep 2014 15:07:07 +0000 (17:07 +0200)]
[FIX] account: reconciliation: taking into account that amount_residual can (very infrequently) be < 0
Olivier Dony [Wed, 10 Sep 2014 15:01:38 +0000 (17:01 +0200)]
[FIX] mrp: force default values for dropped fields
Those values were dropped at rev 9b34358 but
need to be forced to empty so older databases
get fixed when upgrading
Arthur Maniet [Wed, 10 Sep 2014 14:58:31 +0000 (16:58 +0200)]
[FIX] account: reconciliation widget: when updating matches (move lines), exclude those which are reconciled with a selected move line as well
Olivier Dony [Wed, 10 Sep 2014 14:35:03 +0000 (16:35 +0200)]
[FIX] sale: force default values for dropped fields
Those values were dropped at rev 3b636a5 but
need to be forced back to default so older
databases get properly updated when upgrading.