Commit Graph

73979 Commits

Author SHA1 Message Date
Jérome Maes d0315f1b5c [FIX] im_chat : fix the im_search method 2014-08-28 10:09:37 +02:00
Denis Ledoux 04a56d8f6b [FIX] website_blog: controllers blog expects a date, not a datetime 2014-08-27 18:13:53 +02:00
Max Mumford d662aeaa27 [FIX] stock: missing quantity parameter from get_price_from_picking 2014-08-27 17:13:14 +02:00
Denis Ledoux 6b15d3add2 [FIX] portal_sale: portals are not allowed to see payments
Portal users are not allowed to read account.move.line model
Therefore, in the portal, if you let the payments in the invoice view, the portal user is warned that he is not allowed to see account.move.line
2014-08-27 16:42:14 +02:00
Ravi Gohil df5633dcab [FIX] account: avoid date and cache issues
Explicitely refresh invoice browse_record(...) in order to have correct 'date' in account.move.
Use context_today() date instead of time.strftime() for date_invoice. (opw 611210)
2014-08-27 15:03:47 +02:00
Antoine Huvelle 46c71cd18d [IMP] stock: filter for procurement.type view
Shouldn't allow to select view in the location field. Otherwise you'll end having pickings composed of stock moves using view stock locations.
2014-08-27 14:56:03 +02:00
Raphaël Valyi 64f65ee8f6 [FIX] stock: moves link on product form opening wrong view
Fixes #2008
2014-08-27 14:39:13 +02:00
Fabien Meghazi f2583323a9 [FIX] language and model converter redirections should use code=301 2014-08-27 14:05:09 +02:00
Thibault Delavallée 32053a5bf3 [FIX] res_partner: Meetings button on form view was not correctly
filtering displayed meetings according to the selected partner.
2014-08-27 12:31:48 +02:00
Nicolas Seinlet 23df2ec28a [FIX] sale: on create, set taxes if product_id_change called 2014-08-27 11:48:40 +02:00
Thibault Delavallée f5c60d482b [FIX] website_event: pager now takes into account the searches performed
by the user. Otherwise it was resetting the search to all events.
2014-08-27 11:41:51 +02:00
Thibault Delavallée 1e402cb084 [FIX] website_forum: fixed comment unlink action :
- fixed call to a wrong method
- fixed button display, now based on the standard way of managing karma (popup when
not having the required karma)
- fixed button display karma computation
- some css tweaking for this button
2014-08-27 11:41:51 +02:00
Thibault Delavallée 5b4f8a6278 [FIX] Survey: typo (en_US wording) 2014-08-27 11:41:51 +02:00
Fabien Pinckaers 856daf8df9 [IMP] expl p 2014-08-26 21:45:52 +02:00
Fabien Pinckaers 8aca457e34 [IMP] Updated website urls on modules and info page 2014-08-26 21:40:18 +02:00
Denis Ledoux 480f73c1ef [IMP] account: Invoice analysis, filter year by default
For companies having a lot of invoice, not applying the year filter leads to a long reponse time
2014-08-26 18:28:56 +02:00
Denis Ledoux 362221b6f5 [FIX] resource: security, resource not readable by externals 2014-08-26 18:10:14 +02:00
Denis Ledoux 1f4f0c0768 [FIX] email_template: security, email_template no rights for externals 2014-08-26 17:32:04 +02:00
Martin Trigaux 30469bd69b [FIX] account: name of bank statement is not required
At the confirmation of a bank statement, the name may not be set (e.g. generated by point of sale). This field is not requred so make a fallack on the statement line (which is required).
2014-08-26 16:33:58 +02:00
Martin Trigaux 69cd13a084 [FIX] point_of_sale: incorrect sequences for orders
A new ir.sequence is generated at pos.config creation for the orders. However it was not used as the type was not set. The fallback was done on the general sequence.
In addition to the sequences being shared, it was not possible to create a pos.order in multicompany (no sequence found for user company, name was null).
Same issue for the pos.order.line.
This patch generates correctly pos.order and pos.order.line sequences at pos.config creation.

