Commit Graph
103231 Commits
Author SHA1 Message Date
Nicolas Lempereur 9530a9f498 [IMP] website: share widget and multi language
The lang of the content of the "Share" widget was the one used when
inserting  it in the view. Thus if someone see a page with it in another
language the title and url for sharing is not translated.

This commit use the current page language to set the widget data.

opw-676062
2016-05-13 16:57:43 +02:00
Christophe Simonis 1e26ef6579 [MERGE] forward port of branch saas-11 up to 91c9284 2016-05-13 16:36:04 +02:00
Christophe Simonis 91c9284951 [MERGE] forward port of branch saas-10 up to 5aa0bae 2016-05-13 16:33:51 +02:00
Jeremy Kersten 5aa0baea84 [FIX] website_link: fix zeroClipboard config
ZeroClipboard lib has been moved from web to website_link but
config file has been not updated.
2016-05-13 16:25:44 +02:00
Damien Bouvy 98bd6d4f4a [FIX] setup: use hard tabs
GTFO
2016-05-13 16:22:05 +02:00
qsm-odoo 068acf76da [FIX] web_kanban: quick redrag of kanban records
When dropping a record, it is updated and rerendered. The problem with
this behaviour is that if the record is redrag immediately after drop,
jquery-ui throws an error as the widget the user is trying to re-move
is being rerendered.

The solution provided by this commit is to block the draggable feature
while the record is being rerendered.
2016-05-13 16:03:04 +02:00
Christophe Simonis c4bba868f0 [MERGE] forward port of branch saas-9 up to 087729f 2016-05-13 15:58:06 +02:00
Damien Bouvy aee53a3695 [FIX] setup: missing dep for RHEL-based distros 2016-05-13 15:48:08 +02:00
Christophe Simonis 087729f31b [FIX] base: remove FDCC modifiers from date/time formats of res.lang 2016-05-13 15:33:03 +02:00
Christophe Simonis 7f2a9e77b6 [MERGE] forward port of branch 9.0 up to dcab356 2016-05-13 14:08:51 +02:00
Nicolas Martinelli ccb6f1c501 [IMP] document: indexation of MS documents
Commit 3ced0ff61 removed the support of Microsoft documents for
indexation. It makes sense for the old formats such as '.doc' since it
requires an external tool ('antiword'), which could lead to a security
issue. However, the new formats such '.docx' are simple xml files,
therefore they could be indexed with the usual XML parsing tools.

opw-677235
2016-05-13 13:32:06 +02:00
Christophe Simonis dcab356b38 Revert "[FIX] product: respect sequence when loading pricelist rules"
This reverts commit b0f02e31b2.

As pointed out by @nim-odoo [1], a similar patch has already been
uncommited few month ago [2].

Ref #11988
opw-676422

[1] https://git.io/vrYxY
[2] see a6badd2559
2016-05-13 13:28:41 +02:00
Mitali Patel e0da79bd36 [IMP] sale: option to install 'product_visible_discount'
Purpose:
Right now, when you install pricelist and visible discount, you have
to install product visible discount manually to get the most important
field in pricelist (is the price included or not in price). So by default,
it seems it shows the price as a discount by default, it is ok, but there
is no way to change

- In product_visible_discount, removed dependency of purchase module
2016-05-13 13:15:14 +02:00
Christophe Simonis f1659a0dc9 [MERGE] forward port of branch saas-6 up to f6eda2c 2016-05-13 12:59:04 +02:00
Christophe Simonis f6eda2c350 [MERGE] forward port of branch 8.0 up to 5e18f5a 2016-05-13 12:54:34 +02:00
Christophe Simonis 5e18f5a080 [FIX] tools: correct Burmese locale 2016-05-13 12:53:17 +02:00
Jeremy Kersten 613ee31f9c [FIX] web_editor: video - allow to add video from unknown source
There are not cat... but you cannot know all the existing website in the world...
So, have faith in the user !

To do: allow to customize size or get it from iframe provided
2016-05-13 12:37:51 +02:00
dut-odoo c18c55e03b [FIX] hr_timesheet: duplicated fields in 'view_task_form2_inherited'
When a task of a project is further divided into sub-tasks then the parent
field of those sub-tasks is appearing two times in the form view..
2016-05-13 11:39:57 +02:00
dut-odoo c83702a36a [IMP] event: change term 'Subscription' to 'Registration'
Changed term 'subscription' to 'registration' in event, event_sale,
website_event, website_event_sale modules
2016-05-13 11:28:28 +02:00
dut-odoo 4763b611cf [IMP] notes: 'Folded By Default' checkbox in note stage form view
Purpose:
There should be a way to set the option for folded/unfolded stages
(as the configuration menu of notes app is only visible in debug mode)
2016-05-13 11:14:26 +02:00
Kinjal Mehta 4656186472 [IMP] point_of_sale: Stat button to invoice on pos_order view
Purpose:
In POS order form view the 'Re-Print' button is placed improperly.
There should be a way where invoice can be linked to POS without this button..

