Commit Graph

73573 Commits

Author SHA1 Message Date
qdp-odoo 9b0cac0aa0 [FIX] account_followup: total in foreign currency displayed in the right currency instead of company currency 2014-08-11 15:23:05 +02:00
Nicolas Seinlet 8dc8302dad [ADD] wms: add option to select package type in WMS barcode interface 2014-08-11 13:45:39 +02:00
qdp-odoo 5e20e7a302 [FIX] account, point_of_sale: fixed the feature to put money in or take money out of a cash register. Fix #1416 2014-08-11 13:18:17 +02:00
Denis Ledoux 77fd6fe9d4 [FIX] account_bank_statement_extensions: inadvertence error during cbe2dbb
Inadvertence error during the convertion to the new API.

line_ids is already a list, no need to set it again in a list.
2014-08-11 11:50:58 +02:00
Thibault Delavallée 765beaa0c9 [FIX] web: form view: priority and kanban widgets cleaning, now more like classic form widgets (edit mode: use set_value, view mode: perform a write) 2014-08-11 10:44:21 +02:00
watermelonjuice 0aef6fac10 [FIX] website_forum: Minor grammar error 2014-08-11 08:52:23 +02:00
Richard Mathot 413bc62503 [FIX] survey: regressions introduced in forward-port fd4fd35e32 2014-08-08 17:07:31 +02:00
Thibault Delavallée dea05e6a84 [FIX] sale_stock: product_id_change_with_wh should not call another method (product_id_change) using super, but self. Otherwise some overrides are lost, leading to issues with event-related products. 2014-08-08 16:57:32 +02:00
Olivier Dony 6da3648fd6 [FIX] website_mail: mail.message.check_access_rule: no check for super-user 2014-08-08 16:56:44 +02:00
Christophe Simonis d5e8b42690 [FIX] survey: use relative urls for url actions 2014-08-08 15:24:48 +02:00
Olivier Dony f1d5dfa85b [IMP] sale_stock: do not verify inventory for non-stockable products (sale.order.line onchange) 2014-08-08 14:37:14 +02:00
Raphael Collet 207013c74f [IMP] refactoring: move function topological_sort to openerp.tools 2014-08-08 14:12:06 +02:00
Frederic van der Essen 7f82caa1a4 [FIX] point_of_sale: show_popup('name','comment') should display the comment in the popup 2014-08-08 13:48:33 +02:00
Thibault Delavallée ac212e2758 [FIX] ir_actions in website: allow to compute website_path even when creating a new server action (avoid crash then) 2014-08-08 11:43:28 +02:00
qdp-odoo dce11788fa [FIX] stock_landed_costs: fixed several issues related to the computation and the accounting entries creation. Added a yaml test to cover the different split methods 2014-08-08 10:58:14 +02:00
Christophe Matthieu 3d62ed0aac Merge pull request #1649 from odoo-dev/8.0-fix-website_quote-scrollspy-chm
[FIX] website_quote: Must remove id created by the javascript of scroll spy.
2014-08-08 10:36:44 +02:00
Christophe Matthieu 009cc5278e [FIX] website_quote: scroll spy is crazy if the user change quote template. Must remove id created by the javascript of scroll spy. 2014-08-07 18:39:35 +02:00
Olivier Dony 2bbff57691 [IMP] hr,mail,product,project,base: use @auto_join=True on _inherits FK field
This can give a performance boost on large databases
and should not be a concern in terms of access control
as the inheritance already grants access to the parent
records.
2014-08-07 18:03:08 +02:00
Olivier Dony 4b2f2a1561 [IMP] calendar.event: _compute should be done in batch + consistent @multi attributes 2014-08-07 18:03:08 +02:00
Olivier Dony 6445ce7922 [FIX] calendar.read: do not re-compute `display_time` for virtual calendar ID if not requested 2014-08-07 18:03:08 +02:00
Olivier Dony 30ddb67299 [IMP] calendar: simplify/optimize `rrule` computed field
Avoid reading one record at a time, leading to multiple
calls to read() which is special-cased and even slower
than a normal one.
2014-08-07 18:03:08 +02:00
Thibault Delavallée 2e5412fc1d [FIX] mail, BaseModel, portal_sale: fixes and improvements in the URL
management to access documents in notification emails, as well as for the
'view quotation' link in portal_sale module.

models: added a get_access_action method: basically, returns the action to
access a document. It uses the get_formview_action by default (form view
of the document). However for some documents we want to directly go to the
website, leading to an act_url action for some documents. This method allows
this behavior.

portal_sale: get_signup_url now uses the mail.action_mail_redirect method
instead of directly redirecting towards a portal menu. This allows to fall
back on a standard behavior.

portal_sale: get_formview_action updated, to match actions tailored for
portal users.

website_quote: get_access_action of sale order updated. If the sale order
has a template defined, the returned action is an act_url (website view
of the quotation), not the form action anymore.

mail: fixed signature + company signature in notification emails. Even without
user signature, the company signature + access link should be correct.