Instead of using the pos.config sequence to generate session number (not what this field was intended to), use the existing sequence for pos.session.
Remove company_id value on default pos.session sequence to make sure it's shared between companies and correctly set the prefix.
2014-08-26 16:33:58 +02:00
Martin Trigaux f6dceb2ef6 [IMP] point_of_sale: prevent multicompany configuration issues
If the pos.config is not properly configured for multicompany (e.g. using location belonging to another company), launching a session with this config may fail (access rights).
This prevents to configure an incorrect point of sale in the first place.
2014-08-26 16:15:22 +02:00
Denis Ledoux 3f7f2a51fa [FIX] security: remove read access on company critical fields 2014-08-26 15:35:47 +02:00
Jeremy Kersten 720ddf86ee [FIX] crm_lead: add utm in the group by from opportunities search view 2014-08-26 15:06:51 +02:00
Thibault Delavallée 93e7a6283f [FIX] website_forum: second part of the fix introduced at revision fd5516ade8. Wrong commit was added to 8.0, missing code cleaning. 2014-08-26 14:12:11 +02:00
Denis Ledoux 53582c2ea6 [FIX] security: res.groups should be readable by admins only 2014-08-26 13:31:41 +02:00
Gaurav Panchal fd5516ade8 [FIX] website_forum: issue in biography (unnecessary tags added by editor) + menu control (Users / My Profile) 2014-08-26 13:25:31 +02:00
Thibault Delavallée 10741e2799 [FIX] website_forum: fixed setting an answer as valid / invalid. The change
in the behavior of browse records due to the new API introduced a wrong
behavior, now fixed.
2014-08-26 13:25:31 +02:00
Denis Ledoux 80017b04c2 [FIX] security: ir.config_parameter should not be readable by externals 2014-08-26 12:50:04 +02:00
Frederic van der Essen 73fc6419a9 [FIX] point_of_sale: the order reference used the session sequence number wich was not unique accross sessions on different point_of_sales.
Now we are using the session id which is unique, but is less understandable
2014-08-26 12:38:35 +02:00
Frederic van der Essen f1d4d8d86c [IMP] point_of_sale: automatically update partners data when they are modified 2014-08-26 12:21:04 +02:00
Frederic van der Essen ea7b440dc8 [IMP] web: allow rpc options to be passed to Model.query() calls 2014-08-26 12:21:04 +02:00
qdc f57787e07e [IMP] Cleaning of reporting (group_by, filters), adding new favourites and default views, some renaming (py and xml files) 2014-08-26 11:56:49 +02:00
Jeremy Kersten 20d366595c [IMP] website: Redirect user in the language of the browser 2014-08-26 11:54:07 +02:00
Fabien Meghazi 709dc659b2 [IMP] Allow to specify http code for request.redirect() 2014-08-26 11:50:13 +02:00
Josse Colpaert 745b02184a Merge pull request #1992 from odoo-dev/8.0-wmspartialview-jco
8.0 wmspartialview jco
2014-08-26 11:48:33 +02:00
Cedric Snauwaert a65a95fbf7 [FIX] web: fix blur problem in FieldMany2One widget when clicking on autocomplete option inside a wizard 2014-08-26 11:26:28 +02:00
Denis Ledoux e7f8425a3a Revert "[FIX] web: grid headers should be aligned properly"
This reverts commit 4c335588a1.
It leads to table widths inconsistencies: The tables take more width then before, and overflow much more than before. This can be seen in "Accounting" > "Journal Entries", in the list of the form view
2014-08-26 10:56:44 +02:00
Fabien Pinckaers b0d99b0ff0 [FIX] redirect /page/website.xyz --> /page/xyz. Currently 302 but fme will convert to 301 2014-08-26 10:29:18 +02:00
Jeremy Kersten a360bc3126 [FIX] website_event: allow everybody to ready event.type. Else a user who is not public, not portal and not event user or event manager cannot read the event. 2014-08-26 09:45:25 +02:00
TheCloneMaster 4b446550c6 [FIX] hw_escpos: Replaced "tab" by space
call to self.open() had a tab instead of spaces
2014-08-25 18:08:40 +02:00
Daniel Dico f880d89cc4 [FIX] sale_order_line: use order date to compute currency instead of current date 2014-08-25 18:04:43 +02:00
Daniel Dico 180c4734a6 [FIX] product_visible_discount: use order date to compute currency instead of current date 2014-08-25 17:53:47 +02:00
Fabien Meghazi 18068a5e79 [FIX] website.layout hreflangs
- First line is not correct due to url_for() refactoring's leftover
- href's should be full urls with domain name
- Use short language for hreflang if possible
2014-08-25 17:43:39 +02:00
Martin Trigaux 231a478ca9 [FIX] website_sale: pager in product list
Keep the reference to category and search view in pager.
Update the search template to include form and keep correct reference to the category (as a slug and not a parameter).
Fixes #688
2014-08-25 17:43:03 +02:00
Christophe Matthieu c27bd90bfc Merge pull request #1970 from odoo-dev/8.0-fix-dont-display-edit-product-many2many-chm
[FIX] product: don't display 'create and edit' option on many2many_tag
2014-08-25 17:37:52 +02:00
Denis Ledoux 9b3f3fecfe [FIX] hr_holidays: employees cannot approve their holidays
Nor modify once approved

