Commit Graph
98577 Commits
Author SHA1 Message Date
Christophe Matthieu 7ffd1954e4 [FIX] im_livechat: display live chat button in one line 2015-09-25 16:06:21 +02:00
Christophe Matthieu b9d9e44582 [FIX] web_editor: use parser from dateutil for datatime qweb field value 2015-09-25 16:06:21 +02:00
Jérome Maes 8ffca19680 [FIX] web : attachment controller got unexpected args
On webclient, on 'Attachment(s)' dropdown (form view) when clicking on an attachment to download it, a request is sent to /web/content/ with a param 't' containing the current date. This param wasn't used neither before the new controller, but the old one accept additional kwargs. The new controller crashes, and since the t parameter is not used, removing it seems better.
2015-09-25 16:05:44 +02:00
Jérome Maes 3c97dbf1e1 [FIX] website_blog : use website_mail mechanism to post message
Using website_mail mecanism will prevent to transform POST params into GET params when redirecting. This will reasure xmo ;)
2015-09-25 16:04:27 +02:00
Jérome Maes 6bba311d8c [FIX] website_mail : force login to post comment
Transform POST param into GET param when redirecting to login page can cause security issues. Now, instead of displaying textarea (even if public user) and the redirect to login page keeping written comment, we display the login button with a redirection to the page to comment.
The redirection happen before commenting, avoiding to remenber param such comment text, rating, ...

To post a comment, the user must:
- be connected
- have a token
- or have a sha_sign
2015-09-25 16:03:49 +02:00
Jérome Maes c436c56148 Revert "[FIX] website_mail, website_sale : redirect to login page to post comment"
This reverts commit 7974bf5441.
2015-09-25 16:03:40 +02:00
Thibault Delavallée 26f6a0c3f9 [FIX] hr_recruitment: domain for documents on jobs 2015-09-25 15:05:17 +02:00
Josse Colpaert 50477f4019 [FIX] stock: lots (re)reserving should handle quantities correctly and better handling of reserved quants without lot
When moving pack operation with lots:
The system will still take the quants that are reserved with lots first.
What changed, is that, secondly, it will take reserved quants without lots.
Afterwards it can use the traditional methods to check the non-reserved quants for every lot.
2015-09-25 14:49:46 +02:00
Tanguy Charlier fe4c9bb3a9 [IMP] res_partner : name field is now optional for addresses.
The name_get has been updated accordingly : if an address has no name, we now show parent_name, res_partner.type.
The contact template shows the name when it exists, and the parent_name if it does not. This should produce cleaner reports.

Though the name field is no longer required on the res.partner model,
"required" attribute in views and an sql contraint enforce that all contacts have a name.
2015-09-25 14:06:29 +02:00
Arthur Maniet 0ead074211 [IMP] stock: report to print locations barcodes
Print 4 barcodes per page, in a disposition that is practical to print on stickers.
2015-09-25 13:36:15 +02:00
Thibault Delavallée 42d015f2b0 [IMP] mail: tracking values in mail message view 2015-09-25 13:30:07 +02:00
Thibault Delavallée aded9bf839 [FIX] event :
- dates are editable even in confirm state. Only events in done states are
  not editable.
- the print badge button is actually a button to edit badges, so let us udpate
  the name
2015-09-25 13:30:07 +02:00
Joren Van Onder 97b0723722 [ADD] pos_cache: add pos_cache ported to v9 from odoo-extra
Originally written by Nicolas Seinlet <nse@odoo.com>. Provides
pos.config with a product.product cache.

This adds a ported and refactored pos_cache from odoo-extra:

- Adapt to changes in web and point_of_sale since 8.0
- Refactor the load_server_data function, so it isn't copy pasted but
  cleanly patched into the load_server_data super.
- Make the cron inactive by default.
- Also remove retrying the write 5 times, when it fails we'll just have
  to wait until the cron triggers again (an hour from then).
- Store the product.product fields and domain on pos_cache. When cache
  is requested from the pos with a different field or domain it'll
  automatically recompute. Necessary for when someone would install a
  module that modifies these things in the pos after a cache has been
  generated.