Removed the reprint button from the form view of POS order.
And add the invoice state button so invoice can be linked to POS.
2016-05-13 11:09:00 +02:00
Jainik Patel 47e9e6918e [IMP] mass_mailing: 'A/B Testing percentage' field hidden if no Campaigns
When you install Mass Mailing,and go to the Options tab of the mailing,
there is an A/B Testing percentage field.
It is useless if Mass Mailing campaigns is not activated.
2016-05-13 10:59:41 +02:00
dut-odoo 3d95397951 [IMP] stock: make use of stock_picking's note
Purpose:
Internal note for the moment is useless, unless the warehouse worker
works in the backend.

- changed placeholder of note field
- added note field to picking operations' report
2016-05-13 10:49:38 +02:00
Darshan Kalola 34643da75d [IMP] pos restaurant: prevent an offline table removal from floor screen
- Current pos restaurant with offline mode, when you delete the table from
  floor screen, it would stop everything (you won't be able to create an order
  further) untill your server start again, that is not good indeed.
  Instead we should show the error popup, just like you will get when you click
  on '+' for adding a new table on offline mode.

- Slightly improve the other relevant warning messages.

- Only pos managers can edit the floor screen.
  Before this pos user were allowed to access the edit button (pencil
  icon on floor screen), but they could never update the table detail
  as lack of permission so in this we have prohibited the pos user
  from accessing an edit button(pencil icon).
2016-05-13 09:43:04 +02:00
Mansi Gandhi c5a632a2fc [IMP] link_tracker: Remove unecessary secondary menuitem
When user click on the App 'Link Tracker' , it gives one view..
Here , there is a menu 'Link Tracker' > 'Tracked Links' , which gives
the same view, so we have to remove the submenu which is 'Tracked Links'.
2016-05-13 08:40:12 +02:00
Aaron Bohy 43f40ec403 [FIX] mail: max width 100% of images in threads 2016-05-13 08:24:47 +02:00
Keyur Gajjar 4526b133c4 [IMP] sale: taxed amounts displayed by tax group on SO report 2016-05-13 07:14:34 +02:00
Christophe Simonis 7e999ece01 [MERGE] forward port of branch saas-6 up to 19a77d9 2016-05-12 18:20:08 +02:00
Alexis de Lattre fb84f95f91 [FIX] l10n_fr: FIX default Sale/Purchase tax. Courtesy of alexis-via. PR #11139 2016-05-12 17:37:17 +02:00
qdp-odoo 0d42c6e604 [MERGE] account: merge of account_tax_adjustment module as a core feature of account module. Added a boolean 'tax adjustment' on account.tax to define taxes that can be used in the wizard instead of taxes with fixed amount of 0 2016-05-12 17:18:01 +02:00
Christophe Simonis 19a77d948d [MERGE] forward port of branch 8.0 up to 746cda7 2016-05-12 16:42:08 +02:00
Christophe Simonis 9e31843ded [FIX] account_asset: correct dependencies of amount_residual field
Also use a `set()` to avoid processing assets multiple times when
creating moves from lines
2016-05-12 16:10:35 +02:00
Nicolas Lempereur 38e35cc442 [FIX] web_editor: scroll and editing menu modal
The class modal-open on body tag allow to scroll on the modal content
which is useful if the content is taller than the window viewport.

When closing the modal, this class is removed but there may be another
modal open on which we will not be able to scroll to view
buttons/content if too big.

This commit check if a modal is still opened after closing an editor
modal and in the affirmative add back the modal-open class.

opw-674475

note : was already present in 8.0 with ec47493, it is also present for
web.Dialog (but the modal of the editor do not inherit from web.Dialog)
2016-05-12 15:56:14 +02:00
Srushti Patel 58ffd9fc02 [IMP] point_of_sale: Cash Control Default Opening/Closing Balance
========
Purpose
========

POS : It is annoying process to put coin/bill value repeatedly in the cash register.
If user select cash control check box it should add default values.

In pos configuration the option cash control checkbox move to a new category
called Cash Control.

-When opening a POS session, when doing the cash control, it should already prefill
 the modal with the defaults cash control values (Coin/Bill Value, Number of
 Coins/Bills, Subtotal).
-When closing the POS session, the closing balance should just take the Coin/Bill
 Value defaults values. The user has to type in the number of Coins/Bills manually).
2016-05-12 14:38:32 +02:00
Goffin Simon 746cda7f89 [FIX] website: URL of website_published is wrong when using next/previous
Steps to reproduce:

-go to runbot 8.0 and connect
-go into human ressources/job positions
-pass into list view and click on the first item
-click on the url to open this record into the website (website_published)
-go back (back into the browser)
-you're now into the form view again and then next step is to click on the button
"next" to access the following record
-click on the url of website_published

