Wolfgang Taferner [Mon, 4 Aug 2014 14:07:25 +0000 (16:07 +0200)]
[IMP] workflow: add sequence for ordering workflow transitions (split/join mode especially for XOR)
Makes ordering transitions easier and more deterministic.
(Rebase of #1564)
qdp-odoo [Tue, 5 Aug 2014 09:48:49 +0000 (11:48 +0200)]
Merge pull request #1581 from odoo-dev/8.0-fix-account-invoice-rco
[FIX] account: fix unexpected invalidation of field account_invoice.reconciled
Florian Hatat [Mon, 4 Aug 2014 08:25:00 +0000 (10:25 +0200)]
[FIX] mrp: Fix spelling error on 'manufacturing'
Changing .po files to avoid to retranslate existing terms.
Fixes #1328
Jay Patel [Thu, 10 Jul 2014 10:14:51 +0000 (15:44 +0530)]
[FIX] website_forum: when a user posting a new answer or question does not have a valid email address, redirect to the user's profile instead of crashing when trying to send notifications.
Raphael Collet [Tue, 5 Aug 2014 08:01:07 +0000 (10:01 +0200)]
[FIX] account: fix unexpected invalidation of field account_invoice.reconciled
Problem: the field account_invoice.reconciled was invalidated by a workflow
signal sent from the compute method of the field. The purpose of the signal was
to re-open the invoice when the account move lines were no longer reconciled,
for instance after cancelling a reconciliation.
Solution: modify the workflow such that it makes an automatic transition from
'paid' to 're-open' when the condition 'not reconciled' is met. This works
because the field 'reconciled' is stored, and each recomputation forces a
reevaluation the workflow. The signal to re-open the invoice is thus no longer
necessary.
Jitendra Prajapati [Mon, 7 Jul 2014 10:04:01 +0000 (15:34 +0530)]
[FIX] sale_stock: invoice createde from picking was not using the prive list from the bom components
Mahendra barad [Mon, 4 Aug 2014 13:38:09 +0000 (19:08 +0530)]
[FIX] website_blog: fixed mobile css for the blog footer
Martin Trigaux [Tue, 5 Aug 2014 07:30:14 +0000 (09:30 +0200)]
[FIX] account: method should return browse records, not set
Denis Ledoux [Mon, 4 Aug 2014 19:08:18 +0000 (21:08 +0200)]
[FIX] website: use SUPERUSER_ID to browse company for res_company
In a multi-company environment,
if the user signed in was not working in the company displayed by the website,
he couldn't browse the website
Christophe Simonis [Mon, 4 Aug 2014 17:41:43 +0000 (19:41 +0200)]
[FIX] account: correct v8 version of map_tax() method of account.fiscal.postion
Olivier Dony [Mon, 4 Aug 2014 16:19:47 +0000 (18:19 +0200)]
[IMP] base: improved doc for `states` attribute of fields
See #1527
Denis Ledoux [Mon, 4 Aug 2014 16:12:29 +0000 (18:12 +0200)]
[FIX] stock, sale_stock: product.packaging, product_id renamed to product_tmpl_id
Some domains have not been altered according to this rename
Denis Ledoux [Mon, 4 Aug 2014 14:56:10 +0000 (16:56 +0200)]
[MERGE] forward port of branch saas-5 up to 655a5b9
Denis Ledoux [Mon, 4 Aug 2014 14:14:31 +0000 (16:14 +0200)]
[MERGE] forward port of branch saas-4 up to 8c0c743
Denis Ledoux [Mon, 4 Aug 2014 14:14:05 +0000 (16:14 +0200)]
[MERGE] forward port of branch saas-3 up to ebf317a
Denis Ledoux [Mon, 4 Aug 2014 14:10:06 +0000 (16:10 +0200)]
[MERGE] forward port of branch 7.0 up to e07bc5d
sle-odoo [Mon, 4 Aug 2014 14:09:40 +0000 (16:09 +0200)]
Merge pull request #1563 from odoo-dev/saas-4-sale-report-validity-date-sle
website_quote: renamed validity date to expiry date & adapted the sale order report to display the expiry date in website_quote module instead of sale module
Christophe Simonis [Mon, 4 Aug 2014 14:00:33 +0000 (16:00 +0200)]
[FIX] web: redirect "My Odoo.com Account" link to accounts.odoo.com
Denis Ledoux [Mon, 4 Aug 2014 13:54:56 +0000 (15:54 +0200)]
[ADD] res_partner: test case for fix rev
4a278809741d4e961ac13d3477a046d43b32cfa7
Raphael Collet [Mon, 4 Aug 2014 09:20:03 +0000 (11:20 +0200)]
[FIX] purchase: fix test merge_order (check on date_order was not correct)
Raphael Collet [Mon, 4 Aug 2014 09:12:39 +0000 (11:12 +0200)]
[FIX] models: default_get() shall not return a dict as a many2one value
When a new record is returned as the value for a many2one on a new record, the
method Many2one.convert_to_write() now returns a NewID, and default_get() then
discards that value from its result. This makes it consistent with its former
behavior.
Manual rebase of #1547
Simon Lejeune [Mon, 4 Aug 2014 13:49:16 +0000 (15:49 +0200)]
[REF] website_quote: displayed string of validity_date field changed from 'Validity Date' to 'Expiry Date'
dhr-odoo [Tue, 10 Jun 2014 08:56:08 +0000 (14:26 +0530)]
[FIX] survey: missing timezone conversions
As the survey hardcode lot's of views and reports in python, we do not beneficiate from automatic timezone conversions in the webclient.
Hopefully this is fixed in v8 after refactoring of the survey module. opw 608786
Raphael Collet [Mon, 4 Aug 2014 09:45:11 +0000 (11:45 +0200)]
[FIX] module loading: manual x2x fields can now refer to manual models
The fix consists in this: when setting up models, ignore manual fields that
refer to unknown models if all models have not been loaded yet.
Thibault Delavallée [Mon, 4 Aug 2014 11:02:42 +0000 (13:02 +0200)]
[REF] mail: same_thread field changed into no_auto_thread, its contrary, to avoid migration issues (adding a 'always False' column is easier than an 'always True').
Simon Lejeune [Mon, 4 Aug 2014 12:45:38 +0000 (14:45 +0200)]
[FIX] sale/website_quote: inherit the sale order report to show the validity date
Christophe Matthieu [Mon, 4 Aug 2014 12:43:54 +0000 (14:43 +0200)]
Merge pull request #1428 from odoo-dev/sass-5-fixes-chm
[FIX] website_sale and point_of_sale fixes
Martin Trigaux [Mon, 4 Aug 2014 09:42:40 +0000 (11:42 +0200)]
[FIX] mrp: duplicated find bom buttons
The product_id field is not required on a mrp.bom (while product_tmpl_id is). When searching for BOMs linked to a product.product, we should display the one specific to this product and the ones linked to the template (but not linked to another variant).
Martin Trigaux [Mon, 4 Aug 2014 10:14:11 +0000 (12:14 +0200)]
[FIX] procurement: missing variable
scheduler_cron_id was not initialised so the scheduler always crashed (with just info message)
Jeremy Kersten [Mon, 4 Aug 2014 12:41:55 +0000 (14:41 +0200)]
[FIX] website: encode param for seo search, else multi words will not work.
Denis Ledoux [Mon, 4 Aug 2014 12:34:08 +0000 (14:34 +0200)]
[FIX] res_partner: commercial partner sync
On child partner creation of a parent partner, the commercial_partner_id is not computed (and stored) in the create method.
Therefore, we should compute the commercial_partner_id before trying to sync his data
Jeremy Kersten [Mon, 4 Aug 2014 10:25:59 +0000 (12:25 +0200)]
[FIX] website: use internal route for SEO suggest keyword, old server is down
cod-odoo [Fri, 1 Aug 2014 04:40:03 +0000 (10:10 +0530)]
[FIX] gamification: prevent traceback in goals history
Closes #1536
rba-odoo [Wed, 30 Jul 2014 07:15:00 +0000 (12:45 +0530)]
[FIX] im_char: correct display over kanban view
Denis Ledoux [Mon, 4 Aug 2014 09:05:01 +0000 (11:05 +0200)]
[FIX] payment*: add the customer state to payment (paypal) transactions
Denis Ledoux [Mon, 4 Aug 2014 08:25:59 +0000 (10:25 +0200)]
[FIX] payment_paypal: paypal IPN, receiver_id is not always passed
The method _paypal_form_get_invalid_parameters checks that the params passed by the paypal feedback coroborate with the transaction requested by Odoo.
It looks like the 'receiver_id' is not always passed by the paypal feedback. Therefore, we check this param only if it is available in the paypal feeback.
This issue had as side-effect to not validate the paypal transaction, which remained 'draft' permanently.
Raphael Collet [Mon, 4 Aug 2014 07:49:35 +0000 (09:49 +0200)]
[IMP] openerp.api: improve documentation
Olivier Dony [Sat, 2 Aug 2014 18:42:19 +0000 (20:42 +0200)]
[MERGE] Forward-port saas-5 up to 37ba23d
Olivier Dony [Sat, 2 Aug 2014 18:35:51 +0000 (20:35 +0200)]
[MERGE] Forward-port saas-3 up to b6acdc4
Olivier Dony [Sat, 2 Aug 2014 18:34:44 +0000 (20:34 +0200)]
[MERGE] Forward-port 7.0 up to 2493395
Olivier Dony [Sun, 3 Aug 2014 18:12:45 +0000 (20:12 +0200)]
[FIX] product_visible_discount: no crash when no pricelist passed or product without company
Fixes an error introduced in f6fb2b6
Olivier Dony [Sat, 2 Aug 2014 01:32:09 +0000 (03:32 +0200)]
[FIX] product_visible_discount: no crash when no pricelist passed or product without company
Fixes an error introduced in f6fb2b6
Olivier Dony [Fri, 1 Aug 2014 21:14:59 +0000 (23:14 +0200)]
[MERGE] Forward-port saas-3 up to 7273474
Olivier Dony [Fri, 1 Aug 2014 21:10:29 +0000 (23:10 +0200)]
[MERGE] Forward-port saas-3 up to fc92027
Olivier Dony [Fri, 1 Aug 2014 21:04:42 +0000 (23:04 +0200)]
[FIX] website: OpenERP->Odoo in website footer
Olivier Dony [Fri, 1 Aug 2014 21:01:57 +0000 (23:01 +0200)]
[MERGE] Forward-port 7.0 up to
9411a2da
Olivier Dony [Fri, 1 Aug 2014 20:42:01 +0000 (22:42 +0200)]
[FIX] Model.load(): extra error checking while importing data
If any missing or partially incorrect values cause
an exception other than a psycopg2 error, we should
still catch it, rollback that record and report
the error, rather than letting bubble and fail
without any feedback to the user.
Fixes #1485
Christophe Simonis [Fri, 1 Aug 2014 15:29:20 +0000 (17:29 +0200)]
[FIX] account: res.partner: limit access to "total_invoiced" field to group "group_account_invoice". Use SUPERUSER_ID to access data
Christophe Matthieu [Fri, 1 Aug 2014 15:11:20 +0000 (17:11 +0200)]
[FIX] website_sale: everytime you want to change both billing & delivery address, any change creates duplicates in the backend
Martin Trigaux [Fri, 1 Aug 2014 15:07:56 +0000 (17:07 +0200)]
[IMP] base: show possible titles for companies (opw 608243)
Thibault Delavallée [Fri, 1 Aug 2014 11:48:33 +0000 (13:48 +0200)]
[FIX] calendar: onchange_dates: protect against void dates (for example when creating a meeting through the form view)
Martin Trigaux [Fri, 1 Aug 2014 10:43:31 +0000 (12:43 +0200)]
[FIX] product_visible_discount: multicurrency pricelists
When we compute the discount of a product to display (result of product_id_change), we compare prices in the currency of the product while we expect prices in the currency of the pricelist. opw 606188
dhr-odoo [Wed, 9 Jul 2014 07:23:36 +0000 (12:53 +0530)]
[FIX] orm: set default before removing magic fields
When a record is created, the magic fields (id, create_date,...) are first removed from the vals as the user should not set a value for these.
However if a value for this is given in default value (e.g. defined in an ir.value), the creation would crash (sql error : column specified more than once) as the magic column would be added again.
Julien Legros [Fri, 1 Aug 2014 13:33:58 +0000 (15:33 +0200)]
[FIX] website: update url in the footer
Olivier Dony [Fri, 1 Aug 2014 08:50:25 +0000 (10:50 +0200)]
[FIX] website: slug: fallback to positive ID when slug appears to contain a missing negative ID
In some rare cases database records have negative IDs,
so the slug URL could look like /foo--20. This could
be mistaken for a slug ending with a `-` and a positive ID.
The latter is not supposed to happned as final hyphens
are stripped by slugify, but has been used in the past
and may be used in old links.
Cedric Snauwaert [Fri, 1 Aug 2014 12:53:48 +0000 (14:53 +0200)]
[FIX] web: multiple opened modal need fixing since bootstrap lib update
Denis Ledoux [Fri, 1 Aug 2014 12:48:16 +0000 (14:48 +0200)]
[FIX] website_sale: confirm sale order on payment_confirmation
Same behavior than in saas-5
Olivier Dony [Fri, 1 Aug 2014 12:24:07 +0000 (14:24 +0200)]
[MERGE] Foward-port saas-5 up to ee4df1e
Denis Ledoux [Fri, 1 Aug 2014 12:20:55 +0000 (14:20 +0200)]
[FIX] mass_mailing: possibility to subscribe again to a mailing list
It was not possible to subscribe again to a mailing list once unsubscribed
Thibault Delavallée [Fri, 1 Aug 2014 11:29:55 +0000 (13:29 +0200)]
[FIX] mail: bad display of join button on mail groups.
Olivier Dony [Fri, 1 Aug 2014 11:06:49 +0000 (13:06 +0200)]
[MERGE] Forward-port saas-4 up to 8b15482
Olivier Dony [Fri, 1 Aug 2014 10:54:30 +0000 (12:54 +0200)]
[MERGE] Forward-port saas-3 up to e79a367
Olivier Dony [Fri, 1 Aug 2014 10:34:41 +0000 (12:34 +0200)]
[FIX] orm.search_count: ignore `limit`, `offset` and most importantly `order`
These parameters are (or should be) irrelevant for
a search_count(), and they could actually break the
result or make it significantly slower (e.g applying
`order` on large tables).
This fixes a performance regression introduced by
0f43032b.
We could also raise an error offset/limit are
passed in combination with count, but that seems
unnecessary.
Also switched to "SELECT count(1)" for the count
query, as it is simpler and just as fast.
We'd get the same perf with * or any constant value,
as in "SELECT count('me in')", but let's keep it
simple ;-)
Christophe Matthieu [Fri, 1 Aug 2014 09:54:39 +0000 (11:54 +0200)]
[FIX] website: the media video create by the media editor is not display in firefox. change the css to display the video and add z-index to the div for edit mode
Cedric Snauwaert [Thu, 31 Jul 2014 14:09:50 +0000 (16:09 +0200)]
[FIX] web: remove unneeded overflow-y on modal-body class
Will fix problem where opened dropdown list were hidden behind the modal footer
Jeremy Kersten [Fri, 1 Aug 2014 09:25:41 +0000 (11:25 +0200)]
[FIX] mass_mailing: allow to add a user/email to a specific mailing list and not always the last as previously.
Thibault Delavallée [Fri, 1 Aug 2014 08:11:36 +0000 (10:11 +0200)]
[FIX] event: registration and confirmation template now have a domain on event.registration.
Otherwise all templates are displayed and this will lead to some issues.
Also added a description on event.registration, because currently its
displayed name is Email Thread.
Denis Ledoux [Fri, 1 Aug 2014 08:05:56 +0000 (10:05 +0200)]
[FIX] account: avoid to propagate context in send by email button
There is no reason to propagate the context in those buttons.
Besides, it leads to issues concerning the email template, rendering the wrong res_id because the active_id was wrongly propagated
Anaël Closson [Fri, 20 Jun 2014 11:13:23 +0000 (13:13 +0200)]
[FIX] mail: message-id not parsed properly in message_route
Same as for rev 4bad513, the references were not correctly parsed, added missing regex
Denis Ledoux [Thu, 31 Jul 2014 17:38:00 +0000 (19:38 +0200)]
[FIX] crm: base_partner_merge, search with lowercase for name,email
and without spaces for vat
Denis Ledoux [Thu, 31 Jul 2014 16:17:48 +0000 (18:17 +0200)]
[MERGE] forward port of branch 7.0 up to
7c5bf67a5f9378fe4ae01eeffff24889f7bdcdc5
Denis Ledoux [Thu, 31 Jul 2014 16:15:41 +0000 (18:15 +0200)]
[FIX] account: unit arg of on_change_unit_amount can be False
Denis Ledoux [Thu, 31 Jul 2014 16:06:57 +0000 (18:06 +0200)]
[MERGE] forward port of branch 7.0 up to
cd31cbf556cc11950ce6188041cf5c2fcd89e0f8
Denis Ledoux [Thu, 31 Jul 2014 16:05:17 +0000 (18:05 +0200)]
[FIX] account: on_change_unit_amount do not reset uom to default
Cedric Snauwaert [Mon, 28 Jul 2014 15:07:47 +0000 (17:07 +0200)]
[FIX] web: fix tooltip that were stuck visible
tooltip stuck visible should be removed on click + remove tooltip container except for modal in order to prevent them for staying visible in some rare occasion
Christophe Matthieu [Thu, 31 Jul 2014 15:21:26 +0000 (17:21 +0200)]
[FIX] point_of_sale: On product form : push on button 'Set a Custom Ean' on tab information raise an exception => Use a record action and clean python files
Christophe Simonis [Thu, 31 Jul 2014 14:06:05 +0000 (16:06 +0200)]
[FIX] web: css tweaks
Denis Ledoux [Thu, 31 Jul 2014 13:33:41 +0000 (15:33 +0200)]
[ADD] crm: use company/contact name for fill partner_info in chatter
Sometimes, when you send an email in the chatter, a pop-up is displayed to fill the partner details
This case happens when the email address you send the email is not associated to an existing partner
In such cases, in lead, we use the company name and contact name to fill the partner name
Christophe Matthieu [Thu, 31 Jul 2014 13:22:51 +0000 (15:22 +0200)]
[FIX] website_sale: can't click on confirm order in mobile view
Jeremy Kersten [Thu, 31 Jul 2014 12:43:42 +0000 (14:43 +0200)]
[FIX] website_customer: check that country id exists before access the name, else traceback when we come from a non existing id via the url/controller
Denis Ledoux [Thu, 31 Jul 2014 12:28:45 +0000 (14:28 +0200)]
[FIX] account_analytic_plans: _convert_ref takes only 1 arg
Since the convert of account_invoice to the new api.
_convert_ref is defined as a staticmethod in account_invoice.py
Denis Ledoux [Thu, 31 Jul 2014 12:16:52 +0000 (14:16 +0200)]
[FIX] account: _get_analytic_lines needs the date_invoice
During the conversion of account_invoice.py to the new API, the date_invoice written on the invoice has been moved in the end of the action_move_create method.
But, the method _get_analytic_lines needs it sooner.
Raphael Collet [Thu, 31 Jul 2014 09:17:20 +0000 (11:17 +0200)]
[FIX] base_action_rule: define patched methods inside a function to fix their closure.
Christophe Simonis [Thu, 31 Jul 2014 09:22:29 +0000 (11:22 +0200)]
[MERGE] forward port of branch saas-5 up to c86f217
Martin Trigaux [Thu, 31 Jul 2014 07:21:45 +0000 (09:21 +0200)]
[FIX] stock: production lot as no longer a company_id field
Christophe Simonis [Wed, 30 Jul 2014 18:52:14 +0000 (20:52 +0200)]
[MERGE] forward port of branch saas-5 up to e4cb520
Christophe Simonis [Wed, 30 Jul 2014 18:30:14 +0000 (20:30 +0200)]
[MERGE] forward port of branch saas-4 up to fa07bc8
Christophe Simonis [Wed, 30 Jul 2014 17:09:33 +0000 (19:09 +0200)]
[MERGE] forward port of branch saas-3 up to 310d3fe
Olivier Dony [Wed, 30 Jul 2014 16:56:56 +0000 (18:56 +0200)]
[FIX] ir.actions.server: ir.values ref (`More` menu entry) should not be copied
Christophe Simonis [Wed, 30 Jul 2014 16:55:31 +0000 (18:55 +0200)]
[MERGE] forward port of branch 7.0 up to 39f3e40
Guewen Baconnier [Wed, 9 Jul 2014 09:39:58 +0000 (11:39 +0200)]
[FIX] sale: copy_quotation must propagate the context
dhr-odoo [Mon, 7 Jul 2014 12:38:12 +0000 (18:08 +0530)]
Passed default type while creating document page category from document page
Martin Trigaux [Wed, 30 Jul 2014 13:27:58 +0000 (15:27 +0200)]
[FIX] project_long_term: avoid bad duplication of phases
When we duplicate a project, the related phases need to be duplicated as well but keeping references between each other.
e.g. 'project 1' with 'phase A' follwed by 'phase B' should become 'project 1 (copy)' with 'phase A (copy)' followed by 'phase B (copy)'.
Fixing bug lp:1212860, opw 607062
Ravi Gohil [Thu, 10 Jul 2014 11:39:15 +0000 (17:09 +0530)]
[FIX] account_voucher: avoid trying unreconcile a move twice
When we cancel a voucher, we may be trying to unlink a reconciliation that was already removed on another move (just looking at the version in cache). In such cases, the unlink would fail with traceback. opw 610287
Raphael Collet [Wed, 30 Jul 2014 13:31:00 +0000 (15:31 +0200)]
[FIX] cli/server: fixes #1307, add missing Environment management blocks
Denis Ledoux [Wed, 30 Jul 2014 13:26:43 +0000 (15:26 +0200)]
[FIX] sale: config, timesheet if module account_analytic_analysis
In Settings > Sales, the onchange_timesheet ensure that if you check timesheet, it checks module_account_analytic_analysis.
Therefore, if module_account_analytic_analysis is installed, timesheet should be checked by default
Until now, it worked "luckily", because the onchange_timesheet of the field module_account_analytic_analysis was triggered before the onchange_timesheet of the timesheet field. Nevertheless, we shouldn't trust the onchange calls order.
Olivier Dony [Wed, 30 Jul 2014 13:13:38 +0000 (15:13 +0200)]
[IMP] sale, crm: remove remaining interval filters, continuing 366a30d
Géry Debongnie [Wed, 30 Jul 2014 07:42:00 +0000 (09:42 +0200)]
[FIX] addon web: prefix css dropdown-submenu
to prevent possible future conflicts
Géry Debongnie [Mon, 28 Jul 2014 08:34:30 +0000 (10:34 +0200)]
[FIX] correct various date issues in reporting
* remove old 'day', 'month', 'field' and replace them by the actual
date/datetime field
* remove weird cast to char when creating the view to prevent crash
when grouping on them
* remove duplicates (such as 'creation_date' and 'create_date')
* fix typing errors (field type date defined as a datetime in the
postgres view)
* fix search view definition
Géry Debongnie [Fri, 25 Jul 2014 13:52:38 +0000 (15:52 +0200)]
[FIX] correctly type date field in crm_lead_report
opening_date and date_closed were cast to char but are supposed to be
dates. When you try to group crm_lead_report by one of them, postgres
was not happy. Now, it properly tells postgres that they are of type
date.