Commit Graph

73913 Commits

Author SHA1 Message Date
qdc 5e5c73e7ba [IMP] Cleaning of reporting (group_by, filters), adding new favourites and default views, some renaming (py and xml files) 2014-08-22 09:49:09 +02:00
Bhavik Bagdiya 73c5041829 [FIX] calendar: dropdown button misaligned
+ add meaningful placeholder
2014-08-22 09:42:16 +02:00
Martin Trigaux 80d8532370 Forward port of branch saas-5 up to rev 4895281e 2014-08-22 09:12:14 +02:00
Christophe Simonis 819e3005c2 [FIX] account: _get_analytic_lines() must work in @mutli beside using only self[0]
(partially revert previous commit)
2014-08-21 21:22:12 +02:00
Christophe Simonis 2649d4ba28 [FIX] account: correct some v8 decorators 2014-08-21 18:54:44 +02:00
Martin Trigaux 4895281e58 Forward port of branch saas-4 up to rev 15a3a2a 2014-08-21 18:17:35 +02:00
Martin Trigaux 15a3a2a63a Forward port of branch saas-3 up to 7bcefaf 2014-08-21 18:14:22 +02:00
Josse Colpaert 4a8d8e15bf [IMP] Better to have corresponding lates 2014-08-21 18:09:15 +02:00
Martin Trigaux 7bcefaf232 Forward port of branch 7.0 up to 0ab88f5 2014-08-21 17:57:57 +02:00
Josse Colpaert e69a2dd334 [IMP] Add partner_id and invoice control to picking tree 2014-08-21 17:40:10 +02:00
Josse Colpaert 201f1c323f [IMP] Use correct field for showing red lines for late pickings in tree view 2014-08-21 17:31:25 +02:00
Josse Colpaert e00d9d46fa [IMP] Change help message package setting 2014-08-21 17:23:54 +02:00
Josse Colpaert 71b33e7975 [IMP] Counterpart locations and weights should not be read-only in case of type service, but should simply be invisible as the other fields 2014-08-21 17:23:54 +02:00
Josse Colpaert 918b89b26a [IMP] Buttons should not be usable by purchase manager that is no stock user 2014-08-21 17:23:54 +02:00
Josse Colpaert 075957a965 [IMP] Only one incoterms item 2014-08-21 17:23:54 +02:00
Josse Colpaert 5405883d5d [IMP] Location of extra moves should be matched 2014-08-21 17:23:54 +02:00
Cedric Snauwaert 374fc8ec67 [FIX] stock: barcode interface, remove left-right key handler 2014-08-21 17:02:15 +02:00
Cedric Snauwaert 3092f63a28 [FIX] stock: barcode interface update qty without pressing enter 2014-08-21 16:25:04 +02:00
Desai Binjal 8fe9f07cac [FIX] note: small bugs 2014-08-21 15:55:23 +02:00
Josse Colpaert 3b8e6a43cf Merge pull request #1888 from odoo-dev/8.0-wmsnsewiz-jco
Merge from nse back-end partial picking wizard
2014-08-21 13:33:00 +02:00
Frederic van der Essen 2fd16b5552 [IMP] point_of_sale: add missing functionality necessary for the loyalty module 2014-08-21 12:19:04 +02:00
Géry Debongnie a54aac38f6 [IMP] lazy loading of dashboards
The widget AddToDashboard used to make an ajax call every time the
search view is loaded.  This is often useless and can be annoying when
that request is long.  With this patch, the request is only done when
the user click on the widget AddToDashboard
2014-08-21 11:48:37 +02:00
fka-odoo 20a99ae129 [IMP] account_budget: added date filter in print budget report
Fixes #1743, opw 611307
2014-08-21 11:45:38 +02:00
Josse Colpaert f4e7105eb6 [IMP] Usability improvements by clarifying texts 2014-08-21 11:37:40 +02:00
Richard Mathot b26cd8ad6d [IMP] board: do not filter actions anymore
Starting from v8.0, there's only "My Dashboard". We can assume that we
have access rights to all the actions we pin to our proper dashboard, so
we can remove this filtering. Furthermore, this was a large performance
pitfall.
2014-08-21 11:20:09 +02:00
Denis Ledoux 99ce17cfca [FIX] point_of_sale: report, product_id of line is product_product
product_id column of pos_order_line is a product_product
the left join of l.product_id was done on product_template, instead of product_product

