Commit Graph
47 Commits
Author SHA1 Message Date
Christophe Simonis 86ff929ad6 [MERGE] forward port branch saas-11.4 up to 1199451606 2018-09-10 17:06:18 +02:00
Yannick Tivisse 7978d4ba0f Revert "[IMP] *: Define groups on res.users models"
This reverts commit 99f497b390.
2018-09-10 14:23:42 +02:00
qsm-odoo ece1e3d93f [FIX] *: BS4, restore right-aligned columns
With BS3, if a column was supposed to be aligned on the right, using
the 'pull-right' class on it did the trick.

With BS4, this is not the case anymore as .row elements use flex.
This commit use one of those 3 solutions case per case:

- If the column was alone on its row, then adding the
  'justify-content-end' class on the row.

- If the column was not alone on its row, then adding the 'ml-auto'
  class on the column instead.

- If the column was already filling the row, there was no point in
  aligning it to the right

Note: this commit does not case about potential xpath which would add
new columns in one of those rows. If any, this can be handled as a fix
later.
2018-08-19 16:57:14 +02:00
Nicolas Bayet fa7124920d [IMP] account: Reorganize menuitems
- Resequence menuitem to improve the structure.
- Relabel some menuitems to improve readability

TaskID: 1850716
2018-08-13 14:56:53 +02:00
jem-odoo 8db463d124 [MOV] analytic: move uom field from account to analytic 2018-08-13 14:39:50 +02:00
qsm-odoo d48b8593dd [REF] *: BS4, 'pull-left/right' -> 'float-left/right' 2018-07-27 12:36:54 +02:00
qsm-odoo ed1b18f103 [REF] *: BS4, adapt col-related classes
col-lg-* -> col-xl-*
col-md-* -> col-lg-*
col-sm-* -> col-md-*
col-xs-* -> col-*

col-lg-offset-* -> offset-xl-*
col-md-offset-* -> offset-lg-*
col-sm-offset-* -> offset-md-*
col-xs-offset-* -> offset-*

col-lg-pull-* -> order-xl-1
col-md-pull-* -> order-lg-1
col-sm-pull-* -> order-md-1
col-xs-pull-* -> order-1

col-lg-push-* -> order-xl-2
col-md-push-* -> order-lg-2
col-sm-push-* -> order-md-2
col-xs-push-* -> order-2
2018-07-27 12:36:54 +02:00
Mathieu Duckerts-Antoine af999f40dd [IMP] *: review date type groupbys in search views archs
The parent commit allows to select a specific interval for any
date or datetime field in the groupby menu. This makes some filter
akward, for instance "Order Month".

Accordingly, we have rewritten the string and help attributes in
search views archs and removed groupbys related to the same field
(that would have become redundant).
2018-06-12 09:22:30 +02:00
Yannick Tivisse 99f497b390 [IMP] *: Define groups on res.users models
The reified view on the res users will be dropped in the following commit.

The previous commit adds support to define each group as a computed field on the res users.

This commit defines:
- A boolean field for each 'isolated' res.group, i.e. a group in the hidden category.
- A selection field for each 'Application' res.group, i.e. a group in a application category.

Example:
- The group to manage pricelist in sales becomes a boolean field
- The groups project user/manager become a selection field
2018-04-26 15:13:38 +02:00
rmu-odoo ccaea94a66 [IMP] anlaytic: display total of balance/credit/debit on group_by
Purpose
=======

User not able to see his total balance per customer if user has several projects with same customer..

see here : https://www.odoo.com/web/content/3287924

Specification
=============

User should be able to see the sum of the debit, credit and balance when group by partner

The difficulty here is that debit,credit and balance are non-stored computed fields depending on the company and the date passed with the context. As these parameters depend on the user and the current date, we can't store the field. The simplest way to achieve this is to override the read_group method and compute the sum by hand when the values are aggregated (means when a group_by is applied).
2018-02-05 10:11:56 +01:00
Joren Van Onder 079a13a349 [IMP] analytic: in-depth refactoring
* analytic accounts can be shared among companies
* amount on analytic lines always refer to amount in company currency of which it belongs to
* add analytic groups (hierarchical way to classify analytic accounts)
* analytic tags:
- only present on analytic lines, not anymore on analytic accounts
- can be used to distribue/split an analytic lines among several analytic accounts
- enabled by a dedicated res.group
- added on several objects (vouchers, expenses, analytic defaults...) as well as in bank statement reconciliation widget (manual counterpart and account.reconcile.model)

