Commit Graph
117156 Commits
Author SHA1 Message Date
Nicolas Martinelli c478e94450 [FIX] hr_expense: delete expense
A regular employee is allowed to delete an expense reported already
approved. This should not be possible, only an officer could do it.

Fixes #19044
opw-767549
2017-08-28 13:30:10 +02:00
qsm-odoo 50b076c033 [REF] web, *: introduce new kanban design
This merge will be the first one of a series to renew the backend
design. While this focused on kanban redesign, some elements (like
background and colors) of the main design are changed here.

This especially changes the LESS code to achieve the desired visual
result. The kanban view however needs better layout templating to
make this LESS more efficient; this will be a task for version 12.0.
2017-08-28 12:53:49 +02:00
qsm-odoo fdb38afacf [REF] *: adapt LESS changes and remove dead code
* project, sales_team, web
2017-08-28 12:53:17 +02:00
qsm-odoo dc49b8c149 [FIX] web: dashboard dropdown firefox 2017-08-28 12:53:17 +02:00
qsm-odoo bee69d3b2d [REF] *: get rid of o_visible and o_invisible in kanban
* account, hr, hr_recruitment, maintenance, mrp, point_of_sale,
  project, sales_team, stock
2017-08-28 12:53:17 +02:00
qsm-odoo 8ffc940d16 [FIX] maintenance: fix dashboard 2017-08-28 12:53:17 +02:00
qsm-odoo 236ded6343 [FIX] account: fix dashboard view 2017-08-28 12:53:17 +02:00
qsm-odoo 1919b8d62a [FIX] web: adapt JS tests to new design/layouts 2017-08-28 12:53:17 +02:00
qsm-odoo 1c40b3c34f [REF] web: hide outline of kanban dropdown buttons 2017-08-28 12:53:17 +02:00
qsm-odoo 5729b53f9a [FIX] web: fix "complex dashboard dropdown" width 2017-08-28 12:53:17 +02:00
qsm-odoo 539f66dd72 [REF] web: allow 12 kanban colors
We added 2 colors to the custom colors scheme for tags and cards' colors
but we did not adapt the possibility to set them properly in kanban.
Also adapt the related test.
2017-08-28 12:53:17 +02:00
stefanorigano 76b19e8f35 [REF] sales_team: set new kanban dashboard design 2017-08-28 12:53:17 +02:00
stefanorigano 3ee2ab71ec [REF] project: set new project dashboard layout and design 2017-08-28 12:53:17 +02:00
stefanorigano e710a858b6 [REF] project: set new kanban layout for project kanban
New kanban design is basically new LESS to override the old one. In the
next version, we will work on a better and uniform layout (which will
allow better LESS). Here, we already set a better layout for project,
as an example.
2017-08-28 12:53:17 +02:00
stefanorigano 7c2a00d6e8 [REF] base: set new apps list design 2017-08-28 12:53:17 +02:00
stefanorigano 8f315b1838 [REF] *: replace dropdown icons in kanban layouts
* crm, event, hr_contract, hr_recruitment, maintenance, mass_mailing,
  note, survey, web, website_event_track, website_forum_doc

Adapt kanban layouts so that the dropdown icon is now a vertical
ellipsis instead of a hamburger.
2017-08-28 12:53:17 +02:00
stefanorigano 66ffabf706 [REF] *: move tags under the title of kanban records
* crm, fleet, hr_recruitment, mass_mailing, website_event_track

Adapt kanban layouts so that tags are under the title to fit new design
requirements.
2017-08-28 12:53:17 +02:00
stefanorigano a8ec7f1d56 [REF] *: apply cards' color to the main card div
* account, hr, hr_recruitment, maintenance, mrp, point_of_sale,
  sales_team, stock