It worked as long as the ids product_product were the same as product_template. Meaning that, if you used variants, this report view was screwed.
2014-08-21 11:20:09 +02:00
qdc 8307a5f6ed [IMP] Graph views: show always measure + filters record measures in context 2014-08-21 11:09:49 +02:00
Olivier LAURENT ac9954d210 * [8.0][mass_mailing] some fixes
* [FIX] rename wrong mailing_type field and add missing fields when creating a mass mailing from the composer
* [FIX] coerce tooltip to an unicode string to avoid a json crash when locale produces a non unicode string for strftime(%B)
* [FIX] repair wrong sql statement computing statistics
2014-08-21 11:07:00 +02:00
Thibault Delavallée 4e32b9f6f3 [FIX] web: fixed css of hidden input file: a hidden element could interfere with other elements
in the dom, leading to some fields not being accessible.
2014-08-21 11:03:15 +02:00
Fabien Pinckaers 9dc9169f33 [IMP] readable code 2014-08-21 11:02:18 +02:00
Fabien Pinckaers 9c175fe730 [FIX] difference POS / Cash 2014-08-21 10:54:38 +02:00
Fabien Pinckaers 98bc5adc6e [FIX] recursion 2014-08-21 10:43:49 +02:00
Fabien Pinckaers d14297ac53 [FIX] better responsibilities on objects POS 2014-08-21 10:38:21 +02:00
Frederic van der Essen 0829afadd2 [FIX] point_of_sale: continuation of the session closing fix 2014-08-20 23:08:20 +02:00
Frederic van der Essen 62a8e5b457 [FIX] point_of_sale: partial fix for unclosable sessions 2014-08-20 22:24:21 +02:00
Christophe Simonis 5dff035878 [MERGE] forward port of branch saas-5 up to 39bee35 2014-08-20 20:33:17 +02:00
Christophe Simonis 1d85c667f7 [FIX] point_of_sale: correct SyntaxError 2014-08-20 20:24:09 +02:00
Fabien Pinckaers fee5701359 Merge branch '8.0' of github.com:odoo/odoo into 8.0 2014-08-20 19:38:59 +02:00
Fabien Pinckaers 76a84ce2bf [FIX] partner of order 2014-08-20 19:38:41 +02:00
Josse Colpaert 3891892d9f Merge from nse back-end partial picking wizard 2014-08-20 18:28:57 +02:00
Christophe Simonis c3131317d7 [MERGE] forward port of branch saas-4 up to ddef2dd 2014-08-20 17:57:22 +02:00
Christophe Matthieu c3d2540477 [FIX] website.editor: must display link information in linkdialox box. Remove /page/ and /page/website. from the needle to search page and apply real url as filter after the search 2014-08-20 17:54:10 +02:00
Christophe Matthieu 37c4bd96c1 [FIX] website.snippet: before the save of the view clean_for_save is called. The option marginAndResize (called by twitter) try to bind events on the overlay but the builder don't load the overlay (for time perf). The fix set a default jquery empty div to avoid the error. 2014-08-20 17:54:10 +02:00
Christophe Matthieu 3630c0fc14 [FIX] tour: display username in log for point of sale module 2014-08-20 17:54:10 +02:00
Christophe Matthieu d12974eee3 [FIX] website.snippet: can't edit website with firefox; remove firefox attr for media video is edit mode 2014-08-20 17:54:10 +02:00
Christophe Simonis ddef2dd10a [MERGE] forward port of branch saas-3 up to 8f13e83 2014-08-20 17:51:20 +02:00
Christophe Simonis 8f13e8320e [MERGE] forward port of branch 7.0 up to d0a0b7d 2014-08-20 17:45:05 +02:00
Christophe Simonis f32c88f932 [FIX] web: correct /web/proxy/load to set correct base_url 2014-08-20 17:33:27 +02:00
Denis Ledoux 3cc9a844db [FIX] website_forum: portal user are allowed to delete forum post
If a portal user has engouh karma, this is possible for him, at least graphically, to delete forum posts, even if is not the author of it.
So, he should be allowed to delete forum posts in the ACL
2014-08-20 16:14:09 +02:00
Thibault Delavallée 24347d235c [FIX] crm_partner_assign: allow employees to read the res_partner_activation model, fixing some access rights issues with the partner form view 2014-08-20 15:39:20 +02:00
Thibault Delavallée 3b0622bd3f [FIX] mass_mailing: do not display templates void options menu when there are no option to display 2014-08-20 15:39:20 +02:00
Cedric Snauwaert 6e201cdcdb [ADD] stock: add new report for package that only show package barcode 2014-08-20 15:33:08 +02:00
Antony Lesuisse d421f9a365 [IMP] point_of_sale: track session logins
the pos session now keeps track of the session logins, and that number is
included in in the order reference. This prevents orders generated in parallely
created sessions from having the same reference, and also helps reduce fraud.
2014-08-20 15:13:46 +02:00
Guewen Baconnier d0a0b7d91d [FIX] purchase: skip move if not linked to a purchase order
When this situation happens. the 'cost' is None and the web interface cannot handle this value, provoking a JS error. Thus, prefer to fallback on the standard way to get the cost: based on the current standard price of the product.
Fixes #1032
2014-08-20 15:13:36 +02:00
Thibault Delavallée 9d50b47033 [FIX] share: fixed crash when using the share wizard, linked to the new api. 2014-08-20 14:10:20 +02:00
Fabien Pinckaers 3ab268cf63 Merge branch '8.0' of github.com:odoo/odoo into 8.0 2014-08-20 12:21:58 +02:00
Fabien Pinckaers a6de99990d [FIX] missing row CSS 2014-08-20 12:21:38 +02:00
Géry Debongnie 53a5c6d241 [FIX] correct domain for autocomplete in many2one
The domain was using '=', which is correct when selecting a specific
element in autocompletion, but not when searching for all elements
matching a string.
2014-08-20 11:55:15 +02:00
Richard Mathot 968813cc57 [FIX] project,project_issue: display order
Task/issues shuld be sorted on descending priority
2014-08-20 11:12:33 +02:00
Hardik Ansodariya 86f99ef250 [IMP] product: filter and group by category_id on product.template
Was removed (for unknown reason) during refactoring of product and template (opw 611699)
2014-08-20 11:05:53 +02:00
Fabien Pinckaers 1e4501076d [FIX] bad link 2014-08-20 10:31:25 +02:00
Frederic van der Essen ffba505817 [FIX] point_of_sale: updated the tooltip for the to weight option to make it clearer that it is to be used with the hardware scale integration 2014-08-19 18:02:17 +02:00
Denis Ledoux 79bed94271 [FIX] project_issue: project issue user must be able to read resource calendar
In order to be able to read the days_since_creation field
2014-08-19 17:57:48 +02:00
Frederic van der Essen 3071af9b11 [FIX] point_of_sale: prevent changing the customer after printing the receipt 2014-08-19 17:55:46 +02:00
Sandy Carter 11e4cad9f7 [IMP] auth_oauth: set default 'zocial' css_class
The buttons for new providers needs at least the zocial css class to be seen as button. As the field css_class is not in the default form view, add it by default.
2014-08-19 17:43:09 +02:00
Fabien Pinckaers b5104b1321 [FIX] HTML row 2014-08-19 17:41:21 +02:00
Daniel Dico 9a763928e1 [FIX] account_anglo_saxon: variable 'standard_price' referenced before assignment
Due to forward-port, the variable standard_price was reintroduced instead of valuation_price_unit
Move the change of currency after the fifo/lifo computation.
Fixes #1801
2014-08-19 17:16:28 +02:00
Frederic van der Essen 986f0e9d46 [FIX] point_of_sale: the receipt would not print correctly on first try 2014-08-19 17:15:14 +02:00
Christophe Simonis b3ddbee543 [FIX] website: correct unslugify of routes 2014-08-19 16:43:23 +02:00
Fabien Pinckaers a8fc1a3e4f [FIX] HTML Questions 2014-08-19 16:33:25 +02:00
Fabien Pinckaers 31b6a6378a [FIX] HTML Questions 2014-08-19 16:30:55 +02:00
Christophe Simonis a614fed0a4 [FIX] mail: tell orm to rename column "read" to "is_read" 2014-08-19 15:35:25 +02:00
Sébastien BEAU 3b901f0aa0 [FIX] web: ignored readonly attribute on image widget 2014-08-19 15:27:36 +02:00
Fabien Pinckaers 45c1f7fdfe Merge pull request #1800 from blaggacao/8.0-l10n_co
8.0-l10n_co
2014-08-19 13:09:33 +02:00
Fabien Pinckaers 6541302f27 Merge pull request #1790 from thanhchatvn/patch-2
Update vi.po
2014-08-19 13:05:28 +02:00
Denis Ledoux 4971c0768a [FIX] purchase: purchase buttons on product form only for purchase users 2014-08-19 12:28:58 +02:00
fka-odoo 9247c37de7 [FIX] web: rendering issue in mail composer on Firefox
The cleditor width does not include the margins. Setting 100% will make the editable area too large (104%) on Firefox (opw 611700).
Replaced by auto, the default value adviced by CLEditor.
2014-08-19 11:55:53 +02:00
Raphael Collet 052f9ed5d7 [FIX] models: improve rationale for the management of flag 'recompute' in context
When the context contains 'recompute': False, the recomputation was not even
prepared. Now both create() and write() prepare the recomputation by invoking
method modified(). The flag only controls whether method recompute() is invoked.
In addintion, the former flag 'no_store_function' was converted to the flag
'recompute', so that both create() and write() use the same flag.

