Commit Graph
117975 Commits
Author SHA1 Message Date
qdp-odoo eaf71455f4 [ADD] tools: add some xml utilities
-create_xml_node()
-create_xml_nod_chain()
2017-08-29 10:17:27 +02:00
tbe-odoo efea6babbe [IMP] payment: Removed transfer button & fixed custom payment 2017-08-29 09:50:08 +02:00
Cedric Snauwaert e1cbaf7af7 [FIX] account: manual reconciliation widget was inversing debit/credit
Also add a lost functionality, when coming from payment view, pass account_move_line id to the context so that it is directly opened as a proposition in the reconciliation widget. If a matching line is found for that payment, also propose the matching line.
2017-08-29 09:45:02 +02:00
Laurent Smet ec5164510c [IMP] l10n_no: Create tags and assign them to taxes
task: https://www.odoo.com/web#id=22597&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720

PR: #19104
2017-08-29 08:47:11 +02:00
Nicolas Martinelli 4542c14513 [FIX] purchase: date rate
When creating an invoice from an PO, set the appropriate date during
currency conversion.

opw-767279
2017-08-29 08:39:38 +02:00
Christophe Simonis 38c77a5210 [FIX] point_of_sale: use correct variable name
Oversight of forward-port 657e328903

Close #19112
2017-08-28 18:24:19 +02:00
amoyaux 11244b5df7 [FIX] stock: calendar view should not be removed
I deleted calendar view from picking because I thought it was not
used anymore. However it was used in the menu item action thus it
returns a traceback when used and the picking menu was not accessible
anymore.

This commit revert commit f4f8bbaf9c
and fix the view instead by using schedule date instead of min_date
2017-08-28 17:01:05 +02:00
Goffin Simon 361a518010 [FIX] account: Automatic reconciliation button in manual reconciliation
Since 9.0, the button "Automatic reconciliation" is just used for the reconciliations
of bank statements. But the button appeared in manual reconciliation because the
qweb view "manual_reconciliation" extends "reconciliation".

The button must be invisible in this case because this feature is not implemented.

opw:767309
2017-08-28 15:49:17 +02:00
Jeremy Kersten 5d3cbf4d7a [FIX] hr_contract: fix auto pending/auto close
Before this commit, create a contract which expire in 2 months.
The cron will check all contracts that have a date_end >= tomorrow.
All contract with a end_date will be close.

Now we check all contracts that have a end_date <= yesterday and close it
2017-08-28 15:40:41 +02:00
qsm-odoo 6551c0bdd7 [FIX] web: fix kanban card color
Since the new kanban design, the cards' colors are shown as a
border-left color. Since all the cards have a small gray border,
a combination of inset box-shadow and border-left was used to display
the colored left border. There were two bugs with this system:

- The border-left was overflowing the box-shadow of 1px, making the
  border look weird
- The box shadow was always below the content (graphs, progressbar, etc)

The first problem is resolved by leaving the border-left property
untouched (the natural border is not really visible anyway), the second
problem is resolved by using the ::after element to create the border
instead of using a box-shadow.
2017-08-28 15:13:37 +02:00
tbe-odoo afeadf5d39 [IMP] website_sale: Removing dead code 2017-08-28 14:58:39 +02:00
tbe-odoo a925188360 [IMP] payment_stripe: Retrieve access token on website_quote 2017-08-28 14:50:43 +02:00
Christophe Simonis d0f132b297 [MERGE] forward port branch saas-16 up to 4ac347735d 2017-08-28 14:49:11 +02:00
qsm-odoo 55c6785c93 [FIX] event, hr: fix kanban view
Resolve two "bugs" introduced with new design:
- Events kanban dropdown position
- Employees kanban tags position
2017-08-28 14:42:50 +02:00
Lucas Perais (lpe) f32a79dd82 [FIX] web: limit amount of rows for excel export
Before this commit, when the amount of rows was above xls format threshold (>65535), the xlwt library threw an obscure Traceback to the user.

We now test the amount of rows before even calling the library, raising a more helpful message to the user

OPW 767319

closes #19035
2017-08-28 14:22:47 +02:00
Christophe Simonis 4ac347735d [MERGE] forward port branch saas-15 up to 063381e0f6 2017-08-28 14:02:35 +02:00
Pierre Masereel b3b6267cf0 [FIX] stock: add decoration muted on move cancel 2017-08-28 13:59:12 +02:00
tbe-odoo 1462751596 [IMP] payment_stripe: Compatible with the new payment form
- Stripe checkout form is now compatible with the new payment form.
- Fixed a typo on a currency code.
2017-08-28 13:57:14 +02:00
Pierre Masereel b7a84cd997 [FIX] mrp: production_id on move lines
When the move lines were created manually, there were no production_id
set on them. So we pass it through the context in the 'Register Lots' view.
2017-08-28 13:53:28 +02:00
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