Commit Graph
93527 Commits
Author SHA1 Message Date
Frédéric van der Essen 2f08e67e1c [WIP] point_of_sale: moved the screen related widgets from chrome.js to screens.js 2014-12-31 15:34:31 +01:00
Frédéric van der Essen 5e3600224b [WIP] point_of_sale: split screens / popups / gui into own files 2014-12-31 15:34:31 +01:00
Frédéric van der Essen 1ac9c4957a [WIP] point_of_sale: renamed widget_keyboard.js to keyboard.js 2014-12-31 15:34:31 +01:00
Frédéric van der Essen 81905e1b74 [WIP] point_of_sale: renamed the widgets module to chrome 2014-12-31 15:34:31 +01:00
Frédéric van der Essen 1039debacb [WIP] point_of_sale: renamed widgets.js to chrome.js 2014-12-31 15:34:31 +01:00
Frédéric van der Essen 7eebdbb677 [WIP] point_of_sale: refactored popups:
- message and comment have been renamed to title and body
  - refactored the popups to remove duplicated code
  - a few css bugfixes for retina displays. (but css is still a mess)
  - (unrelated) set a background on body for less white on startup
2014-12-31 15:34:30 +01:00
Frédéric van der Essen f5abed280c [IMP] point_of_sale: remove obsolete code 2014-12-31 15:34:30 +01:00
Frédéric van der Essen d536eb4df4 [FIX] point_of_sale: changed by refactor 2014-12-31 15:34:30 +01:00
Frédéric van der Essen dec547d1f8 [WIP] point_of_sale: cleanup Gui, move acess control to Gui 2014-12-31 15:34:30 +01:00
Frédéric van der Essen 02e829bf50 [WIP] point_of_sale: architecture cleanup : first pass
- This is the first pass of a big cleanup. This breaks
   all backward compatibility of pos .js extensions.

 - PosWidget has been renamed to 'Chrome'. The Chrome is both
   the root widget but also a reference to all chrome subwidgets.
   It is the V of MVC.

 - ScreenSelector has been renamed to 'Gui'. The Gui contains
   the method to manipulate the user interface by changing
   screens and instanciating popups. It is the C of MVC

 - PosModel is still the root model, the M of MVC

 - All these objects are available to all Pos objects trough the
   .pos .chrome and .gui references. This is very practical, but
   usually you should not need to refer to the chrome or to the
   gui in your models. And you should also minimize references
   to .chrome, which should be manipulated via .gui

 - The Popups, Screens, and Widgets are now declared declaratively
   in the Chrome prototype for easier extension by external modules

 - You can hook yourself into the various loading steps trough
   deferreds:
    - pos.ready      -> All models have been loaded
    - chrome.started -> The chrome dom is inserted but incomplete
    - chrome.ready   -> The pos is fully rendered and ready to use

 - The Chrome subwidgets are available trough .widget
   ex: pos_widget.numpad -> chrome.widget.numpad

 - The GUI api has been changed a bit :
    - set_current_screen -> .show_screen
2014-12-31 15:34:30 +01:00
Gaurav Panchal f15d84094d [IMP] account_voucher: reference field label + restrict payment options to accountants 2014-12-31 14:42:57 +01:00
Gaurav Panchal e5a2ddc22f [IMP] account: invoice form view: add forgotten onchange on date_invoice and payment_term 2014-12-31 14:13:39 +01:00
Ronald Portier (Therp BV) 7c2795ca04 [FIX] base: specify correct pot file linked to po
In case of different directory for stroing po and pot files than 'i18n'
(e.g. 'i18n_extra'), a po could be linked to a wrong pot file.
Use the same folder as the po file to look for pot.
Fixes #4326
2014-12-31 13:56:54 +01:00
Aaron Bohy d661902aff [FIX] web: notebook: rendering of pages with invisible modifier
- Old behavior: each page with such a modifier was first set
    invisible at creation of the InvisibiliyChanger attached to
    it, and then, after domain evaluation, the page was reset
    to visible if needed.
  - New behavior: wait for the domain evaluation to decide to set
    a page invisible. It also fixes a bug when 2 pages where
    active simultaneously. Moreover, we only switch to a newly
    displayed page if we are in edit mode (use case: we edited
    a field making the page's domain true, so we want the user
    to pay attention to this page).
2014-12-31 12:57:15 +01:00
tfossoul f3c4688715 [FIX] Calendar : virtual ID fix. Close #4465 2014-12-31 11:56:28 +01:00
Prashant Panchal 86c4debff0 [REM] User-friendly constraint error
For Python constraints defined with the v7 API, the ORM used to display a
complex error message. We remove these technical terms for the end-user.
2014-12-31 10:40:28 +01:00
Simon Lejeune a60f1ed8c4 [FIX] web: form rendering: use attr in attach_node_attr 2014-12-30 17:16:54 +01:00
Richard Mathot 4ecafacbd7 [FIX] product_extended: incorrect inheritance
This view was intended to extend the tree view of mrp.bom, not
mrp.bom.line. Nonetheless, the view mrp.mrp_bom_tree_view which is extended here is a
view for a mrp.bom.line, and there is no tree view for a mrp.bom.

So this extension has no meaning anymore and seems to have worked only
by accident...
2014-12-30 16:37:28 +01:00
Richard Mathot 1ed7f42c36 [REM] mrp: removal of group_route_line_type
This group was used only to hide/display the type (normal or phantom) of BoM lines.
Adding a group to hide/display 1 field seems overkill.
2014-12-30 16:35:46 +01:00
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
Jérome Maes 1adb3de371 [FIX] mail : close #2250. If trying to send empty message in chatter, no other messages can be send wihtout refreshing page. Moving the flag_post allow sending a new message only when the previous one is sucessufully sent. If case of empty message, nothing will happen, and the chatter will not be blocked. 2014-12-30 11:24:55 +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
Nicolas Seinlet 8347d36bf1 [FIX] use inner join to avoid null id's in read_group 2014-12-29 15:22:35 +01:00
Josse Colpaert 52f7fad109 [FIX] Factor should be compared with factor, not id 2014-12-29 11:20:02 +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
Frédéric van der Essen aab3d9f4b4 [FIX] point_of_sale: use the same rounding sequence as the backend
Conflicts:
	addons/point_of_sale/static/src/js/models.js
2014-12-26 17:52:06 +01:00
Frédéric van der Essen 4647f896a4 [FIX] point_of_sale: prevent negative bank payments 2014-12-26 17:50:07 +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
Maxime Chambreuil fa515607cb [FIX] Issue #4424 2014-12-25 14:57:46 -05: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
Frédéric Van der Essen 681c33aa11 Merge pull request #4027 from akretion/8.0-fix-4026-discount-barcode
[FIX] Fixes #4026 on discount barcode in POS
2014-12-24 16:33:58 +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
Aaron Bohy 3505dcce70 [FIX] web: view_form.js: radio buttons bug fix
Clicking on a checked radio button doesn't uncheck it anymore
2014-12-24 15:37:50 +01:00
Xavier ALT 8de7be6219 [FIX] stock_account: keep all picking origins when creating a grouped invoice 2014-12-24 15:23:36 +01:00
Denis Ledoux 753a4d787d [FIX] website_blog: ids of create_history method may be an integer 2014-12-24 15:13:22 +01:00
Richard Mathot c26c2a601e [REM] hr_holidays: dead file 2014-12-24 14:50:59 +01:00