Commit Graph
99161 Commits
Author SHA1 Message Date
Jeremy Kersten 8e905d318a [IMP] website_sale: uniformize wizard_checkout 2015-06-10 21:46:04 +02:00
Jeremy Kersten a2b7678f10 [IMP] website_sale: add popup resume cart
Add popover to display a resume of the cart at hover of menu 'My Cart'
2015-06-10 21:46:04 +02:00
Jeremy Kersten 48a0263397 [IMP] res_country: add one2many for states and phone prefix 2015-06-10 21:46:04 +02:00
Jeremy Kersten 3315aeef1f [IMP] website_sale: typo in order state message.
Not clear for the end user... Now we can distinct the payment error
(not in done,cancel,pending) from the payment which need a manual
activation.
2015-06-10 21:46:03 +02:00
Jeremy Kersten 5dcfa83e1b [IMP] website_sale: display attributes according current products
If you filter the list of products with category, we don't display all the attributes,
but only the list of attributes impacted by the current sub-select of products.
2015-06-10 21:46:03 +02:00
Jeremy Kersten 62844ec9be [IMP] website_sale: switch column price and quantity in front end 2015-06-10 21:46:03 +02:00
Paul Catinean e5602afb6d [IMP] website_sale: Delaying json call to cart_update
Don't call update_cart at each click, but wait until 500 ms before that json
call is trigerred.

If poeple click 3 times quickly on the plus, that will avoid to sent three
requests with set_qty 1, set_qty 2, set_qty 3, but only one with set_qty 3.

Based on / fix #6102
2015-06-10 20:48:51 +02:00
Jeremy Kersten 5a5dd1e100 [IMP] website_sale: add publish button in view list 2015-06-10 20:48:50 +02:00
Jeremy Kersten 8bac2adcee [FIX] base: ir_ui_view don't call clear cache in dev mode since decorator is conditionnal
If we are in dev mode, _read_template has no cache, so impossible to clear the cache.
Some code call directly the _read_template, it's why the condition is duplicated (fe4df440a0)
2015-06-10 20:48:50 +02:00
Jeremy Kersten 4a7fed2745 [IMP] website_sale_delivery: only display delivery cost in cart if already set 2015-06-10 20:48:50 +02:00
Aaron Bohy 58a13eb3f1 [FIX] Web: add forgotten semicolon
Shame on me...
2015-06-10 15:56:48 +02:00
qdp-odoo 1243937e10 [FIX] account: usability small improvement in invoice form view 2015-06-10 15:49:13 +02:00
Aaron Bohy a7ecb9d6ca [FIX] web, web_diagram: load correct view on direct access/refresh
!! THIS SHOULD NOT BE FORWARDPORTED TO MASTER !!

When loading an action with a specific url (e.g. when refreshing the
browser), the view displayed before refreshing should be loaded
directly (except for form views, for which we need the default
view to be loaded first to keep the breadcrumbs intact).

