Commit Graph

73573 Commits

Author SHA1 Message Date
Frederic van der Essen a70b286144 [IMP] point_of_sale: add a basic UI unit test based on the new 'Tour' module 2014-08-05 14:07:41 +02:00
Frederic van der Essen ad0f710fe7 [IMP] point_of_sale: add a debug option to delete all unsent orders 2014-08-05 14:07:23 +02:00
Frederic van der Essen 584a78a82b [IMP] point_of_sale: add debug popup that displays unsent order data, for when localStorage is hard to inspect
Conflicts:
	addons/point_of_sale/static/src/js/widgets.js
2014-08-05 14:07:14 +02:00
Frederic van der Essen 85d697670c [IMP] point_of_sale: show traceback popup when there is a server error when posting orders (which should NEVER happen !) 2014-08-05 14:04:50 +02:00
Frederic van der Essen 8e212eb6fb [FIX] point_of_sale: it was impossible to delete a pos session 2014-08-05 14:04:38 +02:00
Frederic van der Essen 4f0d454217 [FIX] point_of_sale: order invoicing was broken 2014-08-05 14:04:17 +02:00
Frederic van der Essen ac47f95bad [IMP] point_of_sale: improved rendering speed of the partner list 2014-08-05 14:03:59 +02:00
Frederic van der Essen 75a6bcaee4 [IMP] point_of_sale: a little explaination of how the barcode pattern system works 2014-08-05 14:03:38 +02:00
Frederic van der Essen 2c3fa1c48b [IMP] point_of_sale: add an error sound to the error popups 2014-08-05 14:03:21 +02:00
Cedric Snauwaert 81415b526b [FIX] web: tooltip container set to body in all case
Mandatory since we changed the structure of the dom since 8.0.
2014-08-05 13:57:49 +02:00
qdp-odoo 973770f7cb Merge pull request #1581 from odoo-dev/8.0-fix-account-invoice-rco
[FIX] account: fix unexpected invalidation of field account_invoice.reconciled
2014-08-05 11:48:49 +02:00
Florian Hatat c4f5caa511 [FIX] mrp: Fix spelling error on 'manufacturing'
Changing .po files to avoid to retranslate existing terms.
Fixes #1328
2014-08-05 11:11:49 +02:00
Jay Patel f274572c30 [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. 2014-08-05 10:05:49 +02:00
Raphael Collet c0997d332a [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.
2014-08-05 10:01:07 +02:00
Jitendra Prajapati 240e042363 [FIX] sale_stock: invoice createde from picking was not using the prive list from the bom components 2014-08-05 09:49:42 +02:00
Mahendra barad dc72b26821 [FIX] website_blog: fixed mobile css for the blog footer 2014-08-05 09:49:42 +02:00
Martin Trigaux dbca34511e [FIX] account: method should return browse records, not set 2014-08-05 09:30:14 +02:00
Denis Ledoux 52eadd5199 [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
2014-08-04 21:08:18 +02:00
Christophe Simonis e29a7b7b4c [FIX] account: correct v8 version of map_tax() method of account.fiscal.postion 2014-08-04 19:41:43 +02:00
Denis Ledoux 0c48520a8d [FIX] stock, sale_stock: product.packaging, product_id renamed to product_tmpl_id
Some domains have not been altered according to this rename
2014-08-04 18:12:29 +02:00
Denis Ledoux 1bb219907f [MERGE] forward port of branch saas-5 up to 655a5b9 2014-08-04 16:56:10 +02:00
Martin Trigaux 4d8337fec8 [FIX] mrp: better selection of bom
When searching for a bom based on a product.product, the method used to return any bom linked to the template (so searching for bom for variant A could return bom for variant B if both share the same product.template).
This will allow to return bom not linked to a variant without returning the one of another variant (opw 609358)
2014-08-04 16:28:18 +02:00
Denis Ledoux 655a5b948d [MERGE] forward port of branch saas-4 up to 8c0c743 2014-08-04 16:14:31 +02:00
Denis Ledoux 8c0c74300f [MERGE] forward port of branch saas-3 up to ebf317a 2014-08-04 16:14:05 +02:00
Denis Ledoux ebf317a3b0 [MERGE] forward port of branch 7.0 up to e07bc5d 2014-08-04 16:10:06 +02:00
sle-odoo 5af8868c46 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
2014-08-04 16:09:40 +02:00
Christophe Simonis 7b3e28dc74 [FIX] web: redirect "My Odoo.com Account" link to accounts.odoo.com 2014-08-04 16:00:33 +02:00
Raphael Collet 2154cc9344 [FIX] purchase: fix test merge_order (check on date_order was not correct) 2014-08-04 15:50:14 +02:00
Simon Lejeune e56635c3f1 [REF] website_quote: displayed string of validity_date field changed from 'Validity Date' to 'Expiry Date' 2014-08-04 15:49:16 +02:00
dhr-odoo 4b5015469d [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
2014-08-04 15:32:28 +02:00
Thibault Delavallée 7f0353974d [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'). 2014-08-04 14:46:47 +02:00
Simon Lejeune 834dfc00eb [FIX] sale/website_quote: inherit the sale order report to show the validity date 2014-08-04 14:45:38 +02:00
Christophe Matthieu 8d53c357ba Merge pull request #1428 from odoo-dev/sass-5-fixes-chm
[FIX] website_sale and point_of_sale fixes
2014-08-04 14:43:54 +02:00
Martin Trigaux 4152e99bbd [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).
2014-08-04 14:43:28 +02:00
Martin Trigaux 6231427f0a [FIX] procurement: missing variable
scheduler_cron_id was not initialised so the scheduler always crashed (with just info message)
2014-08-04 14:43:28 +02:00
Jeremy Kersten 19a6e879f0 [FIX] website: encode param for seo search, else multi words will not work. 2014-08-04 14:41:55 +02:00
Jeremy Kersten 28e62e46b5 [FIX] website: use internal route for SEO suggest keyword, old server is down 2014-08-04 12:25:59 +02:00
cod-odoo fca77ad8c5 [FIX] gamification: prevent traceback in goals history
Closes #1536
2014-08-04 11:37:26 +02:00
rba-odoo b5fd6fccb8 [FIX] im_char: correct display over kanban view 2014-08-04 11:28:19 +02:00
Denis Ledoux 657e6fafe5 [FIX] payment*: add the customer state to payment (paypal) transactions 2014-08-04 11:05:01 +02:00
Denis Ledoux 98e9981d59 [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.
2014-08-04 10:25:59 +02:00
Olivier Dony d706adba11 [MERGE] Forward-port saas-5 up to 37ba23d 2014-08-04 01:44:30 +02:00
Olivier Dony 6f0498beec [MERGE] Forward-port saas-3 up to b6acdc4 2014-08-04 01:38:07 +02:00
Olivier Dony b6acdc4a74 [MERGE] Forward-port 7.0 up to 2493395 2014-08-04 01:36:31 +02:00
Olivier Dony 2493395962 [FIX] product_visible_discount: no crash when no pricelist passed or product without company
Fixes an error introduced in f6fb2b6
2014-08-04 01:31:44 +02:00
Olivier Dony 37ba23d553 [FIX] product_visible_discount: no crash when no pricelist passed or product without company
Fixes an error introduced in f6fb2b6
2014-08-02 04:01:13 +02:00
Olivier Dony b7814943c3 [MERGE] Forward-port saas-3 up to 7273474 2014-08-01 23:14:59 +02:00
Olivier Dony 7273474d65 [MERGE] Forward-port saas-3 up to fc92027 2014-08-01 23:10:29 +02:00
Olivier Dony fc92027979 [FIX] website: OpenERP->Odoo in website footer 2014-08-01 23:04:42 +02:00
Olivier Dony 5a0a500994 [MERGE] Forward-port 7.0 up to 9411a2da 2014-08-01 23:01:57 +02:00
Christophe Simonis b4cbef4333 [FIX] account: res.partner: limit access to "total_invoiced" field to group "group_account_invoice". Use SUPERUSER_ID to access data 2014-08-01 17:29:20 +02:00
Christophe Matthieu ce7212d5d7 [FIX] website_sale: everytime you want to change both billing & delivery address, any change creates duplicates in the backend 2014-08-01 17:11:20 +02:00
Thibault Delavallée dec73a43da [FIX] calendar: onchange_dates: protect against void dates (for example when creating a meeting through the form view) 2014-08-01 15:50:34 +02:00
Martin Trigaux f6fb2b69df [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
2014-08-01 15:48:24 +02:00
Julien Legros b20636e0b2 [FIX] website: update url in the footer 2014-08-01 15:33:58 +02:00
Olivier Dony dcac4cc0df [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.
2014-08-01 15:08:33 +02:00
Cedric Snauwaert 12a9e3797d [FIX] web: multiple opened modal need fixing since bootstrap lib update 2014-08-01 14:53:48 +02:00
Denis Ledoux 0023955074 [FIX] website_sale: confirm sale order on payment_confirmation
Same behavior than in saas-5
2014-08-01 14:48:16 +02:00
Olivier Dony 494ecc620f [MERGE] Foward-port saas-5 up to ee4df1e 2014-08-01 14:24:07 +02:00
Denis Ledoux b68da05833 [FIX] mass_mailing: possibility to subscribe again to a mailing list
It was not possible to subscribe again to a mailing list once unsubscribed
2014-08-01 14:20:55 +02:00
Thibault Delavallée e8eabf7708 [FIX] mail: bad display of join button on mail groups. 2014-08-01 13:29:55 +02:00
Olivier Dony ee4df1e397 [MERGE] Forward-port saas-4 up to 8b15482 2014-08-01 13:06:49 +02:00
Olivier Dony 8b15482e00 [MERGE] Forward-port saas-3 up to e79a367 2014-08-01 12:54:30 +02:00
Christophe Matthieu 9bf1203c33 [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 2014-08-01 11:54:39 +02:00
Cedric Snauwaert 29cdfc62a7 [FIX] web: remove unneeded overflow-y on modal-body class
Will fix problem where opened dropdown list were hidden behind the modal footer
2014-08-01 11:52:34 +02:00
Jeremy Kersten cc9205d1d1 [FIX] mass_mailing: allow to add a user/email to a specific mailing list and not always the last as previously. 2014-08-01 11:25:41 +02:00
Thibault Delavallée ced0da960e [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.
2014-08-01 10:11:36 +02:00
Denis Ledoux a9bce700dc [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
2014-08-01 10:05:56 +02:00
Anaël Closson f247bdd0b6 [FIX] mail: message-id not parsed properly in message_route
Same as for rev 4bad513, the references were not correctly parsed, added missing regex
2014-08-01 08:55:27 +02:00
Denis Ledoux 2d17c18c7d [FIX] crm: base_partner_merge, search with lowercase for name,email
and without spaces for vat
2014-07-31 19:38:00 +02:00
Denis Ledoux 4eba90561f [MERGE] forward port of branch 7.0 up to 7c5bf67a5f 2014-07-31 18:17:48 +02:00
Denis Ledoux 7c5bf67a5f [FIX] account: unit arg of on_change_unit_amount can be False 2014-07-31 18:15:41 +02:00
Denis Ledoux 4705802a6f [MERGE] forward port of branch 7.0 up to cd31cbf556 2014-07-31 18:06:57 +02:00
Denis Ledoux cd31cbf556 [FIX] account: on_change_unit_amount do not reset uom to default 2014-07-31 18:05:17 +02:00
Cedric Snauwaert 5ddc0305cd [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
2014-07-31 17:33:27 +02:00
Christophe Matthieu 7efe3bb2d8 [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 2014-07-31 17:21:26 +02:00
Christophe Simonis f643660f16 [FIX] web: css tweaks 2014-07-31 16:06:05 +02:00
Denis Ledoux 6a26837d24 [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
2014-07-31 15:33:41 +02:00
Christophe Matthieu 87a20d1cc3 [FIX] website_sale: can't click on confirm order in mobile view 2014-07-31 15:22:51 +02:00
Jeremy Kersten 9390767376 [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 2014-07-31 14:43:42 +02:00
Denis Ledoux 07f355caee [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
2014-07-31 14:28:45 +02:00
Denis Ledoux 60d038c350 [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.
2014-07-31 14:16:52 +02:00
Raphael Collet 130643890d [FIX] base_action_rule: define patched methods inside a function to fix their closure. 2014-07-31 12:43:41 +02:00
Christophe Simonis 1e6b7a5f78 [MERGE] forward port of branch saas-5 up to c86f217 2014-07-31 11:22:29 +02:00
Martin Trigaux c86f217f7e [FIX] stock: production lot as no longer a company_id field 2014-07-31 09:21:45 +02:00
Christophe Simonis fd4fd35e32 [MERGE] forward port of branch saas-5 up to e4cb520 2014-07-30 20:52:14 +02:00
Christophe Simonis e4cb5202a0 [MERGE] forward port of branch saas-4 up to fa07bc8 2014-07-30 20:30:14 +02:00
Christophe Simonis fa07bc8532 [MERGE] forward port of branch saas-3 up to 310d3fe 2014-07-30 19:09:33 +02:00
Christophe Simonis 310d3fe4c4 [MERGE] forward port of branch 7.0 up to 39f3e40 2014-07-30 18:55:31 +02:00
Guewen Baconnier 39f3e40329 [FIX] sale: copy_quotation must propagate the context 2014-07-30 16:47:51 +02:00
dhr-odoo 0b947b26e1 Passed default type while creating document page category from document page 2014-07-30 16:21:07 +02:00
Martin Trigaux faa0df809f [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
2014-07-30 16:12:22 +02:00
Ravi Gohil 8f0392b490 [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
2014-07-30 15:56:19 +02:00
Denis Ledoux 873dc0370d [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.
2014-07-30 15:26:43 +02:00
Olivier Dony 6c4cf84ce8 [IMP] sale, crm: remove remaining interval filters, continuing 366a30d 2014-07-30 15:13:38 +02:00
Géry Debongnie 08d957c264 [FIX] addon web: prefix css dropdown-submenu
to prevent possible future conflicts
2014-07-30 15:11:22 +02:00
Géry Debongnie 366a30db95 [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
2014-07-30 15:11:22 +02:00
Géry Debongnie 6f563d6284 [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.
2014-07-30 15:11:22 +02:00
Géry Debongnie afb19c59ee [IMP] improve graph view layout and groupbys
* add a 'total' foldable button to allow the user to control the column
in pivot table view
* in the dropdown menu, add all fields from the model instead of only
those from the search view groupbys
2014-07-30 15:11:21 +02:00
Christophe Simonis c6f91facbb [FIX] website: do not restore page views 2014-07-30 15:10:22 +02:00