- Have multiple caches per pos_config per user
- Make the module adhere to the Odoo Coding Guidelines.
2015-09-25 12:47:29 +02:00
Josse Colpaert 9a42baa7e2 [IMP] stock: on picking form inverse done and to do fields on operations and lots input
Also check for plus sign only to be visible when necessary,
which makes quantity unnecessary when handling serial numbers
2015-09-25 12:00:29 +02:00
Nicolas Martinelli 5eb681bd03 [FIX] website_sale_digital: properly loop on self 2015-09-25 11:34:01 +02:00
Nicolas Martinelli 9577f4e419 [REF] product: do not use selected_seller_id
The function field selected_seller_id is removed  and must be replaced
by a direct call to method `_select_seller`. This is more conventional
than the previous 'browse with context' way of doing.
2015-09-25 11:34:01 +02:00
Nicolas Martinelli b65c67a259 [IMP] product: new product_id field on supplierinfo
We introduce a new field on supplierinfo: product_id. Thanks to this
field, the vendor information which will be used in a purchase order can
be specific to the product variant.
2015-09-25 11:34:01 +02:00
Nicolas Martinelli 460be10218 [FIX] mrp: typo on domain 2015-09-25 11:29:16 +02:00
Nicolas Lempereur eed63c793a Revert "[IMP] web_editor: update summernote up to 2015-08-31"
Revert till several issues are solved.
2015-09-25 10:53:08 +02:00
Damien Bouvy 15d2778f0f [FIX] sale: sometimes an invoiced quantity could be 0, need to avoid divide by 0 error 2015-09-25 10:33:47 +02:00
Nicolas Lempereur 144b4f8098 [FIX] website: range lost in phantomjs 2015-09-25 08:30:23 +02:00
Nicolas Lempereur a3d355ada7 [WIP] web_editor: rename and delete old summernote files 2015-09-25 08:30:17 +02:00
Nicolas Lempereur 7747e0751f [IMP] web_editor: update summernote up to 2015-08-31
update summernote library up to revision:
 https://github.com/summernote/summernote/commit/a0f26e300

see https://github.com/summernote/summernote/ for history

closes #8704
2015-09-25 08:29:16 +02:00
Joren Van Onder 9798b57b12 [FIX] point_of_sale: allow opening of sessions with cash control enabled
Without cash control the pos_session workflow automatically sets session
states to 'open' (and so they skip 'opening_control'). With cash control
enabled however this does not happen.
8a232e7f45 removed a button which allowed
you to open the session. This adds back a simplified button which
appears when necessary and just sets the state to 'open'.
2015-09-24 19:59:46 +02:00
qsm-odoo 8ebdff6f76 [REF] web: datepicker widget
(backport of enterprise version)

* JS/XML refactoring
* Allow user to override default options for the picker
2015-09-24 17:05:28 +02:00
Thibault Delavallée 30e2d45ba7 [FIX] web_calendar: CompoundDomainnow in data, not instance.web anymore 2015-09-24 16:20:53 +02:00
Thibault Delavallée 486aab5098 [FIX][BACK FROM TRASH] mail: chatter: read more / read less
Read more / less feature is back (and probably ugly). It has probably been
removed when refactoring the old chatter.

[FIX] tools: html shortening: encoding issue
2015-09-24 16:20:53 +02:00
Damien Bouvy 41fce379e4 [IMP] website_sale: pricelist dropdown should not appear on every page
You usually do not need to change the pricelist when you are browsing a blog or a normal website, so this menu should only be visible in the webshop
2015-09-24 15:49:15 +02:00
Martin Geubelle 7e77aad070 [IMP] crm: wow effect when won opportunity 2015-09-24 15:14:13 +02:00
Martin Geubelle 1b3939a8b1 [IMP] web, web_planner: add wow effect on button
* As the animations were already defined in web_planner, they are now moved in web (animations.less)
2015-09-24 15:14:12 +02:00
qsm-odoo 333018640a [FIX] web: record selector state in listview editable
Before this commit, when editing a line in a listview editable, the
record selector (checkbox) lost its state after the line edition.
2015-09-24 14:40:17 +02:00
qsm-odoo cbf25a83f4 [FIX] web: invisible element position in a listview editable
Elements which are not displayed (display: none) cannot be positionned
correctly by jQueryUI in a listview editable. Therefore, the solution is
to make them visible (but opacity: 0) during the time their position is
being computed.