It wasn't possible for employees to approve their holidays themself, thanks to the GUI, but this was possible through xmlrpc calls, or when altering the html directly in the browser.
Besides, this was also possible to edit the holiday through the same trick once the holiday validated
2014-08-25 14:51:03 +02:00
Frederic van der Essen 8b4c7d7655 [FIX] point_of_sale: the category list now uses less space when the categories don't have pictures, freeing some screen space on tablets 2014-08-25 14:31:44 +02:00
Christophe Simonis a8fa00e14e [FIX] mail: do not send email at module installation 2014-08-25 12:12:24 +02:00
Ravish Murari bc3991b4c5 [FIX] board: Do not offer to create dashboard when there is no action
In case we have no defined action (e.g. redirection by python code), adding a dashboard should not be possible as the rendering based on the action.
This patch hides the 'Add to Dashboard' button in search view (opw 611288)
2014-08-25 12:03:12 +02:00
Thibault Delavallée b8ac2d1ed7 Merge pull request #1776 from acsone/8.0-jne-mass_mailing-improvements
[FIX] Mass mailing: fixed statistics computation + summary graph tooltips (using ustr) + values of the mass mailing when creating it from the mail composer wizard. Courtesy of Acsone.
2014-08-25 10:13:55 +02:00
Josse Colpaert 924ebcf04b [IMP] No propagation when destination move is done/cancel 2014-08-25 10:07:41 +02:00
Josse Colpaert 5242cfceea [FIX] Make sure packages are not shown when the setting is not checked 2014-08-25 09:23:05 +02:00
Raphael Collet 2ad092b5e5 [ADD] doc: new documentation, with training tutorials, and new scaffolding 2014-08-22 17:51:20 +02:00
Fekete Mihai 7dbb16a856 [IMP] stock: stock incoterm converted to uppercase 2014-08-22 17:23:21 +02:00
Martin Trigaux 73546f70ca [FIX] point_of_sale: generate bank statement with commerical partner
When a pos session is closed & confirmed, the account.move were generated with the commercial partner except for the bank statement which prevented automatic reconciliation.
This patch uses the commercial partner also for bank statement.
Fixes #1558, #1764
2014-08-22 15:29:23 +02:00
Raphael Collet 97256fa1fb [IMP] models: move prefetching of records back to method _prefetch_field
The selection of records in cache for prefetching was moved to method
_read_from_database() by xmo at rev 785018cc in order to fix an access right
bug.  But this introduced an issue: to explicitly avoid prefetching, you should
use read() instead of browsing records.  We revert the change by xmo, without
reintroducing the bug (which apparently was fixed by another way).
2014-08-22 14:42:20 +02:00
Thibault Delavallée 78a9a6fcaa [FIX] crm, hr_recruitment, task, issue: fixed default priorities + order based on priority (desc for everyone now) 2014-08-22 14:39:36 +02:00
Christophe Matthieu b3aad9f511 [FIX] product: don't display 'create and edit' option on many2many_tag to create variant on product_template. The quick create is confusing for users 2014-08-22 14:20:14 +02:00
Martin Trigaux b160f99e2d [FIX] fetchmail: do not delete a failing email when using POP
In case of IMAP, the email is simply set as read but in case of POP, the email is deleted. To avoid loosing data (e.g. misconfiguration of server), the email is kept for POP.
Bug lp:1296724, opw 605667
2014-08-22 14:14:56 +02:00
Christophe Simonis 5a5f811d23 [REVERT] commit 5e5c73e
Branch 8.0 is a **stable** branch. This mean no database schema
changes.
2014-08-22 13:59:22 +02:00
Thibault Delavallée 863b361707 [FIX] [IMP] mail: mail_message: when checking that access rights are not
violated in _search, do it in SQL to speedup the query. Indeed doing it via search and
browsing the results to validate the various rules is quite costly.
2014-08-22 13:36:54 +02:00
Thibault Delavallée 3211ff7c78 [FIX] mail: when checking for possible messages to fetch, perform
a search_count on mail_message when the actual number of messages or their
ids is not necessary, to speedup the computation.
2014-08-22 13:36:54 +02:00
Géry Debongnie 10be95407a [FIX] css fix in graph view
The field selection menu was not positioned correctly when there was
a long list.  (was not displayed at the position clicked)
2014-08-22 13:18:40 +02:00
Bhavik Bagdiya 4c335588a1 [FIX] web: grid headers should be aligned properly 2014-08-22 12:54:17 +02:00
Cedric Snauwaert 80c09a8d98 [REVERT] web: fixed css of hidden input file: could not click on add attachments anymore
This reverts commit 4e32b9f6f3.
2014-08-22 11:54:15 +02:00
Josse Colpaert 754cbf2d73 Merge pull request #1906 from odoo-dev/8.0-wmsusability-jco
8.0 wmsusability jco: Some usabillity issues and a fundamental issue on the location of extra moves
2014-08-22 10:33:47 +02:00
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