* bunch of fixes made related to analytic

Was PR #22124. Was task 32386. Original work by tbe.
2018-01-31 15:53:04 +01:00
Alexandre Kühn a87d761fdb [IMP] core: menu tip ux/ui improvement
We would like to make the "no item found" screens more appealing.

Before this commit, it shows a small help tip in the top-left
corner of the screen, just below the "Create" button.

With this commit, these help tips have been replaced by onboarding
screens, which consist of a picture and some text below, both of which
are horizontally centered.

The texts have been slightly changed, so that they are shorter and clearer.

Considered modules:

(A)
    account,
    account_asset,
    account_budget,
    account_test,
    account_voucher,
    analytic
(B)
    barcodes,
    base,
    base_automation,
    board
(C)
    calendar,
    contacts,
    crm
(D)
    delivery
(E)
    event
(F)
    fleet
(G)
    gamification,
    google_drive
(H)
    hr,
    hr_attendance,
    hr_contract,
    hr_expense,
    hr_gamification,
    hr_holidays,
    hr_payroll,
    hr_recruitment,
    hr_timesheet
(I)
    im_livechat
(L)
    l10n_fr_sale_closing,
    link_tracker,
    lunch
(M)
    mail,
    maintenance,
    mass_mailing,
    membership,
    mrp
(N)
    note
(P)
    payment,
    point_of_sale,
    post_mercury,
    pos_restaurant,
    product,
    project,
    purchase,
    purchase_requisition
(R)
    rating,
    repair,
    resource
(S)
    sale,
    sale_timesheet,
    sales_team,
    stock,
    stock_account,
    stock_landed_costs,
    stock_picking_batch,
    survey
(U)
    utm
(W)
    web,
    website,
    website_blog,
    website_customer,
    website_event_track,
    website_forum,
    website_quote,
    website_sale,
    website_sale_digital,
    website_slides
2018-01-18 21:43:29 +01:00
qdp-odoo 1d515fcdac [IMP] account, usability: little big details
* Fiscal positions: add stat button for 'Active' (instead of checkbox )
* Customer Invoice line form view no need for purchase order remove(or hide in customer invoice) and put Anallytic tag field in form view
* Currencies sorted based on active field (so we can see all active currency first)
* Improve graph for bank and cash journals on dashboard: based on ending balance and statement lines.

Was PR #14833. Was task 29541
2017-11-10 09:56:59 +01:00
Mitali Patel 8f88c0336f [IMP] base: Make 'name' attribute required for 'filter' tag
Purpose
=======

The attribute name isn't required on the <filter> tag. If not set, it can't be selected with a xpath and it can't be overwritten.

A lot of PR are coming from the community just to add a name on a filter because:
- It can't be selected with a xpath.
- It can't be used with `default_search_foo` on an action context.

Specification
=============

Make the atttribute name required
2017-10-19 10:59:26 +02:00
Kirti Choudhary 36a2bfb9cf [IMP] *: add and improve kanban views for mobile
This commit improves readability in kanban views.
The default view in mobile is kanban and many of them
needed to be improved.

task-33438
closes 17853
2017-09-05 13:21:58 +02:00
ptr-odoo 276f080638 [IMP] account: allow to archive journal, account.tag and analytic.tag
Currently there is no option to Archive / Unarchive Journal + Accounting Tag + Analytic Account Tag

task: https://www.odoo.com/web#id=27447&view_type=form&model=project.task&menu_id=4720
PR: #12864
2017-08-29 12:38:10 +02:00
Haresh Shyara 5dba97b7a0 [IMP] analytic: Add analytic tags on analytic entries
PURPOSE
=======

Be able to use analytic tags on analytic entries

SPECIFICATION
=============

Add analytic tag field in analytic entries
2017-08-09 17:02:35 +02:00
Olivier Dony 5d2869cbc8 [MERGE] Forward-port saas-16 up to ba15df47cb 2017-06-01 01:46:13 +02:00
Olivier Dony b9e2207267 [MERGE] Forward-port 10.0 up to 7e44444878 2017-06-01 00:15:27 +02:00
cubells b1e524255a [FIX] analytic: Remove search default non existent
Courtesy of cubells (Orbetix). Was PR #17219
2017-05-29 09:42:41 +02:00
Kishan Gajjar f1d87b37ed [IMP] account: Add kanban views for all menuitems used in mobile
Purpose
=======