Adapt kanban layouts so that the color is set on the main 'kanban-box'
<div/> element to fit new design requirements.
2017-08-28 12:53:17 +02:00
stefanorigano 48bf4f983d [REF] web: set new kanban dashboard design
In particular, get rid of the o_visible/o_invisible system.
2017-08-28 12:53:17 +02:00
stefanorigano 6e0234819e [REF] web: set new kanban design 2017-08-28 12:53:17 +02:00
stefanorigano df05fd4e39 [REF] web: change kanban icons and colorpickers 2017-08-28 12:53:17 +02:00
stefanorigano 89cbbe3b0d [REF] web: set new tags layout and design 2017-08-28 12:53:17 +02:00
stefanorigano d67394aaff [REF] web: set new dropdown design 2017-08-28 12:53:17 +02:00
stefanorigano 108cf4a28c [REF] web: set UI custom color-scheme
Create LESS variables so that they can be used elsewhere in the UI
(for tags, kanban cards' colors, ...).
2017-08-28 12:53:17 +02:00
stefanorigano 88881e9fee [REF] web: set new backend design color-scheme 2017-08-28 12:53:17 +02:00
Christophe Simonis 063381e0f6 [MERGE] forward port branch saas-14 up to e18fe88751 2017-08-28 12:14:38 +02:00
Christophe Simonis e18fe88751 [MERGE] forward port branch 10.0 up to 22eb3ee971 2017-08-28 12:13:05 +02:00
Thibault Delavallée 33feb5abcc [FIX] account, sale: fix init column using name instead of table 2017-08-28 12:10:58 +02:00
qsm-odoo 9486ec33c4 [FIX] web_editor: properly not allow edition of non editable parts
Before this commit, (double) clicking an image/link in a non editable
environment still opened a dialog / change the editor bar for edition.
2017-08-28 12:04:06 +02:00
Rawish Murari 15cb84e0f7 [IMP] l10n_th : one tag per grid in tax reports
Make it easier to add taxes in odoo by using one tag per tax grid.

task: https://www.odoo.com/web#id=22696&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720
PR: #19103
2017-08-28 11:46:08 +02:00
Christophe Simonis 22eb3ee971 [MERGE] forward port branch saas-11 up to 428ad2dfe3 2017-08-28 11:30:46 +02:00
Christophe Simonis 428ad2dfe3 [MERGE] forward port branch 9.0 up to b5aaf0d527 2017-08-28 11:27:40 +02:00
Mehul Patel 3fb4159ad9 [IMP] account,sale,l10n_*: display tax amount per tax group in sale/account reports
Each tax is linked to a tax group. Each tax group is display separately with the corresponding amount when the business reports (invoices/sale orders) are printed.

NB: Because each tax is now linked to a tax group. Every localization have been updated according it.

task: https://www.odoo.com/web#id=30501&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720

PR: #16724
2017-08-28 11:24:24 +02:00
Goffin Simon 9e74756e39 [FIX] project: "Activate a sample project" doesn't work
Typo error.

opw:765673
2017-08-28 11:20:23 +02:00
Raphael Collet 40ac82ff74 [MERGE] remove usage of Python pickle, and refactor ir.values 2017-08-28 10:36:53 +02:00
tbe-odoo 3d557547fb [FIX] payment_transfer: Reintroduced the button template 2017-08-28 10:34:48 +02:00
Raphael Collet 10cb1beead [REM] base: remove model ir.values 2017-08-28 09:53:23 +02:00
Raphael Collet 55549f1e61 [ADD] base: direct support for binding an action to a model 2017-08-28 09:53:23 +02:00
Raphael Collet 60d9f6fef9 [ADD] base: model ir.default to store user-defined defaults 2017-08-28 09:53:23 +02:00
Raphael Collet b6305b7201 [IMP] pos_cache: use JSON instead of pickle for the cache format 2017-08-28 09:53:23 +02:00
Raphael Collet 9bd3240b51 [IMP] anonymization: use JSON instead of pickle for the file format 2017-08-28 09:53:23 +02:00
Nicolas Martinelli b0d498c11d [FIX] stock: delivery slip UOM
1. Create a product A, set to stockable product, set its UOM and
   purchase UOM to Unit(s)
2. Create SO with A, but use a different UOM than Unit(s) (e.g. Dozen)
3. Validate, go to delivery, validate, and print the delivery slip

Ordered quantity shown on delivery slip is in SO UOM but listed as
product UOM.

opw-766914
2017-08-28 08:42:50 +02:00
nsa-odoo 9509908b23 [IMP] account : rename string in account form view
was PR #18793 
task https://www.odoo.com/web#id=35764&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720
2017-08-28 08:35:32 +02:00
Foram Katharotiya fa3ff5b41a [IMP] account: compute debit/credit based on amount currency in account.move
Recompute automatically the debit/credit fields on account.move.line depending of amount_currency, date or currency_id in order to deal more easily with multi-currency.

task: https://www.odoo.com/web#id=33084&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720

PR: #16826
2017-08-28 08:17:11 +02:00
Odoo Translation Bot 32078bba33 [I18N] Update translation terms from Transifex 2017-08-27 07:14:46 +02:00
Odoo Translation Bot bb28a2d7f6 [I18N] Update translation terms from Transifex 2017-08-27 04:40:12 +02:00
Joren Van Onder b5aaf0d527 [FIX] point_of_sale: handle fiscal positions that remove taxes
A tax can be mapped to nothing, so first check if
_map_tax_fiscal_position actually returned something.

Fixes #17963
2017-08-26 15:25:35 -07:00
Aaron Bohy dc07fc8bac [FIX] barcodes: tests: don't add undefined widget to registry
Resetting the key 'test_barcode_handler' to its value before the
test was technically the best solution, as a test should leave the
environment unchanged. However, in this case, the widget is
undefined (there is obviously no 'test_barcode_handler').
Whereas this should not be a problem (the fields in the registry
are supposed to be accessed using get(), and the presence of a
key mapping undefined is equivalent to the absence of the key in
this case), this breaks a test in Studio if the latter one is
executed after the barcode test. This is because Studio browses the
map of the field registry to access each field's prototype. When it
encounters an undefined value, it crashes.
2017-08-25 18:55:50 +02:00
Christophe Simonis feb97a9d7d [FIX] web: bump test timeout 2017-08-25 18:03:14 +02:00
tbe-odoo 7d1f2d0c39 [IMP] payment: Fix crash on install
- Fixed a crash when installing payment module.
- Set a more specific css selector to display error on payment form where required input are empty
2017-08-25 17:51:32 +02:00