Before the fix:

wrong record, this is the previous one that is into the href

After the fix:

correct record with the correct id into the href

Closes #11800
opw:675832
2016-05-12 13:31:19 +02:00
Mansi Gandhi 3c14eee441 [IMP] im_livechat: Clean no_content message for 'History' action 2016-05-12 13:25:05 +02:00
Nicolas Lempereur f41bcda03b [IMP] account: invoice analysis pivot quantities
In the report "Invoice Analysis", the view under the report is grouping
lines by invoice and also by product on this invoice.

Thus, quantities in the pivot view are not the real quantity of invoice
lines, but of invoice lines with different products.

eg:

invoice a:
- line 1: product X
- line 2: product Y
- line 3: product X

in the report there would appear to only be 2 invoice line, whilst there
is in realy three (this information is accessible via "# of Lines").

closes #11954
opw-676651
2016-05-12 13:11:47 +02:00
Goffin Simon 7061acd2c1 [FIX] purchase: fiscal position from onchange_partner_id
Used case:

-Configure admin as multi-company user
-Create 2 fiscal positions (one for company "Odoo BE" and one for company "Odoo US")
-Set admin on company "Odoo BE"
-On supplier (Asustek) configure fiscal position Odoo BE
-Set admin on company "Odoo US"
-On supplier (Asustek) configure fiscal position Odoo US
-Configure a product (Laptop E5023) with:
   *route "Buy"
   *supplier (Asustek) without company
   *reordering rules (min qty: 20, max qty: 40)
-Set admin on company "Odoo BE"
-Run scheduler via the cron

Behavior before the fix:

-Fiscal position on the created PO is the fiscal position for "Odoo BE" (and PO is for the company "Odoo US")

Behavior after the fix:

-Fiscal position on the create PO is the fiscal position for "Odoo US".

Closes #11537

opw:673288
2016-05-12 13:05:52 +02:00
Christophe Simonis 2f374c4cba [MERGE] forward port of branch 8.0 up to 3a32021 2016-05-12 12:38:02 +02:00
Nicolas Lempereur 53f86de70d [FIX] payment_authorize: use state code instead of state name
The state given to authorize requests should be the state code and not
the state name.

source:
https://support.authorize.net/authkb/index?page=content&id=A1454&actp=RSS

opw-675634
2016-05-12 11:52:10 +02:00
Nicolas Seinlet 3a32021122 [IMP] models: mark records as recomputed as soon as they are
When recomputing stored function fields, the `write` may trigger a
cache invalidation which lead to a recompute of all the recordset
values, even the ones already saved in database.
2016-05-12 11:44:57 +02:00
Nicolas Seinlet f207ef5fae [IMP] account: improve reconciliation speed
- Only invalidate cache for fields and records we modify
 - Rewrite query to be more efficient
 - Avoid o2m commands to be more efficient; write directly on reverse m2o
2016-05-12 11:41:13 +02:00
Nicolas Seinlet 6f29bfc181 [FIX] mail: remove unneeded call to refresh()
With new api, this call is not wanted anymore. The cache is cleared
automatically, no need to clear the whole cache; that's a little bit
overkill and reduce performances.
2016-05-12 11:35:46 +02:00
Srushti Patel efd57f216c [IMP] stock: stock.picking.type kanban card title clickable
Instead of havid to click on:
'More -> View -> All' to open all the stock picking
We just have click on the card title
2016-05-12 11:32:55 +02:00
qsm-odoo 642dff0901 [FIX] website: hide page edition buttons on mobile
The edition should technically work on mobile but is impossible
to use since the small size anyway. So better hide the button.
2016-05-12 11:30:31 +02:00
pja-odoo b0f02e31b2 [FIX] product: respect sequence when loading pricelist rules
Fixes #11987
Close #11988
opw-676422
2016-05-12 10:43:25 +02:00
qdp-odoo 54f5c14994 [FIX] account: multi-currency reconciliation use case as defined in opw 640248. Since the reconciliation changed, the bugfix made for saas-6 isn't valid anymore and was actually, the root cause of the same bug appearing in v9. 2016-05-12 10:35:52 +02:00
Nicolas Martinelli 49ea75973d [FIX] purchase: date planned
When a PO is copied, the date planned of the order lines should be
recomputed based on the order date.

opw-675480
2016-05-12 09:48:19 +02:00
Nicolas Martinelli 529481991a [FIX] purchase: date planned
When a PO is copied, the date planned of the order lines should be
recomputed based on the order date.

opw-675480
2016-05-12 09:25:58 +02:00
Goffin Simon 1876279f2f [FIX] stock: Reversing scrapped moves
When reversing stock moves by clicking on "Reverse" in stock.picking
form view, only the stock moves not scrapped must be reversed.

opw:672236
2016-05-12 09:22:08 +02:00