Commit Graph
96857 Commits
Author SHA1 Message Date
Richard Mathot dca43ecd4d [FIX] delivery: store estimated delivery price 2015-08-06 10:35:17 +02:00
Valerie Pirenne 22a3c08af7 [IMP] web_tip: tip display using breathing point 2015-08-06 10:14:27 +02:00
Aaron Bohy 1d8cbf8a19 [IMP] account_asset: buttonwidget: invisible case
Instead of adding the classname oe_form_invisible to hide it, simply don't render
the button if it shouldn't be displayed.
2015-08-06 10:14:27 +02:00
Aaron Bohy 441449673a [IMP] web: classnames update for new design compatibility
The DOM structure and elements's classnames diverge in community and enterprise
editions. Tips must work perfectly with both editions, obviously.

This rev. updates some classnames in the community edition for the tips's selectors
to match in both editions.

The following classnames have been renamed/introduced:
	- oe_form_buttons_view renamed to o_form_buttons_view
	- oe_form_buttons_edit renamed to o_form_buttons_edit
	- oe_form_invisible renamed to o_form_invisible
	- oe_list now also has classname o_list_view
	- header tag in form views now has classname o_form_statusbar_buttons

Other changes like these might be required later if other tips are introduced...
2015-08-06 10:14:27 +02:00
Thibault Delavallée f6a246045f [FIX] mail: mail_followers:
- fix indentation
- fix a method not returning its deferred for the call
2015-08-06 10:06:18 +02:00
Thibault Delavallée 9f844c570f [REM] mail, calendar: removed dead code (unused method and its
override, unused variables; duplicated code; commented code)
2015-08-06 10:06:18 +02:00
Thibault Delavallée 11908c367e [FIX] hr_equipment: fix the write
- fix multiple write causing a loop and unnecessary condition check.
just reset the kanban stage when changing the stage, like in tasks
or issues. Rely on the call to super() to perform the write itself.
- fix wrong field use and cleaning code about auto subscription
2015-08-06 10:06:18 +02:00
Richard Mathot a43c0c1108 [FIX] lunch: some users run systems localized in other languages than English
%A returns the localized name of the weekday, so we prefer use the
%numeric code.
2015-08-06 09:05:36 +02:00
Antony Lesuisse 4a3a3e5f3a [FIX] payment: Move website_published field to website_payment
We have to keep website_published defined in payemnt so that demo data publish
only payment_transfer for the website_sale tour.
2015-08-06 00:14:24 +02:00
Yannick Tivisse ed4137495c [FIX] website: website_publish_button toggle when no url can be found 2015-08-05 21:40:57 +02:00
Yannick Tivisse eed69de936 [FIX] website_sale: add wrapper for call_kw for inherits on product.product 2015-08-05 21:21:53 +02:00
Yannick Tivisse 2cbb244f73 [FIX] website_sale_delivery: duplicate website_published 2015-08-05 21:20:51 +02:00
David Monjoie 1ecd161757 [FIX] lunch: fixed cash move balance stat button
The awful code of a067129 didn't even work when
there really wasn't any cash move for a user for
which you didn't have the rights to read the moves.

Because there wasn't any move, there wasn't any
access error either.

We finally decided to hard-code the rule that
allows you to read the balance or not, which
renders it dependent of the actual access rules
of the system.
2015-08-05 16:16:03 +02:00
Aaron Bohy 83dab472f3 [REF] web(_tests),test_new_api: split and remove web_tests
Move the widget_x2many tour to web and call it from test_new_api as it needs
to be overrided for the new design, and it requires models and data from
test_new_api.

Clean other unnecessary stuff from web_tests, and thus remove the addon.
2015-08-05 14:38:00 +02:00
Aaron Bohy b07db83ce5 [FIX] website_blog: blog tags: undefined graph view
Removes it from the action's view_modes
2015-08-05 14:38:00 +02:00
Aaron Bohy 98447b538e [FIX] sale_crm: opportunity stat buttons icon 2015-08-05 14:38:00 +02:00
Ajay Patel 544be8b873 [IMP]qweb:solve t-field integer issue while render on frontend. 2015-08-05 14:07:53 +02:00
Christophe Simonis abb4b5d66a [FIX] web: force request.uid for /web route 2015-08-05 13:39:48 +02:00
Christophe Simonis 52f7f0b126 [FIX] web: /web route should be reachable in non-monodb mode 2015-08-05 13:01:33 +02:00
Christophe Simonis 245f45d03f [FIX] website_forum: route to ask a question should be available in GET 2015-08-05 13:01:33 +02:00
Arthur Maniet 77878da066 [FIX] barcodes: key repeat prevention was mistakenly activated
TIL: The $(callback) function passes the jquery object to the callback
2015-08-05 12:45:02 +02:00
Christophe Simonis 498147fbbf [FIX] point_of_sale,web,website_{blog,forum,sale}: remove useless method login_redirect() 2015-08-05 12:01:12 +02:00
Christophe Simonis b13553d2b6 [FIX] web, base: POST requests handling
POST requests on routes with auth="user" are now correctly handled when
the user is not connected. Request data (form and files) are stored in
the session. Once the user is logged, redirect her to a specific route
that will reprocess the original POST request.
2015-08-05 12:01:12 +02:00
Thomas Groutars 6f4738e298 [FIX] Allow to write on several companies 2015-08-05 11:52:49 +02:00
qsm-odoo f330d35324 [FIX] web_calendar: double scrollbar + hour format
* Change 12A -> 11A in 12am -> 11pm
* Compute calendar height so that it fits the web client content height
2015-08-05 11:48:40 +02:00
Valerie Pirenne a067129d4d [IMP] lunch: account balance on new order view 2015-08-05 10:43:44 +02:00
Christophe Matthieu 4474b5ac70 [IMP] web_editor: display not found snippets template warning message 2015-08-05 10:31:15 +02:00
Christophe Matthieu 426baf3710 [FIX] mass_mailing: move website FieldTextHtmlPopupContent template in mass_mailing 2015-08-05 10:31:15 +02:00
odoo-tac e7e4283a57 [FIX] hr_timesheet: magic values when is_timesheet
Timesheets entries could only be created with the help of the magic
default_is_timesheet=1 set in the context, thus in views.

