Commit Graph
93527 Commits
Author SHA1 Message Date
Raphael Collet 2f06adde9c [IMP] models: speedup registry loading (35% less time)
The field setup on models is improved: only fields are determined when building
the model's class; the final _columns is computed from the fields once they are
set up.
2015-01-21 11:26:23 +01:00
Adrien Peiffer 37e85a1e35 [FIX] view form: Use digits to round float values on client side 2015-01-21 10:38:32 +01:00
Julien De Coster f3e7cd1c0e [FIX] Mass mailing and marketing campaign glitch
1. Remove the mass mailing install checkbox from marketing and sales settings
2. Show the mass mailing settings only when the module is installed
3. Remove the marketing campaign install checkbox from marketing settings
4. Move the marketing_crm module into marketing_campaign
5. Merge the *.po files from marketing_crm with marketing_campaign
2015-01-21 10:05:48 +01:00
Géry Debongnie fe352d673f [FIX] web: properly hide list view in pop up dialogs
a many2many field can open a pop up dialog with different views, such
as form view and list view.  when the user click on the create button,
it should hide the list view and display the form view.  apparently,
this behavior was hardcoded in the pop up dialog, and broken at some
point between v8 and master.

A proper fix would be to abstract the
view manager behavior as a mixin and use it for the selectcreatepopup
widget, for the one2many view manager and for the viewmanager.  But this
will take too much time for now, so a quick fix will do it. (however a
task has been created)
2015-01-21 09:49:17 +01:00
Denis Ledoux 124e476943 [FIX] google_calendar: do not strip bools
myself.cal_client_id could be False, when not filling in the according field in the general settings screen.
Therefore, trying to strip it won't work, as boolean do not have such method.

Regression introduced during rev. faee926f1b
2015-01-20 18:46:03 +01:00
Fabien Pinckaers acc74dcfa4 [IMP] layout issues /groups 2015-01-20 18:40:15 +01:00
Fabien Pinckaers ce8d894e4b [IMP] speed improvements /groups 2015-01-20 18:39:05 +01:00
Aaron Bohy 9c8c534c19 [FIX] Packaging: RedHat: prompt overriden in docker
RPM packages did not pass the tests because the centos prompt changed
and thus did not match the regexp anymore. We now explicitely specify
the prompt in our Dockerfiles to prevent such issues.
2015-01-20 17:39:14 +01:00
Simon Lejeune e40a6fd325 [FIX] tools: pass env in exec_pg_command 2015-01-20 17:36:20 +01:00
Simon Lejeune e901fa20e4 [FIX] web: don't shadow exception in do_backup 2015-01-20 17:36:19 +01:00
Aaron Bohy a911265c12 [FIX] Packaging: RedHat: prompt overriden in docker
RPM packages did not pass the tests because the centos prompt changed
and thus did not match the regexp anymore. We now explicitely specify
the prompt in our Dockerfiles to prevent such issues.
2015-01-20 17:35:34 +01:00
Thibault Delavallée 9135d677e8 [FIX] website_forum: res.users inheritance: fixed call to super in
get_serialised_gamification_summary, parameter was forgotten. Regression probably
added in the migration to the new API.
2015-01-20 17:34:33 +01:00
David Monjoie 28c79ec7d0 [IMP][REF] website_forum: added the published mixin. A hook on res.users
has also been added, because the action open_website_url linked to the publish
button is not defined on res.users model (but on its inherited partner).
It now has the method that is routed on its partner.
2015-01-20 17:34:33 +01:00
David Monjoie d4d5b1b562 [REM] website_membership: removed unnecessary override of product model
because published field on products are not used in membership website
module.
2015-01-20 17:34:33 +01:00
David Monjoie b81d384c52 [IMP][REF] website_hr: add of published mixin, update of displayed
employees. Website publishers now see all employees + a publish button, like
for other website documents. Other people see the same published employees
as before.