Fixes #1456
2014-08-19 11:50:42 +02:00
Raphael Collet c1be4a316e [FIX] sale_layout: store=True is causing trouble when generating invoices from a pos order 2014-08-19 11:49:03 +02:00
kevin wang ad05669460 [IMP] product: specify a view for 'Variant Values' action 2014-08-19 11:33:29 +02:00
David Arnold 6164f52ca3 [FIX] account_voucher: wrong type in context
The type 'general' no longer exists on a account.voucher. As in general context, removed the default value on this menu.
Fixes #1261, it produces a traceback in 8.0 where the selection fields are less fault-tolerant.
2014-08-19 11:22:38 +02:00
Denis Ledoux cee1f0457d [FIX] sale: define sale_note field before using it as a default value for sale.order
When uninstalling/installing sale module, this can be problematic
2014-08-19 09:48:05 +02:00
Jeremy Kersten 94b20608c6 [IMP] website_quote: handle quote and website descriptions
Add field quote_description on product.template and turn website_description from sale.quote.line into a related.
Overwrite write and create methods to synchronise both fields when setting a product.
website_description on product.template is added by website_sale but there is no dependency relations between these modules so we need to define it in both modules.
2014-08-18 18:40:54 +02:00
Martin Trigaux f572b27ec8 [IMP] account_voucher: make the field tax_amount always readonly
The field tax_amount is fieled with onchanges and the compute_tax method. Setting a different value than the one computed by the system may lead to unbalanced move (which is obviously wrong).
In the future, handeling these operations by setting the correct value to the tax accounts would be better.
2014-08-18 17:59:17 +02:00
Martin Trigaux 85b08a75f6 [FIX] account_voucher: avoid error if no partner
The field partner_id is not required on an account.voucher but the validation was failing if none was set (opw 611663).
This patch makes a fallback on the account of the voucher if neither a partner nor a writeoff account is specified.
2014-08-18 17:50:32 +02:00
Denis Ledoux 0dcca6cf48 [FIX] point_of_sale: copy/paste error, super must use the apropriate class 2014-08-18 17:49:24 +02:00
Thibault Delavallée af14158508 [FIX] website_forum_doc: fixed tree view impossible to use to create new chapters (missing forum_id due to wrongly copy-pasted views) + fixed max width of images displayed in the doc. 2014-08-18 16:46:45 +02:00
Quentin THEURET 356be5f077 [FIX] mrp_operations: use list instead of record set for o2m
In v7, accessing a o2m returned a list of browse record while it returns a recordset in v8.
The method _move_pass expects a list so a manual conversion is required.
Fixes #1787
2014-08-18 15:20:02 +02:00
Frederic van der Essen 24df6dc8b2 [FIX] product, point_of_sale: add a display_default_code context option that can remove the internal reference (default code) from the displayed product name. Used in the point of sale to unclutter the receipt & GUI 2014-08-18 14:51:15 +02:00
Denis Ledoux e2532dd8e0 [FIX] account_analytic_analysis: quantity overdue on quantity exceeded, not reached 2014-08-18 14:05:41 +02:00
Frederic van der Essen 221b746c7f [FIX] point_of_sale: invoicing in the pos printed the wrong order due to a mismatch between order ids and invoice ids 2014-08-18 14:03:14 +02:00
Denis Ledoux 1d77697a5d [FIX] website_twitter: IE does not accept twitter date format
Datetime like Tue Jul 13 23:18:36 +0000 2010 is not accepted by IE and return "Invalid date".
Therefore, We parse the date to a format known by IE (and other browsers)
Trick took from http://stackoverflow.com/questions/3243546/problem-with-javascript-date-function-in-ie-7-returns-nan
2014-08-18 13:13:56 +02:00
Frederic van der Essen 57fe94b34e [FIX] point_of_sale: the order uid were generated via timestamp, which were not sequencial or easy to understand, they are now generated with the order id and order sequence number which are sequencial 2014-08-18 12:19:56 +02:00
JKE-be e55098263b [FIX] website_customer: the extra / for url pager is not need in saas-4 2014-08-18 11:39:33 +02:00
Frederic van der Essen 5d1d77e6e2 [FIX] point_of_sale: the product name field changed to display_name to include variants information, this should be reflected in searches as well. 2014-08-18 11:35:24 +02:00
Thomas Groutars 397e83554b [FIX] product: make sure unlinked product still exists
When uninstalling/updating a module, we may execute unlink method on product.template before product.product. In such cases, the product is already removed after removeing the template (_inherits) and the chained unlink of the product would fail (traceback when browsing).
2014-08-18 10:37:03 +02:00
blaggacao be74669775 Imprint corrections - typo 2014-08-15 23:41:47 -05:00
blaggacao ea30a0cb50 Imprint corrections 2014-08-15 23:40:23 -05:00
blaggacao 54f67b2135 [FIX] #1526 - Missing filename on binary fields download 2014-08-15 23:17:28 -05:00
blaggacao a4d37faf1b This is an updated colombian chart of accounts:
- Accounts based on puc.com.co
- adatpations according to current law and last fiscal reform of 2013/14 incorporated (eg. INC, CREE)
- default: 6-numberd, 6th level are account, others views according to colombian PUC regulations
- default accounts predefined according to standard use case
- Most colombian taxes preloaded. Level of detail adjusted to present and future DIAN reporting requirements
- Complete Tax Code layout for generating all necesary transactional fiscal information, Taxes (INC, IVA, CREE), Retentions (ReteIVA, ReteRENTA), Autoretentions (AutoretentionRenta, CREE) - Including predefined cases for import/export, trade with free trade zones, and trade with Companies under the international trade regime
- EXCEPT: ICA Community tax not included, as differs greatly un per city level
2014-08-15 22:50:53 -05:00
blaggacao 1737ae3dd6 [FIX] #1526 - Missing filename on binary fields download 2014-08-15 22:26:38 -05:00
Bruce Nguyen d0d57586e3 Update vi.po
Update translate vietnamese
2014-08-15 09:18:24 +07:00
Denis Ledoux 97d097a2af [FIX] point_of_sale: field date of report.pos.order should be a datetime
The date_order field of the pos.order is a datetime, not a date
As, in report.pos.order, the date field is related to date_order of the pos.order

