Commit Graph
112902 Commits
Author SHA1 Message Date
Kinjal Mehta 0ff00a5d76 [FIX] account: make "test" reconciliation button more visible 2017-09-29 12:26:50 +02:00
qsm-odoo 7dbf6d2154 [FIX] web: allow creating new kanban columns with progressbar
Before this fix, trying to create a column in a kanban view where there
were progressbars was opening a traceback. This was because the newly
create column is made from data which are guessed in the client (no RPC
is done), so this guess had to be adapted to progressbars.
2017-09-29 12:26:50 +02:00
amoyaux f92601704e [REF] stock: scrap display product on stock move
Previously a user was only able to scrap reserved product
(products that have a stock move line associated on the picking).
With this commit the user can scrap any product that has a move
on the picking.
2017-09-29 12:18:56 +02:00
amoyaux b812b5b625 [FIX] stock: scrap move update scrap object
Previously editing a done move line only update
the quants to the right location. However the stock.scrap
related object has not its qty updated.

This commit modify the write of stock move line in order
to also modify the stock scrap object to the correct quantity
2017-09-29 12:18:49 +02:00
amoyaux e088acbc0f [FIX] stock: scrap creates a back order.
When the user scrap a product in a picking.
The moves to proccess are moved to a back order and
the current picking only contains the scrap move.

It happens because scrap use action done on the scrap
move and action done process the given move and put the
other in a back order.

This commit add a condition on back order creation in
order to not do it if it comes from a scap.
2017-09-29 12:18:42 +02:00
amoyaux d13a0e1a5c [FIX] stock: wrong uom on tracability report.
The tracability report was using the quantity done (with the
unit of measure from he move line) and the uom of the product
(quant uom)

This commit changes the quantity done in order to keep the same
uom in the report. (uom of quants)
2017-09-29 12:18:19 +02:00
Deep Patel 811f7ca388 [FIX] res_config: Don't lose left panel when clicking on links or actions
1/ Lint
2/ Follow new .js guidelines (mainly re-sequence function alphabetically)
3/ Introduce BaseSetting.SearchHeader template for search header instead of replicating html code
4/ Add some comments in code
5/ When we close a modal or come back using breadcrumb, left panel is lost and all the settings are displayed. This commit fix the issue
6/ Remove the fact that the current app is in top of the app list
7/ Improve search
2017-09-29 11:46:31 +02:00
Cedric Snauwaert 93a1a0e2fd [FIX] account: reconciliation: fix open/close bank stmt button at end of reconciliation
Those where broken due to the rainbow man! Bad rainbow man!
2017-09-29 11:37:15 +02:00
Pierre Masereel 915b74e181 [FIX] mrp: do not show completed move lines in produce wizard 2017-09-29 11:30:56 +02:00
Lucas Perais (lpe) f106e59b15 [FIX] point_of_sale: fixing pricelist display and install
1. At POS install, search a (mandatory) pricelist only with the user's company's currency, otherwise it crashes at install time
	YourCompany is in USD
	You can have a second pricelist in EUR
	That later one will be selected by the search, hence the crash

2. Pricelist config menu in pos.config should only be visible by users in the relevant group

closes #19792
2017-09-29 11:24:32 +02:00
Prakash Prajapati 48a8d68194 [FIX] account: email template name change 2017-09-29 11:03:44 +02:00
Suraj Shukla cd60bd876a [FIX] product: add activity mixin on product
Product templates already use activities. However due to view inheritance
user can (try to) schedule activities on products. Those are not correctly
computed and displayed.

This commit somehow fixes that. It adds activity mixin on product itself
so that products have their own activities.

Due to inheritance mechanism activities on templates and product are
separated. This is a technical limitation and let us consider that as
a wow effect. Do you want a rainbowman ?
2017-09-29 10:59:59 +02:00
Thibault Delavallée ac723d2b05 [FIX] mail: fix display of done activities
Purpose: activity title / activity note / feedback title / activity
feedback should be better displayed.
2017-09-29 10:59:59 +02:00
Thibault Delavallée a7b5d2819d [FIX] crm: fix dict access
Ensure key is present before taking its value in the defaults dict.
2017-09-29 10:59:59 +02:00
Lucas Perais (lpe) ea2650aa79 [FIX] website_sale_digital: fix download attachement Py3
Before this commit, an Error 500 was thrown to the user upon downloading an attachement
It was due to two things:
- wrong return on a function
- the filename that http.send_file takes shouldn't be a string, but bytes in Py3
2017-09-29 10:47:37 +02:00
dbh 0f3b2859a9 [FIX] mass_mailing: Merge 'Basic Template' and 'Blank template'
Purpose
=======