To allow manual creation or import of timesheets by setting is_timesheet=True
directly, the values of invisible but required fields will be computed at
create insted of default_get.
2015-08-04 22:48:58 +02:00
Antony Lesuisse a7dee722cc [IMP] payment: acquirer from view
- Split credentials from technical configuation moved to technical feature.
- Fix website_published button
2015-08-04 21:34:13 +02:00
Martin Trigaux 83f968da5b [FIX] base: typo
Courtesy of Mathias Neef
2015-08-04 13:54:46 +02:00
Aaron Bohy 4cd0010ac8 [REF] sale_crm: stat_button: remove unnecessary classname 2015-08-04 12:16:17 +02:00
Aaron Bohy 37f5875ea5 [FIX] web: form_view: WidgetButton
Buttons that are not stat buttons couldn't use font-awesome icons, as it
automatically fallbacked on the icons in /web/static/src/img/icons. This was
the case for several templates where the icon thus couldn't be found as it was
looking for a font-awesome icon in the icons folder (e.g. fa-cog.png).

Also cleans some unused less rules defined on the stat buttons in
enterprise_compatibility.less
2015-08-04 12:16:17 +02:00
Aaron Bohy 5ebcc01fda [REF] *: search view: remove deprecated icon from filters 2015-08-04 12:16:16 +02:00
Aaron Bohy a41cbba8f1 [FIX] crm,doc: remove whitespace in view_mode
Fixes 4 actions where a whitespace was inserted in the view_mode, resulting in
an unknown view_mode (' graph') in the view_switcher.

Also updates the doc to prevent people to think they can insert whitespaces in
the view_mode definition.
2015-08-04 08:20:12 +02:00
Aaron Bohy 4b69b1ec5a [FIX] web_gantt: render gantt diagram in DOM
Action and view managers render theirs elements in document fragments, and
append them to the DOM once they are ready. The dhtmlxgantt v.1.3 requires that
the gantt diagram in rendered in the DOM. This rev. is an hack to ensure that
this is always the case.

Note that this is no more a requirement with dhtmlxgantt v.3.1.
2015-08-04 08:20:12 +02:00
Mohammed Shekha 4d1029d7d0 [FIX] ir_sequence: proper warning for zero increment 2015-08-03 23:10:42 +02:00
Joren Van Onder 7b32ca8452 [IMP] hr_timesheet: get rid of the "Service" product
The existence of the "Service" product caused issues when users would
eg. remove this product.

We allow user to create timsheets even if they dont have an employee associated
or if the product is missing on the employee. Those timesheets can still be
invoiced using the force product field of the wizard.

product_id is left blank if it cannot be deduced from the associated employee
and the amount is zero.

account_id is left blank we it not required anymore

journal_id is set the first general journal found.
2015-08-03 21:51:59 +02:00
Martin Trigaux 2a528aba29 [FIX] account: view definition
create=false is parsed client side using JSON.parse, so expecting JS false
2015-08-03 17:38:21 +02:00
qsm-odoo 48cc23d09a [IMP] web_kanban: Adapt kanban priority field
Use the new priority widget
2015-08-03 13:09:42 +02:00
qsm-odoo 53fc284945 [IMP] web: New priority widget + form field 2015-08-03 13:09:42 +02:00
qsm-odoo 6eef975051 [FIX] web: Progress bar value update
The progressbar formfield was not updated if its value was changed
from the outside (on_change, ...)
2015-08-03 13:09:42 +02:00
Martin Trigaux 19e17c6052 [FIX] website_project: flag untranslatable tags 2015-08-03 12:29:06 +02:00
Mitesh Savani 0c8a528b00 [IMP] website_hr_recruitment: trackers usability 2015-08-03 09:18:43 +02:00
sha-odoo 708cc7bbf1 [IMP] stock: add the field Preferred Routes in Procurement Request wizard, and also restrict the field to Manage Advanced Routes group. 2015-08-02 14:10:25 +02:00
Antony Lesuisse e7e452f38c [IMP] ir.ui.menu more cleanups
- remove deprecated tree_but_open ir.values
- remove magic ir_ui_menu delete at loading
- remove unused icon and web_icon_hover
2015-08-02 14:10:24 +02:00
fka-odoo efb04bdaba [REM] ir_ui_menu: remove icon attribute 2015-08-02 02:56:43 +02:00
Antony Lesuisse bf579ae460 [IMP] website_blog: add atom feeds 2015-08-02 00:45:02 +02:00
Antony Lesuisse 6933532778 [FIX] web: database manager create error
login was left out when refactoring the branch. It's has been hardcoded as
admin in the final version to minimize the number of inputs.
2015-08-01 19:39:48 +02:00
Antony Lesuisse 746046b9ea [REM] web_tests_demo: useless example module 2015-08-01 19:12:18 +02:00