The URL link for employees is not a specific url for each employee but the
about us page.
2015-01-20 17:34:33 +01:00
David Monjoie 280774ae8d [IMP][REF] website_crm_partner_assign: add published mixing on grade model.
Also cleaned grade form view and its inheritance.

Now the website displays partners related to all grades (website publisher) or
only published grades (other people). A publish button has been added in the
website for grades, to have the same behavior as for other website documents.
2015-01-20 17:34:33 +01:00
David Monjoie e185ad21eb [IMP][REF] website_partner: add published mixin on res.partner object.
Also added basic controllers on the partner model, allowing to see the public
page of a published partner (or all partners if website manager). The template
was already existing, but the controller was missing. It has been added.

[FIX] website_customer: fix the inheritance of view as the website group has been
removed in the parent view. Also added a breadcrumb fix.
2015-01-20 17:34:33 +01:00
David Monjoie 04e412ccb8 [IMP][REF] website_blog, website_event, website_event_track,
website_hr_recruitment, website_sale: add published mixin on blog / event /
track / job / product objects and update their website url and form view
according to the publish mixin/button refactoring.
2015-01-20 17:34:33 +01:00
David Monjoie b84721cb21 [IMP][REF] website: introducing a mixin class to handle website_published
and website_url fields. This will allow to remove custom code in every website
addons that redefine those two fields and the URL getter method.
The published button in backend has also been cleaned. It is now a link button
that redirects to the website_url. It does not change the publish status
anymore. Indeed it makes sense publish and unpublish website documents
directly in the website, while checking that everything is correct, instead
of doing it in the backend.