Improve readability on mobile

Specification
=============

Activate Kanban view on those so it could be displayed by default on mobile instead of view list

List of impacted modules:

- account : kanban for purchases payments

- account : kanban for journal entries

- account : kanban for chart of accounts

- account : kanban for budgets

- account_analytic_default : kanban for analytic defaults

- account_asset : kanban for assets

- account_asset : kanban for asset types

- account_budget : kanban for Budgetary Positions

- account : kanban for fiscal positions

- account : kanban for taxes

- account : kanban for payment terms

- account : kanban for bank accounts

- account : kanban for journals(reuse Accounting Dashboard)

- analytic : kanban for analytic accounts

- analytic : kanban for analytic entries
2017-05-11 11:38:42 +02:00
Kinjal Mehta b0185e15cc [FIX] all: fix some common typos
Sale Order --> Sales Order
Sale Report --> Sales Report
Sale Team -> Sales Team
Payment Term --> Payment Terms
2016-12-22 13:29:38 +01:00
Kinjal Mehta b87e6e02a8 [IMP] general: Place (Un)Archive button as last button by default
PURPOSE
=======

Usability Issue of  "Archived" button. People tend to click on it accidentally

+ Also rename `Unarchive` into `Restore`
2016-10-21 09:34:13 +02:00
fwi-odoo 4f9c1c25f4 [MOV][IMP] analytic: reorganize addon, remove openerp tags and rename python classes 2016-08-02 09:54:37 +02:00
dut-odoo a4e7c1351d [IMP] analytic: added 'Analytic Accounts Tags' menuitem
And changed account tags menu string. 'Tags' to 'Account Tags'
2016-05-24 11:34:17 +02:00
Olivier Dony 83a5c9d51e [FIX] analytic: move action after corresponding search view
Rev d115c24d6b introduced the
dependency but forgot to move the records in the right order.
2016-05-04 10:05:26 +02:00
qdp-odoo d115c24d6b [FIX] account: analytic lines pivot table reporting menu + copy of the analytic tags on analytic lines from aml 2016-05-03 16:46:42 +02:00
Kinjal Mehta 16d993a134 [IMP] account_budget,analytic,project: Some display improvements
1/ An empty notebook was created in analytic and filled in account_budget
   That way, we had a horizontal line while the module wasn't installed yet
2/ The fields use_task and use_issue displayed on the account.analytic.account
   are just redundant information. The probable use case is to go on the project
   select the issues management on it, and it will be activated on the related
   analytic account. I don't think that anybody will come on the analytic account
   to activate the issues. So we hide them in group_no_one
3/ On the analytic account form view, display the title label only in edit mode
2016-03-23 16:35:34 +01:00
Kinjal Mehta a57592abe4 [IMP] analytic: Replaced account_type field by active field
Currently there is a selection field 'account_type' on the
account.analytic.account model with 2 values : Active or Archived

Let's use an active field instead and add a Archive stat button on the
form. That way, we can remove all the domain ('account_type','=','normal')
which are implicit with the generic active field behavior
2016-03-23 16:35:34 +01:00
qdp-odoo f6d6762dc7 [FIX] analytic: workaround to re-enable the feature to close an analytic account that has been unfortunately removed by mistake in commit 2a8c077.
It is using an already existing field that wasn't used anymore ('account_type') but as a lot of domains on analytic accounts were
 - wrong (still using old fields state and type that have been removed as well in the same commit),
 - or defined directly in the views