Feedback from fgi: mass mail, remove first plain text template and use preview image for the second one: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrdG4zNHd3a2hueWM/view?usp=drivesdk
+ all the editable text should be visible: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrZ0FWZWNjcjB2OFk/view?usp=drivesdk
2017-09-29 10:26:58 +02:00
Martin Trigaux 9afede846e [FIX] account: typo 2017-09-29 10:07:46 +02:00
qdp-odoo e832fbfd7a [FIX] account: due date set, even if readonly, in case we're using a payment terms 2017-09-29 09:18:45 +02:00
Axay Javiya 0ec31c8822 [FIX] web: fix kanban progressbar active filter
When the user clicks on a color in the progress bar, it is supposed
to highlight the column in this color and the records that correspond
to this color. This works perfectly. However, when all the records
are moved (or their color is changed), the filter was staying active,
while it should not be active anymore, since basically the user could
not have clicked on the color in the progressbar in the current state
of the kanban view since no records are in this state anymore.
2017-09-29 09:03:48 +02:00
Nicolas Lempereur 51db88a653 [FIX] l10n_ch: typo assets so no CSS in ISR
There was a typo when removing report module in e8023804 so the CSS was
present when displaying the report HTMLly but not PDFly.
2017-09-29 08:07:27 +02:00
Hetashree Chauhan 4d6a4803b7 [IMP] stock: always show operations types menu item 2017-09-28 15:01:37 -07:00
Hetashree Chauhan ba108dabd2 [IMP] stock: put owner field next to package_id in stock.quant tree view 2017-09-28 15:00:23 -07:00
Hetashree Chauhan 205155d1d4 [IMP] stock_account: multi-line strings start with 3 "s not 4 2017-09-28 14:51:13 -07:00
Hetashree Chauhan b4f610ffec [IMP] stock_account: move 'Update Cost' to the right of standard_price
Before this it was below it which was confusing.
2017-09-28 14:49:10 -07:00
Hetashree Chauhan 5282ffef19 [IMP] mrp_repair: make lot_id readonly on done repairs
Because changing it in this state doesn't impact traceability.
2017-09-28 14:48:17 -07:00
Hetashree Chauhan ae64a0cbe5 [IMP] stock: rename location columns in stock.move tree view 2017-09-28 14:48:17 -07:00
Hetashree Chauhan bc9c0da53c [IMP] mrp: hide availability field on mrp.production form 2017-09-28 14:48:16 -07:00
Hetashree Chauhan 908c15385a [IMP] mrp: improve mrp.production availability string 2017-09-28 14:48:16 -07:00
Hetashree Chauhan a1ad9ebb6c [IMP] stock: hide reserved quantity on done moves
The reserved quantity resets can reset back to 0 after the move is
done, which can cause confusion.
2017-09-28 14:46:20 -07:00
Hetashree Chauhan d0cc5a530c [IMP] mrp: simplify stock.picking.type form view for mrp_operation 2017-09-28 14:45:20 -07:00
Mehul Patel 1bce0a398d [FIX] sale : add pro-froma invoice report into print buttons.
Was PR#19684
2017-09-28 15:25:23 +02:00
Fabien Meghazi 9f9a7fdd0d [FIX] server: python3 compatibility for --dev=reload 2017-09-28 14:58:38 +02:00
Christophe Simonis a8ecfd03c6 [IMP] core: allow to connect to database server with a secure SSL TCP/IP connection 2017-09-28 14:47:59 +02:00
qsm-odoo c3048b1465 [FIX] web: kanban records' margins in mobile
There should not be any margin/padding in mobile mode.
Also remove useless rendering code of kanban view (this is the
renderer's job).
2017-09-28 13:29:56 +02:00
qsm-odoo 2506a9564b [FIX] web: review UI tag color system
- Kanban colors and tag colors are now the same
- Tag color 0 (default) is now back to be the invisible kanban one
- Same colorpicker for kanban and tags
- Define correct number of colors (12 not 13)
- Color 0 should be a neutral one (gray)
- ...
2017-09-28 13:29:56 +02:00
Christophe Simonis 99bf9e4563 [MERGE] forward port branch saas-16 up to 89df681b45 2017-09-28 13:24:14 +02:00
Christophe Simonis 89df681b45 [MERGE] forward port branch saas-15 up to da15615c45 2017-09-28 11:56:23 +02:00
Christophe Simonis da15615c45 [MERGE] forward port branch saas-14 up to aca401c500 2017-09-28 10:53:37 +02:00
Prakash Prajapati 6b410fc954 [FIX] website_sale_comparison: rename product comparator 2017-09-28 10:11:53 +02:00
Christophe Simonis aca401c500 [MERGE] forward port branch 10.0 up to 808c0e5dde 2017-09-28 09:54:16 +02:00
Darshan Kalola 5604151b6e [FIX] web_planner: fix layout of close button in planner dialog
remove double cross

close #19731
2017-09-28 09:51:38 +02:00
kap-odoo 230e88264a [FIX] website: removed padding in todo buttons of dashboard.
closes #19733
2017-09-28 09:49:44 +02:00
Vandan Shah fed46211ed [IMP] website: change link for google analytics tracking ID
closes #19730
2017-09-28 09:46:41 +02:00
Joren Van Onder 8cbd29f696 [FIX] mrp: display attachment image in mrp.document kanban view
Before this the mrp.document id was used to construct the /web/image/
link which lead to the wrong attachment being previewed and
downloaded. Introduced by the refactoring that happened in
d193350c6f.
2017-09-27 17:14:43 -07:00
Jeremy Kersten 95634c967f [FIX] website, website_slide: fix enumerate_page
Use rec_name in domain because some model like survey.survey don't have name field.
Check that query_string is setted to avoid traceback 'lower of None'
2017-09-27 23:32:40 +02:00
Denis Ledoux 808c0e5dde [FIX] test_assetsbundle: handle readonly files
If the Odoo server runs with its sources read-only
for itself, this is not possible for the server
to touch the files contained in the assets.

In such a case, instead of touching the file,
we alter the attachment checksum, to simulate
a change within the modified date.

However, in such a case, we can only test that the
bundle is well generated again.
We can no longer check the change of version and modified date,
since the modified date of the files have not changed,
and therefore the checksum (which is based on the files
modified date, among others) neither.
2017-09-27 22:11:36 +02:00
Denis Ledoux b5c55a9331 [FIX] base: tests, reflect unaccent behavior of 5e3de76f36
Since the revision
5e3de76f36

The `::text` is included within the `unaccent` call
The expession tests have never been changed according
to this change of behavior in the building of the unaccented
queries. This has never been detected by runbot because
you need to start the Odoo server with the option
`--unaccent`
and to create the database with the unaccent extension
`CREATE EXTENSION unaccent`
to be able to fail the former tests,
and this is not the case on runbot.
2017-09-27 22:10:30 +02:00
Jeremy Kersten 953a693df1 [FIX] website, http_routing: fix translate on website.page
Before this commit:
website.page won't be rendered as translated items since it is not going though
 a controller (route) enabling multilang. Website.page were not considered as
 multilang items and no lang prefix were applied on link.

Now:
website.page will correcly handling translation.

In case of one route doesn't match a controller, it is now by default a route of
type multilang.

Add a new field auto_redirect_lang on website model to allow to deactive the
autoredirect of the lang optionnaly. The code will arrive after more tests.
2017-09-27 21:33:50 +02:00
rde 257595011d [FIX] website: website.redirect was never called
Before this commit, the website.redirect records would never been called since
we switched call order from redirect>page to page>redirect.
It would always render a 404 and would never check redirect records.

Now, if there is no page found, it will check for redirects and if no redirect
found it will return 404.
2017-09-27 21:33:50 +02:00
rde fa23bb8586 [FIX] website: unpublished page present in menu throws an error if public user
Before this commit, an unpublished page present in menu would throw an error for
public user (group_portal & group_public) because of the security record rule
set on website.page model not allowing read access to unpublished pages:

<field name="domain_force">[('website_published', '=', True)]</field>

In this particular case, we try to retrieve the menu URL, but since the URL is
retrieved through its (m2o) website.page, it would cause an error.

Now, it the menu has a website.page unpublished, we will correctly retrieve its
URL (sudo) and it won't crash.
2017-09-27 21:33:49 +02:00