Next commits will update the Odoo addons to use this mixin and the new button
in the form view.
2015-01-20 17:34:33 +01:00
Olivier Dony 62aa07c7e3 [IMP] README.md: badges for docs, help, nightly 2015-01-20 17:21:38 +01:00
Mitesh Savani 664b15ee88 [IMP] hr_recruitment: onboarding improvements:
- removed unnecessary More menu entry to see the meetings from applicants
- small wording / display fixes on applicant form view
- applicant graph view tuning
- job form view inheritance cleaning
2015-01-20 17:05:56 +01:00
Mitesh Savani 9a7dd4b827 [IMP] hr_holidays: onboarding improvements
- labelling
- check_holidays does not raise anymore, the constraint is responsible of doing it
- cleaning of holidays status form view
- number of remaining days on an employee is now in technical feature, leave
summary exist to have statistics
2015-01-20 17:05:56 +01:00
Mitesh Savani d8371cf674 [IMP] base: res_bank: hr-related onboarding: account owner relabeled
to accont holder.
2015-01-20 17:05:55 +01:00
Mitesh Savani 0dfc44bbb2 [IMP¯hr: onboarding improvements :
- label improvements
- added Other gender
- update demo data (less odoo-ish); those have also been updated in hr_payroll and
project_timesheet
2015-01-20 17:05:55 +01:00
Binjal Desai 6f99f73260 [IMP] purchase: add tips :
- add a tip on purchase recept for the scrap products button
- add a tip on the shipemnt stat button
2015-01-20 17:01:41 +01:00
Denis Ledoux c73be555bf [FIX] website_sale: product attribute, value, price ACLs
When a model is regarded as public readable, no group should be set on the ACL,
to allow ANYONE to read the model, not just the users within the public group.
2015-01-20 16:55:52 +01:00
Bhavik Bagdiya e134b74376 [IMP] mass_mailing : opt-out filter by default in selection of recipient
To avoid spamming people who asked not to be spammed.
2015-01-20 16:51:23 +01:00
Denis Ledoux 68f3ed6569 [FIX] crm: convert to opportunity, avoid overwrite user defined action default 2015-01-20 16:37:57 +01:00
Martin Trigaux 79e01f0f4d [FIX] gamification: fetch results is a tuple 2015-01-20 16:15:10 +01:00
Martin Trigaux ec0c0f2973 [IMP] gamification: performance improvement
Reduce the number of goals that are recomputed. Remove the goals for users that
did not connect since the last update.
Add sql query for faster lookup and restrict on user table
2015-01-20 14:42:56 +01:00
Martin Trigaux fb8dc5793b [FIX] gamification: translate string 2015-01-20 13:57:10 +01:00
Frédéric van der Essen 8f14f7a2f2 [FIX] point_of_sale: skip empty barcodes 2015-01-20 13:47:21 +01:00
Xavier Morel b2415473de [REVERT] typo should be fixed in the source text, not in the POT
Revert of ffff4981f4.
2015-01-20 13:29:18 +01:00
Denis Ledoux 23da42d5a0 [MERGE] forward port of branch saas-3 up to dd72d15 2015-01-20 13:25:53 +01:00
Christophe Simonis 46162bd6a2 [FIX] web_calendar: adapt date format to fullcalendar v1 2015-01-20 13:23:46 +01:00
Fabrice Henrion ffff4981f4 [IMP] Typo
closes #4784
2015-01-20 12:45:51 +01:00
Richard Mathot e8e3b99fa5 [FIX] event_sale: missing parenthesis - see a51e41d343 2015-01-20 12:42:02 +01:00
Denis Ledoux dd72d1537f [MERGE] forward port of branch 7.0 up to fb4c822 2015-01-20 12:21:52 +01:00
Denis Ledoux fb4c822000 [FIX] account_asset: using attrs to hide method_* fields
In order to hide fields method_number and method_period to hide them according to the asset, fields_view_get method was overriden.
An issue was present: if a search view on model account.asset.asset was added, and did not contain these method_* fields, this overriden fields_view_get was applied, and tried to hide method_* fields, while they were not present in the search view, which leaded to a crash.

I could have solved this the easy way, to not apply the invisbility if the fields were not present in the view, or if the view was something else than form, but I prefered to solve this the cleanest way.
2015-01-20 12:17:45 +01:00
Olivier Dony cba1ff1e11 [FIX] base,payment_authorize: remove deprecated tests boilerplate
Complements 902be20de0
2015-01-20 12:05:47 +01:00
qdp-odoo 0cbba7c222 [FIX] stock: display the pack operations in the same order than the stock move (if possible) 2015-01-20 12:02:16 +01:00
qdp-odoo 12342165d1 [FIX] stock: use the right order by default on stock moves 2015-01-20 11:59:43 +01:00
Olivier Dony 025a81225b [FIX] website_forum: bad conflict resolution during last forward-port
kdiff3 use should be forbidden :-)
2015-01-20 10:33:04 +01:00
Raphael Collet d751c08e12 Merge pull request #3520 from odoo-dev/8.0-fix-name_search-cto
[FIX] name_search() using ilike on field id or any integer field
2015-01-20 09:56:04 +01:00
Samus CTO acd7d84da4 [IMP] make name_search() use '=' if col _rec_name is an integer
When looking for an issue number, it's more useful to match the word in
the whole string instead of just a part of it.
2015-01-20 09:52:55 +01:00
Samus CTO 332154444d [FIX] Can not search using a string operator on column id 2015-01-20 09:52:55 +01:00
Christophe Simonis 8f30139b65 [MERGE] forward port of branch 8.0 up to edbb141 2015-01-19 20:32:56 +01:00
Christophe Simonis edbb14143e [FIX] test_new_api: it works by accident but company_id <> partner_id 2015-01-19 20:26:31 +01:00
Christophe Simonis 9b69417237 [FIX] l10n_be_coda: as a transaction may have more than one line, using the transactionRef as unique key is not enought. 2015-01-19 19:41:05 +01:00
Christophe Simonis 0ef1850bcd [FIX] l10n_be_coda: remember the communication of the first globalisation line only 2015-01-19 19:38:58 +01:00