Commit Graph
111872 Commits
Author SHA1 Message Date
qdp-odoo db4f62bd11 [IMP] account: added settings for account_sepa_direct_debit module 2017-08-29 10:23:57 +02:00
qdp-odoo 69b421050a [IMP] account: revamp the sale/purchase menus' structure 2017-08-29 10:22:58 +02:00
qdp-odoo eaf71455f4 [ADD] tools: add some xml utilities
-create_xml_node()
-create_xml_nod_chain()
2017-08-29 10:17:27 +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
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
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
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
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
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
Raphael Collet 40ac82ff74 [MERGE] remove usage of Python pickle, and refactor ir.values 2017-08-28 10:36:53 +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
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
qsm-odoo e0ef188147 [FIX] website_partner: make sure information text is not editable 2017-08-25 16:18:58 +02:00
Thibault Delavallée 78fd11b3e3 [MERGE] account: add invoice page view on customer portal
This merge adds a real view of invoices on customer portal. It is based
on the invoice report layout and replaces the pdf-only support of current
customer portal. Future commits will add payment means notably in invoice
portal and therefore further enhance the feature.

Closes #19015.
2017-08-25 15:37:11 +02:00
Thibault Delavallée 6c7e128b33 [IMP] account: add invoice page view on customer portal
This commit adds a page view for invoices on the customer portal. Layout
is based on the invoice report to closely match what is already done in
Odoo. It replaces the old controller that returned only the pdf.
Customers should now be able to receive both.

Future commits will improve invoice page view notably in account_payment
while adding payment options in account customer portal.
2017-08-25 15:33:18 +02:00
Thibault Delavallée 6f39672eb6 [IMP] account: inherit from portal.mixin and add access_token account.invoice
Purpose is to allow customers to access their invoice without having an
user account created. Using an access token they will be able to see
their invoice on the customer portal, like what is already done for
quotations for example.

Invoices now inherit from portal.mixin. This means they have a share url
and a method that generates correctly the /mail/view url using the
access token and signup parameters. This url is used in the email template
used to send email in the invoicing flow.
2017-08-25 15:33:17 +02:00
Thibault Delavallée 7be7fd89c9 [IMP] account: add a settings to install account_payment
As this module will handle customer payments an option to install it
is a good idea.
2017-08-25 15:33:17 +02:00
Thibault Delavallée eaf1d0afbb [IMP] account: add void button box in invoice form view to ease inheritance
Inheriting module will be able to add stmart buttons on invoice from now
on.
2017-08-25 15:33:17 +02:00
Thibault Delavallée 4f78182cd5 [IMP] portal: improve less for customer portal 2017-08-25 15:33:16 +02:00
Thibault Delavallée 8e4a0c19b3 [IMP] sale_payment: make payment code more sale limited
Purpose is to have methods on transactions can be called and that handle
correctly transactions linked to a sale order, but also in a near future
to an invoice, a subscription, several of them, none of them, ...

This commit already checks that sale order related code for payment
transactions is run only when a sale order is linked to a transaction.
2017-08-25 15:33:16 +02:00
Thibault Delavallée 8f93369d83 [FIX] portal: fix frontend chatter move
Commit 3cfd64f63f moved the frontend chatter from a website-based module
website_mail to portal. Purpose was to allow its use in customer
portal independently from the website.

However some renaming done during the move was not properly propagated
resulting in the chatter not being loaded. This commit fixes that by
correctly using the new class node as well as widget name when
instantiating the widget.
2017-08-25 15:24:35 +02:00