Commit Graph
92738 Commits
Author SHA1 Message Date
Richard Mathot 3bb9e43cc3 [IMP] mrp: more explicit labels for "BoM type" 2014-12-30 16:35:46 +01:00
rsi-odoo 6b34dd9622 [IMP] purchase_requisition : onboarding of purchase views 2014-12-30 11:41:40 +01:00
Géry Debongnie 64e57568bf [FIX] web: fix various syntax problems in views.js
linting views.js revealed some problems.  Most of them minor, but
some of them more serious: redeclared variables in if clauses can
shadow the outer variable, or not.  It is fragile, and will cause bugs
if the code is refactored.
2014-12-30 11:15:23 +01:00
Géry Debongnie 61dec05b9f [FIX] web: makes last breadcrumb item clickable
clicking on last breadcrumb item should reload the current view
2014-12-30 10:35:58 +01:00
Jérome Maes fec5306326 [FIX] website_blog : identation problem, and unused variable 2014-12-30 09:34:58 +01:00
Simon Lejeune bdde2fb96f [FIX] web: notebook: remove fade effect on tab switch
Also, fixed two global variables introduced by rev b2e32a8f7e
2014-12-29 11:15:17 +01:00
Jeremy Kersten c17bc5090d [FIX] hr_recruitment: use utm_mixin to allow to track the job applicant.
Remove old source_id
            Use hr.recruitment.source to generate link with utm and create
            alias with default value for utm
[FIX] crm/utm: Fix bug with utm (ddac26cdbb)
            Move demo into data
            Move ir_http to save the utm in the dispatch
2014-12-27 16:37:21 +01:00
Antony Lesuisse 18be1d9413 [IMP] odoo shell agnostic execution mode
Streamed file or interactive console are both available whether or not a
database is specified.
2014-12-27 00:03:32 +01:00
Ajay javiya e903e37bb1 [IMP] fleet: usability improvements :
- simplifed name of vehicle model; the name is now the model name; the old function
is used to compute the name_get.
- added Suzuki data
- parent of a cost is now hidden except for technical group, because it is the
same as the vehicle
- fixed some vehicule -> vehicle typos
2014-12-26 16:30:47 +01:00
Paramjit Singh Sahota 5042d2396e [FIX] web: fixed display of datepicker in editable list view.
The icon was quite board, leading to ugly and sometimes too short display
of the date itself.
2014-12-26 16:26:15 +01:00
Jérome Maes aaf37d8e87 [IMP] website_blog : allow multi tags and date filter, clean all the routes, remove group_comment from website_mail (only user and portal can post comment on blog.post, but the form is visible for all), modify the redirect controller to the login form when posting comment, and remove the description field of blog.blog 2014-12-26 16:04:29 +01:00
Pankaj Joshi e4fd9737e4 [FIX] web_tip: avoid tip on invsible element, causing some
display issues.
2014-12-26 15:54:32 +01:00
Binjal Desai a8c44dd743 [FIX] website_forum: post: if no create_date, relevancy is 0.
Fix a crash when creating a post in backend without create_date being set.
2014-12-26 15:52:33 +01:00
Hitesh Trivedi 24835fd423 [IMP] hr_holidays: when searching on holidays.status with an employee_id in
context and no specific order, order on limited leaves then on remaining leaves.
This is usefull for users having their normal leaves being displayed in top of
the list (legal leaves, compensatory leaves, then sick and unpaid for example).

Also updated the name_get of holidays status, displaying (remaining leaves /
max leaves) instead of (taken leaves / max leaves). What is important for
users is the number of remaining leaves, not the number of leaves already
taken in that type.