Before this rev, it automatically first loaded the default
view for the model (i.e. the first view in the views' list), and
then switched to the previously displayed view. This sometimes
produced an error when using a filter needing a field not available
in the default view (e.g. Reporting > Project > Issues Analysis,
switch to the second view 'Graph', and then refresh -> Error).

This revision introduces a new key in the View widget: multi_record.
This key distinguishes views that aim to display several records
(e.g. List, Kanban ...) and those that display a single record (i.e.
Form and Diagram). We use this key to decide whether or not the
view stored in the url should be directly loaded (yes for
multi-record, no otherwise).
2015-06-10 15:34:41 +02:00
Aaron Bohy a5f0198f9c Revert "[FIX] web: default loaded view on direct access/refresh"
This reverts commit 291eb111b3.

By putting into the flags object the default_view stored into the
context (i.e. the one written in the url), it happens that a View
Manager tries to open a view which is not available. For instance,
Sales > Sales Teams. Then refresh the page. As we are in a Kanban
view, the view_type = Kanban is stored in the context. Then click
on Quotations in a Kanban card. It doesn't work because the
ViewManager tries to open the Kanban View of the Quotations which
doesn't exist.
2015-06-10 15:27:59 +02:00
qdp-odoo b92bb1b156 [IMP] account: modifying the short name of a journal now updates accordingly its sequence(s), if it doesn't contain any journal items (otherwise it raises an error) 2015-06-10 15:11:19 +02:00
Jamin Shah cec4e34146 [IMP] sale_crm, website_sale : onboarding improvements
sale_crm : prevent the creation of SO from lead form view (avoid bypassing process)
website_quote : "View Quotation" on SO form view should not be a state button, so it is now replaced by a link near the field
2015-06-10 14:46:57 +02:00
Géry Debongnie d4a8ab4691 [FIX] web: datetime widget didn't detect all changes
The datetime widget use the "keypress" event to detect if it has been
changed.  Unfortunately, some keys, such as backspace, do not fire a
keypress event.  This commit listen instead on the 'change' event, which
should fire when the input has changed.
2015-06-10 14:00:57 +02:00
Olivier Dony 4703b8df9c [MERGE] From odoo/odoo#master - no-op because patches were applied on both sides
Just establishes a common ancestor for all descendants on both sides
2015-06-10 13:04:42 +02:00
qdp-odoo 0ce3853c8c [FIX] account: taxes on refunds were not computed 2015-06-10 11:23:51 +02:00
qdp-odoo 779859b466 [FIX] base, res_currency_data: corrected position on Danish, Swedish and Norvegian currencies 2015-06-10 11:06:53 +02:00
Nicolas Martinelli 7360a30b27 [FIX] crm: create logged calls from tree view registers mobile phone
When a logged call is created from the tree view, the mobile phone of the
partner is not filled in automatically, while it is in the form view.

opw-640549
2015-06-10 09:27:25 +02:00
Frédéric van der Essen cd2c4a78a2 [FIX] pos_restaurant: fix traceback when trashing a table just after creation. (was referencing not-yet-existing table on the server) 2015-06-09 16:46:24 +02:00
bpa-odoo 9918c3ab34 [FIX] account_voucher: fixed a typo in a tree view
leading to a crash.
2015-06-09 16:21:39 +02:00
Binjal Desai fb87501a55 [FIX] mrp: remove leaf about type as this field has been
removed, when selecting a general account field in work center.
2015-06-09 16:16:37 +02:00
Jamin Shah 1ca9cf9bea [IMP] hr: move sales and administration departments
from demo to data. Indeed when installing the HR module people
expects some basic data for their daily management: sales
and administration are basic departments used in every
company.
2015-06-09 16:10:59 +02:00
Martin Trigaux 87d48b0859 [FIX] web: do not crash when select wrong db
When a user tries to log into a postgresql database with no view web.login (this
happens if the database is not an odoo database or using a previous version of
odoo), the rendering failed, producing a 500 error (with no detail for the user)
Instead, redirect to the database selector with an informative message.
Fixes #3443

The database selector page is a jinja template with no access to database
required so should be able to be displayed on any database.

Future improvement could verify the version of base module for even more precise
verification before login (but need to make sure it's always accurate).
2015-06-09 15:05:57 +02:00
Arthur Maniet fa74065a93 [FIX] account: give default name 'Draft Payment' to payments since they only get a definitive name when posted() 2015-06-09 13:47:53 +02:00
Arthur Maniet 1d12f7b902 [FIX] account: improper call to an old-api method 2015-06-09 13:47:53 +02:00
Frédéric van der Essen 2f862549d0 [FIX] point_of_sale: correctly parse amount value at payment screen 2015-06-09 13:44:27 +02:00
sha-odoo 3fa69ca1d9 [FIX] website_forum: add the option 'Edit' in the
user's dropdown.
2015-06-09 13:08:33 +02:00
Thibault Delavallée b865005fca Revert "[IMP] HR Usability cleaning"
This reverts commit 79c338dcb352be3d40118f998a76e1b7576a35da.
This commit has been done hastily without review. Moreover it
mixes changes related to different stuff.

The commit is then reverted to allow a propre review and cleaning
of the branch.
2015-06-09 12:52:03 +02:00
Jamin Shah 3675317594 [FIX] crm_partner_assign: use a valid 2many command
when creating assignation_line.
2015-06-09 12:47:24 +02:00
Yannick Tivisse 4997c18a8e [IMP] HR Usability cleaning 2015-06-09 12:52:03 +02:00
Gaurav Panchal 2c8a79fde9 [FIX] hr_timesheet, account_analytic_analysis: fixed references to model
hr.analytic.timesheet. In commit 14183ba2be this model
has been removed, and the module is now using account.analytic.line directly.
2015-06-09 12:19:07 +02:00
Thibault Delavallée c7d4620226 [FIX] mail: followers widget: clean a bit the hasty fix before
the OdooExp introduced at 935e3cd27a77d82ab5fbccbd36a669a84fc54d61.
2015-06-09 12:19:07 +02:00
Thibault Delavallée c56c5cf1e2 [CLEAN] mail: removed duplicated code 2015-06-09 12:19:07 +02:00
Goffin Simon 4d7671a4c3 [IMP] website_sale: Skip overload with requests
Until the request to get the unit price is not finished, no request is sent to the server.

issue #4298
2015-06-09 12:06:18 +02:00
Jean-Baptiste Quenot 78420d1cf2 [CLA] sign for Jean-Baptiste Quenot 2015-06-09 11:44:45 +02:00
Jaysinh Shukla 72b48a4111 [FIX] survey: Fixing documentation link in demo data of survey page. 2015-06-09 11:14:24 +02:00
Jeremy Kersten 31301bb31a [FIX] website_sale: reset sale order from session if status is no more in draft
When a sale order has in state != draft, we raise a error message since commit
f6c65a3d9e.

But if we don't reset the sale order id from the session, the user cannot
continue to navigate on website because the user will have the error each time.
2015-06-09 11:13:20 +02:00
Josse Colpaert 49973b161a [FIX] stock: In optimization for the grouping of product routes, correct the calculation of the product dict 2015-06-09 10:15:36 +02:00
Raphael Collet 4a5e2fe99e Merge pull request #5618 from acsone/8.0-fix-5616-ir_model_fields-from-fields
[FIX] model: use self._fields instead of self._columns to populate ir.model.fields
2015-06-09 09:51:49 +02:00
Goffin Simon fb57514cf0 [FIX]account_anglo_saxon: price unit of a move
The price unit of a move must be computed with the product_uom of
this move.

opw:640454
2015-06-09 09:30:54 +02:00
Yannick Tivisse e6a3672f9e [IMP] Menuitem refactoring, may the 4th be with you
Modification summary:
KNOWLEDGE
get rid of the module Knwoledge, keep Document Management for docusign, which will be name eSign when merged
SALE/CRM
–  Phone Calls becomes Calls, remove scheduled calls menuitem
–  Merge Sales/CRM menuitem into Sales/Sales
–  Page Views into scoring page views
–  Configuration : Attribute, Attribute value in technical features
LEAD AUTOMATION
– Group Campaign and segment
– Report : Move Follow-up into it
WAREHOUSE
– Move traceability menuitems into inventory control
PROJECT
– Service, move it to Configuration, get rid of Products menu
– Invoicing : remove it, there are stat buttons, and contracts are managed in sales.
Timesheet :
– Timesheet profit, rename into Profits.
2015-06-09 09:14:37 +02:00
Nicolas Martinelli 4a281754db [FIX] purchase: add transition invoice_end to cancel in the workflow
If the state of the PO is 'approved', there is no transition foreseen in
order to cancel the PO.

The user might be blocked in the following situation:
- Create a purchase order with invoicing set as Based on incoming shipment
- Validate the purchase order, create the shipment
- Then, cancel it (the shipment)
- Return back in the purchase order, the PO should be in shipping exception
- Hit the "manually corrected"
- Then, try to cancel the PO: nothing happens.

opw-641014
2015-06-09 08:20:10 +02:00
Nicolas Martinelli e470385d55 [FIX] account_voucher: select the right credit/debit account for the payment
If different debit/credit accounts are configured for a journal, the
appropriate account must be selected.

opw-640745
2015-06-09 08:13:16 +02:00
Christophe Simonis 2dd558fb0e [FIX] account: correct tests
da92283 was an attempt to fix tests due to screwed-up conflict
resolution during forward-port at 8b5a1f1.
This has been fixed with b173e8e. Now, time to test correctly.
2015-06-08 18:35:05 +02:00
Leonardo Pistone a3e4a1f39f [FIX] stock: propagate owner when generating extra move 2015-06-08 18:23:31 +02:00
Guewen Baconnier c315377d00 [IMP] purchase: Ignore canceled purchase lines
Canceled lines must be excluded from most of the operations done on a purchases orders.
The check has been done in some places but some of the loops on the order lines do not do it.
This commit correct them.
2015-06-08 18:19:38 +02:00
Guewen Baconnier 96b53126a2 [IMP] purchase: Purchase report uses the state of lines instead of purchases
So canceled lines of not-canceled orders are correctly represented in the
analysis.
2015-06-08 18:19:20 +02:00