We usually do not commit fixes altering the model fields structure in 7.0, but this one is retro-compatible, as the database structure won't change
2014-08-14 18:01:37 +02:00
Denis Ledoux dcd26acccf [FIX] web: do not focus if the focus_field is not a field
Sometimes, focus_field could be a button, and in such cases, we should not focus on it

opw-612045
2014-08-14 17:33:59 +02:00
Olivier Dony 50ef63881a [I18N] Update 8.0 translation with latest source code 2014-08-14 17:01:54 +02:00
Rifakat fa27d28494 [FIX] stock: inventory lines with no production lot: compare with correct stock level
Inventory lines without production lot number should
be compared with the stock level of products without
a production lot. Otherwise the final result of a
validated inventory is wrong as soon as there are
lines with and without production lot for the same
product.

Adds corresponding regression test.

Fixes https://bugs.launchpad.net/openobject-addons/+bug/1008099
Manual rebase of #1658, courtesy of Numerigraphe
2014-08-14 16:51:37 +02:00
Olivier Dony 971ffa3db1 [FIX] account: reconcile: no useless revalidation
Avoid revalidating the complete account moves
that contain the lines being reconciled.
The reconciliation does not change the validity
of those moves anyway.
This represents a very important speed up of
reconciliation when moves with several hundred
lines are involved.
2014-08-14 16:51:37 +02:00
Mohammed Shekha 9207748a71 [FIX] Fixed the issue of calendar view reload events inconsistency, when the slow create popup creates event through any form button which is kind of object, action or workflow at that time events are reloaded but still button action is not called like workflow is not triggered and hence state of the event is still not changed and due to domain newly created event is filtered, note that events are refetched when create_completed is triggered and create_completed is triggered right after creation of record, but there are case where some form button changes state of the record and it requires to refetched for example we have scenario in mrp order planning where Confirm Production creates event but before workflow is triggered and state of the event is changed, events are reloaded and newly created event will not returned because of domain. 2014-08-14 16:21:20 +02:00
Jérome Maes 1a9b9442ac [FIX] base : context evaluation with active_id server side. It now keeps the active_id in case of a refresh. 2014-08-14 16:00:18 +02:00
cod-odoo 4f3db3ec04 [FIX] google_{account|calendar}: fix synchro
- no more tracebacks when trying to sync more than once with Google Calendar
- no more context hacks, explicit return of `ask_time`.