Also updated and reindented demo data (compensatory is now limited + order
of declaration due to this change).
2014-12-26 15:07:21 +01:00
Desai Binjal c743c65d36 [IMP] mass_mailing: campaign form view: add a stat
button to go to the campaign mailings + its function field to have the
counter.
2014-12-26 13:14:11 +01:00
Thibault Delavallée 1840acf185 [FIX] website_forum: tags were not displayed when editing a post. 2014-12-26 11:53:11 +01:00
Samus CTO a5dad00172 [IMP] stream code from stdin through Odoo's shell
Now I have a machine gun. Ho-ho-ho.
2014-12-25 23:28:05 +01:00
Thibault Delavallée 0451f19771 [FIX] hr: fixed issue in employee image display in the kanban view
especially when using the group-by. Added a missing 'row', used an img-responsible
class instead of a fixed width.
2014-12-24 16:43:10 +01:00
Jérome Maes b4a733c10b [IMP] im_chat, im_livechat : usability improvements like, adding smiley, replace uuid by session name in reporting, modify messages order for the session form view and disabled beep when you receveive your messages. 2014-12-24 16:05:08 +01:00
Jérome Maes 8667b2a57d [FIX] mail : fix style (css, js and xml) of topbar button of mail.compose.message 2014-12-24 15:50:03 +01:00
Richard Mathot c26c2a601e [REM] hr_holidays: dead file 2014-12-24 14:50:59 +01:00
Julien De Coster 27331a79d7 [FIX] mass_mailing: updated link conversion.
Previously to this fix, url matching the same base url were linked to
the same shortened url: foo.be -> /aaa, foo.be/bar -> /aaa/bar instead of
a new shortened url.
2014-12-24 14:30:05 +01:00
Mahendrasinh Barad e2e38076aa [IMP] website_event_sale: validation of seats availability in cart.
Attendees are created and deleted on changing the quantity from the cart.

Added sale_order_id and sale_order_line_id fields on registrations, allowing
to find the order and the order line that created the registration without
to rely on origin and ticket.

Also fixed check_auto_confirmation, now in multi mode to avoid issues due to
the specific behavior of api.one.
2014-12-24 14:23:21 +01:00
Antonio Espinosa 1656a7e503 [IMP] config: allow defining addon_path in multiline
With a config like
[options]
addons_path: ~/foo,
	     ~/bar

'~/bar' was interprated as '\n    ~/bar' and is considered as a local directory
by os.path.abspath

Fixes #4403
2014-12-23 16:37:16 +01:00
Samus CTO 4b387e73cb [IMP] shell: load Odoo modules that have a "cli" directory 2014-12-23 16:29:33 +01:00
Bhavik Bagdiya 9c2c2a3cb0 [IMP]hr_recruitment : Add a stat button for the created employee 2014-12-23 13:58:59 +01:00
Samus CTO ebe42d083b [FIX] shell: now catch SIGINT and raise a regular KeyboardInterrupt 2014-12-23 12:46:46 +01:00
David Monjoie 252757c548 [FIX] l10n_ro: changed module author as requested in issue 621105 2014-12-23 09:31:20 +01:00
Frédéric van der Essen 4bb087ea6e [IMP] point_of_sale: make the floor plan background fit the floor 2014-12-22 16:07:55 +01:00
EL HADJI DEM ae056ddc07 [IMP] web: better content-type for attachments
Add the corresponding content type document instead the default content type.
This allows browser to detect the type of file being downloaded.
Fixes #1225
2014-12-22 14:47:18 +01:00
Martin Trigaux e947611b51 [IMP] base: better evaluation context on menu
Allow more complex evaluations (e.g. using time) in domain of ir.ui.menu.
Move _get_eval_context to ir.actions.actions for basic context elements.
opw 603382
2014-12-22 14:40:43 +01:00
Christophe Combelles aac2c61cc0 [IMP] auth_signup: inform users about signup email validity
Closes #4303
2014-12-22 09:37:03 +01:00
Antony Lesuisse 767b060adc [FIX] server report_configuration database
Report unix socket instead of localhost when using named sockets.

Courtesy of Leonardo Pistone

Closes: #1899, #1900
2014-12-22 00:21:38 +01:00
Antony Lesuisse f5ebc509e1 [IMP] ir.attachment access right, use write mode of related object
For related models, check if we can write to the model, as linking
or unlinking attachments can be seen as an update to the model.

Courtesy of Vincent Vinet

Closes: #1035
2014-12-21 22:21:35 +01:00
Niels Huylebroeck 78c4c6e4f9 [IMP] account, restrict removal of accounts used on account.tax
Closes: #789
2014-12-21 21:26:29 +01:00
Thibault Francois 7d0eb114e3 [ADD] ir_actions add logging to server actions
The log(message, level='info') function will create ir_logging records, useful
to debug server actions.

Closes: #928
2014-12-21 20:35:35 +01:00
Fabien Pinckaers 2b45e7cd35 [IMP] SEO on product categories 2014-12-21 19:49:02 +01:00
Rucha Dave 8f7ff79c14 [IMP] crm deduplicate contacts view
Move buttons to the footer.

