Commit Graph
98589 Commits
Author SHA1 Message Date
Fabien Pinckaers e49d0cd74d [IMP] Typo 2015-09-26 11:34:18 -07:00
Fabien Pinckaers adbfed5bbb [IMP] typo 2015-09-26 08:26:23 -07:00
qsm-odoo 5209bb255d [FIX] mrp: remove useless layout-breaking group
* Adding a new group in a group of fields is breaking enterprise layout
* Moreover the group was useless: useless colspan, unique field with
colspan>>>col in it, double access-right, ...
2015-09-25 18:10:55 +02:00
qsm-odoo 4e20e44303 [FIX] web_calendar: calendar height
Calendar height was again a problem since the introduction of the
bootstrap layout (the .row had not height 100% and thus the calendar
was not able to compute its height anymore).
2015-09-25 18:10:55 +02:00
qdp-odoo 9091c5efc0 [FIX] account: 'invoiced' button on partner now opens the tree view of customer invoices instead of the vendor one 2015-09-25 17:40:33 +02:00
Tanguy Charlier 93e9a4dce7 [IMP] res_partner : optimize name_get 2015-09-25 17:11:49 +02:00
qdp-odoo c078f71646 [FIX] account: allow supplier bills and refunds to share the same reference 2015-09-25 17:01:49 +02:00
Thibault Delavallée dec333d8a4 [FIX] hr_equipment: rename from it assets to equipments
This is a partial revert of 132dcc9786. Indeed the
hr_equipment module can be used to track any kind of equipment, not only
IT assets.
2015-09-25 16:30:12 +02:00
Thibault Delavallée a4869fce23 [FIX] hr_equipment: form view
Category is a classic m2o, not a statusbar. Moreover fixed category_id being twice
in the form, leading to one of them being impossible to use.
2015-09-25 16:28:38 +02:00
Christophe Matthieu 1acd86a45d [FIX] website_blog: display cover and cover options 2015-09-25 16:06:21 +02:00
Christophe Matthieu 4ba0232bf8 [FIX] web_editor: apply o_dirty class on change
Before: if a user blur a editable area without editing, the editor is removed and all bind are remove.
The 'content_changed' bind are removed and the 'o_dirty' class is never apply.
2015-09-25 16:06:21 +02:00
Christophe Matthieu 743f26a796 [FIX] web_editor: display editable area placeholder 2015-09-25 16:06:21 +02:00
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