so, an update of some modules may be needed in order to avoid further problems.
2015-12-11 14:57:46 +01:00
Nicolas Martinelli d62be72759 [FIX] analytic: hide account_type
`account_type` is probably not necessary anymore, but too late to
remove it.
2015-09-30 11:32:00 +02:00
Damien Bouvy aebe287152 [IMP] analytic: account type only visible in debug/technical mode since it is unused in v9 2015-09-24 08:39:41 +02:00
Fabien Pinckaers b568affe66 [IMP] Adding placeholders to all oe_title (thanks xgrep), usability guidelines 2015-09-11 08:51:57 +02:00
Yannick Tivisse 0ce0c6f095 [IMP] Remove oe_inline in h1 fiels to expend the field width 2015-09-07 13:27:17 +02:00
Damien Bouvy 1b962f9692 [IMP] analytic: add "Analytic Entries" menuitem in accounting 2015-09-02 11:14:29 +02:00
Nicolas Martinelli 1dbccc8215 [IMP] analytic: adaptation due to the new Sale module
Major changes:
- Remove reports
- Simplify models

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
2015-08-27 18:10:18 +02:00
Aaron Bohy 5ebcc01fda [REF] *: search view: remove deprecated icon from filters 2015-08-04 12:16:16 +02:00
Damien Bouvy ecdb8a60cb [IMP] sale_contract: recurring view refactoring, new fields and unit of measure
- add contract_type field on account.analytic.account and real_quantity on account.analytic.invoice.line
- refactor contract form and list views for better clarity (hide unnecessary fields depending on the type of contract)
- divide account_analityc_account class according to contract type for future work
- divide contract template menu in 3 menus depending on contract_type
- add on_change_uom behaviour on account recurring lines
- rewrite tests in python
- add new report (pivot & graph)
- end date of contract is now computed from the template recurring rules
- small fixes & usability improvements
2015-07-23 11:40:30 +02:00
qdp-odoo 0b3e01c13f [IMP] account*: various usability improvements. While most of them are simple renaming, it also includes the following field removals:
- [REM] account_budget: removal of field 'validating _user_id' on account.crossovered.budget, which is now replaced by inheritance with mail.thread
   - [REM] account_budget: removal of field 'code' of account.crossovered.budget, which was not used and redondant with its name
   - [REM] account_asset: removal of field 'note' of account.asset.category, which was not used and redondant with its name
   - [REM] account: removal of field 'to_check' of account.move, which was redondant with state == 'draft'
   - [REM] account_voucher: removal of field 'audit' of account.voucher, which was a fields.related on move_id.to_check
2015-07-14 21:48:23 +02:00
Fabien Pinckaers b8ec551076 [IMP] label outside h1, consistency accross all views 2015-07-01 17:53:20 -07:00
Nicolas Lempereur e765875700 [FIX] form_views: fix button box for new design
Now there should be only one button box per page, and the name should be
"button_box".

Conflicts:
	addons/crm/crm_tip_data.xml
	addons/event/event_tip_data.xml
	addons/fleet/fleet_view.xml
	addons/hr/hr_view.xml
	addons/hr_recruitment/hr_recruitment_view.xml
	addons/project/project_tip_data.xml
	addons/purchase/purchase_tip_data.xml
	addons/sale_crm/sale_crm_view.xml
	addons/website_quote/views/website_quotation_backend.xml
	openerp/addons/base/res/res_partner_view.xml

Conflicts:
	addons/account_reports/views/partner_view.xml

Conflicts:
	addons/claim_from_delivery/claim_delivery_view.xml
	addons/stock/stock_view.xml
2015-06-15 16:30:37 +02:00
Nicolas Martinelli 6fe928a54b [IMP] many modules: use bootstrap contextual colors in tree views 2015-05-26 11:39:26 +02:00
qdp-odoo c04065abd8 [IMP] accounting v9. Yeeeeaah 2015-05-05 17:28:04 +02:00
Martin Trigaux 4d912af465 [ADD] hr_timesheet_invoice: grouping invoice by partner
Add option to group analytic lines by partner to generate invoices.
Refactoring of the method that was kind of unclear, splitting in separated
methods and adding tests.
Add graph view in analytic lines view.
2015-04-01 10:58:35 +02:00
Christophe Simonis 449f601f8e [MERGE] forward port of branch 8.0 up to 948befb 2015-03-09 12:40:57 +01:00
Hitesh Trivedi c38bd48532 [REF] company_id fields: replace selection widget by options = {'no_create': True} in all views
Originally, selection widget was used to prevent the creation of new
companies, but now, we have an option for that in m2o widgets.
2015-01-08 18:14:28 +01:00
cod-odoo a301b4c7fc [MOVE] account: moved account/project files to analytic or account, depending on which module the moved code belongs to. This allows to remove references to project in account module. Also added some improvements in project when deleting a project (delete account if void) or when deleting an account (delete project if void). 2014-08-04 13:23:46 +02:00