Closes: #562
2014-12-21 18:11:01 +01:00
Daniel Reis 9ed13353c0 [IMP] add odoo.py shell subcommand
It starts an interactive Python console. If a database is provided, with the
`-d` argument `env` is bound to an Environement with the uid and context of
SUPERUSER_ID and `self` is bound to a RecordSet of the corresponding res.users.

Courtesy of Daniel Reis, reworked to be a bit more agnostic.

Command class is moved from __init__.py to command.py to improve imports of
__init__.py
2014-12-21 02:42:28 +01:00
Antony Lesuisse 33f7322c0f [FIX] website_links duplicate assets
- move momentjs to common
- define assets of website_links in one template
2014-12-19 19:49:14 +01:00
Daniel Reis 5e8b6934d1 [IMP] post_mortem add pudb/ipdb debugger support
Prefer pudb/ipdb to pdb if available.

Closes: #4211
2014-12-19 18:22:57 +01:00
Julien Legros e24010d073 [FIX] web_tip: properly remove the tip popover 2014-12-19 17:52:14 +01:00
Simon Lejeune b2e32a8f7e [IMP] web: use bootstrap's notebook, rewrite process_notebook
Introduction of a specialized InvisibilityChanger for the notebook. It
allows to handle more elegantly the issues of the notebook during
page execution: modifiers hiding the active tab that must now
active its sibling.

Process_notebook only handle the processing of the page while
NotebookInvisibilityChanger only handle the behavior of the notebook
during the page execution.

- readable code (more readable, at least)
- correct handle of autofocus
- rendering of the whole notebook in one call to qweb's render
- one invisibility changer bound by header/content
- no custom css, only legacy bootstrap
2014-12-19 17:49:13 +01:00
Simon Lejeune 01409c1d7b [FIX] web: openerpframework: replaceElement on multiple roots nodeset
jquery's `replaceWith` function behaves differently between 1.8 and 1.9.
This function is used by `renderElement` of the Odoo widget API and, when
called on a template with multiple root nodes, will fail to replace the
whole original nodeset by the new but instead will replace every node
by the new nodeset.

Sample:
1) Suppose a DOM containing
    <div>1</div>
    <div>2</div>
and a jquery nodeset [<div>1</div>, <div>2</div>] referring to the
previous DOM part in a var named $oldel.;
2) suppose another jquery nodeset [<div>3</div>, <div>4</div>] in $el;

$oldel.replaceWith($el) will result in
"3434" in jquery 1.9.1
"34" in jquery 1.8.3

This issue particulary concerns us when the dom of a widget is not wrapped
into single tag and when re-calling renderElement (triggering replaceElement).

The fix is to wrap the element to be replaced ($oldel in the example) behind
a div before calling replaceWith.
2014-12-19 17:49:13 +01:00
Simon Lejeune b291f9f4c6 [FIX] website_event_sale: test_ui: also run the test as admin 2014-12-19 17:49:13 +01:00
Simon Lejeune b018822f90 [FIX] website_event_sale: event_buy_tickets: use properties selector 2014-12-19 17:49:13 +01:00
Simon Lejeune ffd1c6868d [FIX] website_sale: shop_buy_product: use properties selector 2014-12-19 17:49:12 +01:00
Simon Lejeune a7f869e51f [FIX] tour.js: remove synchro between selected property and attribute
This line was previously used to allow attribute selectors to match the
`selected` property, by changing the attribute each time the property
was changed. Now it doesn't make sense since rev c611846 introduced
property selectors + it seems to mess with phantomjs, as the test does
not pass in phantomjs environment but passes ok in a "real" webkit browser.
2014-12-19 17:49:12 +01:00
Simon Lejeune f017a9fe2b [FIX] tour.js: introduce common properties selector
Since jquery 1.9, attr selector only matches attributes (the behavior was not
consistent before, sometimes it returned the properties [0]) and tour.js was
relying on those inconsistencies. This commit introduce common properties
selector to allow matching properties during a tour.

[0] http://jquery.com/upgrade-guide/1.9/#attr-versus-prop-
2014-12-19 17:49:12 +01:00
Simon Lejeune 79f246ba1e [FIX] website_event_sale: tour: complete form after order now step
The form was not correctly completed and, for some reasons, phantomjs did
not complain. However, it was not possible to run the test from the browser.

Also, reword all the steps title for a better understanding of the test.
2014-12-19 17:49:12 +01:00