This was a problem because a listview editable field may become visible
under some conditions AFTER their position was already computed.
2015-09-24 14:40:17 +02:00
Christophe Matthieu 7e8fa2aac5 [FIX] web: trigger onchange only once when write re-order sequences 2015-09-24 14:13:55 +02:00
Christophe Matthieu 19dfde8558 [FIX] web: don't trigger remove then add the record to re-order list view
To re-order the list view remove the record and add the same record after.
(If an onchange is called, the user can have a message to avoid remove a one2many item)
Add an silent option on remove function of collection, the trigger is already call when write the sequence.
2015-09-24 14:13:55 +02:00
Christophe Matthieu 7a465bf7c7 [FIX] web: clone values in read_ids (avoid external changes)
Some widgets like list editable use and change values dictionary. When the write is called, the values in the cache is equal to the changes send => field no dirty => no change triggered.
2015-09-24 14:13:55 +02:00
Martin Trigaux 0a57d37b35 [FIX] website_forum: help messages
missing spaces or unclear help messages
2015-09-24 12:06:57 +02:00
Damien Bouvy 84b471cfa1 [IMP] web_editor: usability: allow saving even when nothing was changed when editing in the frontend 2015-09-24 11:50:25 +02:00
Damien Bouvy 8bc59fe58f [FIX] website_sale: multiple fixes
- fixes product ordering in shop page
- fixes "sale" ribbon that was un-removable
2015-09-24 11:50:24 +02:00
Cedric Snauwaert a0053b8aa9 [FIX] account: res_config cosmetics 2015-09-24 11:39:36 +02:00
Martin Geubelle 128ca163d2 [FIX] im_odoo_support: hide Odoo Support
As the new messaging system has been deployed, this needs to be fixed later
2015-09-24 11:25:43 +02:00
Martin Geubelle e89d528788 [IMP] web, web_planner: move 'Help' in systray
* 'Help' has now its own dropdown, directly accessible in the systray, instead of being hidden in the Administrator dropdown
* 'About' has been moved there also
* We can access the planner through this dropdown, even if the planner is hidden (complete)
2015-09-24 11:25:43 +02:00
qdp-odoo bacd60dc1d [FIX] orm, fields: read_group on monetary fields now correctly makes the sum instead of ignoring them 2015-09-24 10:33:34 +02:00
qdp-odoo 954d9de6e1 [IMP] base, usability: hide the 'View Rates' button on unactive currencies 2015-09-24 10:33:34 +02:00
qdp-odoo 492edf9824 [IMP] account: added a test on invoice validation to avoid duplicated reference on vendor bills and refunds, because it's probably a double encoding of the same document 2015-09-24 10:33:34 +02:00
Christophe Matthieu 21c88933f7 [FIX] web_editor & website: don't display edit placeholder if the node have class oe_no_empty or oe_not_editable 2015-09-24 09:36:41 +02:00
Christophe Matthieu 69810ab9dd [FIX] ir_translation: don't insert translate values if empty
Don't need to add the empty value because ir_translation generate missing values automatically.
(bug e.g.: Link with empty string can't be clicked)
2015-09-24 09:36:41 +02:00
Christophe Matthieu ed9e91c54a [FIX] website_mass_mailing: add popup template in website assets 2015-09-24 09:36:41 +02:00
Christophe Matthieu 3bf990c9b7 [FIX] website_mass_mailing: newsletter_popup edition: remove traceback on edit and fix reset value 2015-09-24 09:36:41 +02:00
Christophe Matthieu 27d1ce0454 [FIX] web_editor: transparency of modal backdrop instead of black brackground 2015-09-24 09:36:41 +02:00
Damien Bouvy aebe287152 [IMP] analytic: account type only visible in debug/technical mode since it is unused in v9 2015-09-24 08:39:41 +02:00