(Closes #1588)
2014-08-14 15:48:05 +02:00
Olivier Dony 79570179bf [MERGE] Forward-port saas-5 up to acbdac4 2014-08-14 14:56:57 +02:00
Olivier Dony acbdac4e9f [MERGE] Forward-port saas-4 up to 9a84d55 2014-08-14 14:54:37 +02:00
Olivier Dony 9a84d55036 [MERGE] Forward-port saas-3 up to 9b55532 2014-08-14 14:37:42 +02:00
Thibault Delavallée 6389181e8f [FIX] web: CharDomain form widget: fixed change selection
button not correctly displayed depending on the effective_readonly
parameter. It is now correctly computed.

Also added a link to see records when in view mode, instead of not
being able to see the selection if not in edit mode.
2014-08-14 13:10:26 +02:00
Denis Ledoux 9b5553286a [FIX] export: in saas-3, req becomes request.
Error during forward port b9275da8a5
2014-08-14 12:49:32 +02:00
Thibault Delavallée a574f83b0b [FIX] mail, mass_mailing: do not add a link to access the document
when the email is not a notification, or not an email usign the automatic
threading. This means that when doing mass mailing with a fixed reply_to
there won't be any link to access the original document, which is what
we want. Otherwise when mailing partners, they have a link to access
their own partner profile, which does not make sense.
2014-08-14 11:29:00 +02:00
Olivier Dony 8b12d1c566 [MERGE] Forward-port of 7.0 up to 85d2b45 2014-08-14 04:11:33 +02:00
Olivier Dony 85d2b45aaa [I18N] Update 7.0 translations with latest changes on Launchpad
See also https://github.com/odoo/odoo/wiki/GitHub-Transition#translations
2014-08-14 03:38:58 +02:00
Olivier Dony 96c36e895c [I18N] Update all 7.0 translation templates with latest terms and annotations
Total new terms: 168
Total deleted terms: 95
Total identical terms: 16329
(Some modules skipped, typically all l10n_* modules)
2014-08-14 02:24:24 +02:00
Olivier Dony bb30c858b3 [MERGE] Forward-port of saas-5 up to 6189c44 2014-08-13 20:56:32 +02:00
Olivier Dony 6189c44d97 [MERGE] Forward-port of saas-4 up to 65b6b81 2014-08-13 20:55:53 +02:00
Olivier Dony 65b6b81d2c [MERGE] Forward-port of saas-3 up to 303d2e0 2014-08-13 20:55:06 +02:00
Olivier Dony 303d2e09eb [FIX] portal_sale: access rights: sale.shop was removed at cf6595b
Fixes error in forward-port b9275da
2014-08-13 20:54:27 +02:00
Olivier Dony e11eddf753 [MERGE] Forward-port of saas-5 up to 20cc18d 2014-08-13 20:46:47 +02:00
Olivier Dony 20cc18dcf6 [MERGE] Forward-port saas-4 up to 847c7c8 2014-08-13 17:51:50 +02:00
Olivier Dony 847c7c836a [MERGE] Forward-port saas-3 up to daaef17 2014-08-13 17:50:34 +02:00
Olivier Dony daaef17ccb [FIX] portal_sale: missing closing tag in b9275da during forward-port 2014-08-13 17:49:40 +02:00
Olivier Dony 2a94d1d811 [MERGE] Forward-port saas-4 up to 2694ed1 2014-08-13 17:34:27 +02:00
Olivier Dony 2694ed1472 [MERGE] Forward-port saas-3 up to b9275da 2014-08-13 17:33:12 +02:00
Olivier Dony b9275da8a5 [MERGE] Forward-port 7.0 up to 23cffab 2014-08-13 17:30:06 +02:00
Olivier Dony 23cffab1f8 [FIX] portal_sale: remove more access rights, add pricelist access
Pricelist access is necessary for being able to read
the unit price of sale order lines, and does not
pose major security risks, as it does not permit
reading the actual pricelist definition.
2014-08-13 17:20:49 +02:00
Olivier Dony d03ae8980a [FIX] portal_sale: remove un-necessary access rights, improve rules
Portal access rights need to be associated with
security rules, or not granted at all, as soon
as they grant access to non-trivial data.
2014-08-13 16:46:42 +02:00
Thibault Delavallée e0967ba2ce [CLEAN] mail_message: removed an unused import 2014-08-13 16:45:58 +02:00
Thibault Delavallée 24140d1822 [FIX] mass_mailing: fixed label of ab testing not displayed in mailing
form view when not using campaigns; however this option should be displayed.
2014-08-13 16:45:58 +02:00
Thibault Delavallée be3b7ba301 [FIX] mail: posting on the user should be redirect to its partner, not nowhere. 2014-08-13 16:45:58 +02:00
Thibault Delavallée 0714b23164 [FIX] mail: when having only mail installed, do not show any 'share with my followers' compose box. This comes only with hr, for the inbox. This was probably forgotten when updating the mailboxes hr-goal and hr-related gamification / chatter stuff. 2014-08-13 16:45:58 +02:00
Denis Ledoux 8b0b0f7a1b [FIX] purchase: add purchase_order_count in kanban for purchase users only
No need to set account.group_account_manager for the field supplier_invoice_count, as account.group_account_manager implies account.group_account_user
2014-08-13 16:14:56 +02:00
Denis Ledoux 8276fb5853 [FIX] export: add the context in the export
In some cases, the data dispalyed in a list depends on the context
This context needs to be passed to the export method, so the exported data reflects correctly the data from the list view
2014-08-13 14:52:01 +02:00
Olivier Dony 7aa0376f3e [FIX] gamification: prohibitive record rule processing with many users/goals
Due to the multi-company record rule on gamification.goal,
each access to the Goals menu and each opening of the
Messaging menu (thus calling get_serialised_gamification_summary())
is extremely slow (with several thousands goals/users).

Adding auto_join to the user_id FK on goals makes it much
faster. However it causes crashes when reading the table
because the _order of gamification.goal uses `create_date`,
which becomes ambiguous after the auto_join with res_users.

Solving this can be done by re-implementing _read_flat()
in the ORM using the internal Query object, as in search(),
which takes care of fully-qualifying all column names.

Until this is fixed, a simple workaround is to use
start_date in the _order instead of collision-prone `create_date`.
2014-08-13 13:47:50 +02:00
Thibault Delavallée 9d370f6e31 [FIX] mail, email_template: prevent user from creating
templates in the templat_idm2o field on the wizard; prevent users from
creating models in the model_id m2o field on the template form view.
2014-08-13 13:43:27 +02:00
Olivier Dony 6b8af73179 [FIX] account.invoice: payments can never be shown to portal users, but residual might be needed
The residual amount is typically needed to render the
online payment forms (payment acquirers).

Payments on the other hand rely on account.move.line,
something that portal users should never be allowed to read.
Removing the field from the view by setting a model-level
group permission ensures they will not see an error.
2014-08-13 12:38:38 +02:00
Denis Ledoux ca55a24374 [FIX] procurement, stock: forward port of bug fix 3609ba10f2 2014-08-13 12:00:38 +02:00
Olivier Dony f2788afe92 [FIX] portal_sale: browse data for payment acquirer form with superuser ID
The payment form needs to be rendered for non-employee
users, and may require accessing extra financial data
not available for those users.
2014-08-13 11:50:04 +02:00
Olivier Dony 18fe7abcc6 [FIX] account_followup: avoid crashing when a move line has no ref 2014-08-13 11:45:59 +02:00
Christophe Simonis ff0ab6426a [FIX] web_graph : display the corresponding label for selection fields in graph view 2014-08-13 11:12:20 +02:00
Olivier Dony 4114c761dd [IMP] website: do not translate sitemap URL 2014-08-13 10:51:39 +02:00
Denis Ledoux fe83c11301 [MERGE] forward port of branch saas-4 up to b49755b
The forward port of the fix 3609ba10f2 will be done separately, as the mrp scheduler has been completely refactored from saas-5.

Conflicts:
	addons/l10n_be_coda/wizard/account_coda_import.py
	addons/point_of_sale/static/src/xml/pos.xml
	addons/procurement/schedulers.py
2014-08-13 10:45:36 +02:00
Denis Ledoux b49755b545 [MERGE] forward port of branch saas-3 up to 591326c 2014-08-13 10:29:14 +02:00
Denis Ledoux 591326c54e [FIX] pos: the widget.pos.cashier is not always defined 2014-08-13 10:20:03 +02:00
Rashmin Lumbhani fa76ae952b [FIX] fleet: creation of suppliers is now correct 2014-08-13 09:11:18 +02:00