portal: signup url in notification emali was not using the mail redirection
as action. It is now the case.
2014-08-07 16:47:59 +02:00
Thibault Delavallée e9f9bb5802 [FIX] email_template: when generating body containing the user's signature, add it as html as it is now pure html, not plaintext anymore. 2014-08-07 16:47:59 +02:00
Frederic van der Essen 43be035401 Merge branch '8.0' into 8.0-pos-imps2-fva 2014-08-07 14:59:26 +02:00
Frederic van der Essen 22676c7447 [IMP] pos_restaurant: update some paths due to module name change 2014-08-07 14:05:30 +02:00
Frederic van der Essen 81304870ba [IMP] restaurant: renamed to pos_restaurant 2014-08-07 13:27:51 +02:00
Richard Mathot a949b09c3e [FIX] website_sale_option: make options work 2014-08-07 09:51:27 +02:00
Thibault Delavallée 0c462a12b9 [FIX] mail: compose wizard: fixed default_get overrides not correctly managing the received field_list + improved custom call to default_get to correctly manage its in and out values. 2014-08-07 08:54:10 +02:00
Thibault Delavallée 2ca875572a [FIX] crm: fixed day_open and day_close computation (conditional store + be sure that date_open and date_closed fields are set) 2014-08-07 08:54:10 +02:00
Thibault Delavallée 622b52d262 [FIX] project_issue, resource: fixed computation of hours / days to open (assign) or close an issue. Those fields now have a conditional store, because they were not recomputed even when changing date_open and date_closed. Changing the stage now correctly changes the date_closed. Also added some fixes in resource module, the date was not correctly taken into account when computing the number of working hours between two dates. 2014-08-07 08:54:09 +02:00
Christophe Simonis 135962184d [FIX] web: make search by `id` possible.
+ correct tests
2014-08-06 17:27:27 +02:00
Christophe Simonis dc9bcf479d [FIX] Allow search on `_inherits` fields.
As `_inherits` fields are now handled via `related`
fields (not stored, obviously), a new descriptor
`searchable` has been added to `fields_get()` result
to indicated if the field is searchable or not.
2014-08-06 15:01:01 +02:00
Daniel Dico 6dc4676632 [FIX] website_livechat: reference of demo data was preventing to install the module
Added a record of im_livechat.channel in website_livechat data
2014-08-06 14:50:01 +02:00
Fekete Mihai 87a870ccbd [FIX] stock: typo when selecting inventory on single product 2014-08-06 11:37:22 +02:00
Richard Mathot 52a37be447 [FIX] project_issue: reviewer_id doesn(t exist
(partial revert of 44a5268c00)
2014-08-06 10:30:52 +02:00
Thibault Delavallée 836b0f864e [FIX] hr_contract: count the number of contracts of an employee as superuser_id as this field is required in the form view. However no data is displayed, and no data about the contracts are leaked, so no security holes. 2014-08-06 09:01:09 +02:00
Denis Ledoux 625aa7e75d [MERGE] forward port of branch saas-5 up to 7d7f6fe 2014-08-05 16:04:58 +02:00
Denis Ledoux 7d7f6fefb1 [FIX] purchase: now allow 'can be purchased' to be checked even if not variant
Before, the field purchase_ok was set as readonly on the product form if the product wasn't a variant, to avoid users to set all the products variants associated to the product template to be set as purchase able in one action.

We now consider that this can be done by the end user
2014-08-05 16:01:55 +02:00
Denis Ledoux 497883cc51 [FIX] web_kanban: parent can be undefined in some cases
opw-611106, when clicking quickly Sales > Opportunities than Sales > Leads.
2014-08-05 15:44:57 +02:00
cod-odoo 2d54afef9e [FIX] account: prevent crash onchange company_id
(rebase of #1534)
2014-08-05 15:09:32 +02:00
Frederic van der Essen dbc2d309b4 [FIX] point_of_sale: partner list rendering was not refreshing correctly. + limited display to 1000 partners for performance reasons 2014-08-05 14:10:59 +02:00
Frederic van der Essen d30dc934f6 [IMP] restaurant: discard kitchen order changes when splitting the bill. 2014-08-05 14:09:58 +02:00
Frederic van der Essen 09bf85ae02 [IMP] restaurant: a module that extends the point of sale with restaurant features 2014-08-05 14:09:48 +02:00
Frederic van der Essen bfd66f351b [FIX] point_of_sale: removed useless console.log() 2014-08-05 14:09:21 +02:00
Frederic van der Essen a27d1a7134 [IMP] point_of_sale: allow an order to remember what screen it was on, instead
of switching back to default screen.

This is used by the soon to be merged restaurant addon to create new orders
and display them at a particular screen.  However, this behaviour is more
confusing in the other cases, so I'll think of a better way to solve this.
2014-08-05 14:09:07 +02:00
Frederic van der Essen cb725a973d [IMP] pos_discount: a new pos extension that allows you to quickly give a global discount on the current order 2014-08-05 14:08:51 +02:00
Frederic van der Essen 28de2183ea [IMP] point_of_sale: report errors when loading the point of sale with a traceback and a nice popup 2014-08-05 14:08:38 +02:00
Frederic van der Essen eacd5329e3 [IMP] point_of_sale: made the server data loading more modular for easier development of point_of_sale extensions 2014-08-05 14:08:24 +02:00
Frederic van der Essen db9a06b842 [IMP] point_of_sale: tests work better when they are loaded and run by the unit test system! 2014-08-05 14:08:08 +02:00
Frederic van der Essen 59396b45f5 [IMP] point_of_sale: forgot changes in this file in the previous commit that introduced unit tests 2014-08-05 14:07:58 +02:00