Commit Graph
764 Commits
Author SHA1 Message Date
Adrien Dieudonne 464968de36 [FIX] account, hr_expense: amounts on multiple lines in the dashboard
Before this commit, the amount currency could be wrapped on a
second line (on mobile).

To fix this, we had to find a way to have more space:
- Buttons are now displayed at the top (mobile only).
- Amounts can grow (col-auto) and the other column will take the
  space left (col) and add "..." when there is not enough space.
  (mobile + desktop)

We also had to remove a button from a div tag in order to display
the buttons next to each other on mobile (buttons are "inline-block"
but div is a "block").
The main flow tour has been adapted accordingly and the typo has
been fixed too...

closes odoo/odoo#46680

Task-id: 2184243
X-original-commit: 159e3d4cb8a301c908f7718a56138528033e75d4
Related: odoo/enterprise#8963
Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
2020-03-03 08:09:49 +00:00
Adrien Dieudonne c70e7ebeca [FIX] account: invoice outstanding wrong displayed on mobile
Steps to reproduce:
- Go to Invoicing
- Select an invoice
- Add credit note
- Click on "Post"
- Invoice footer is overlapped on mobile

This bug occured because of "float: right".
Get rid of this is too much work (oe_subtotal_footer is already floating),
so we decided to keep it with a "clear: both".
In desktop, this element is on the right of the screen but
on mobile we take the whole horizontal space.

closes odoo/odoo#46007

Task-id: 2184243
X-original-commit: 986152405a0ba6038df7d93c9264a46ee4207dd8
Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
2020-02-22 15:48:18 +00:00
Anang Aji Rahmawan 06d98c2031 [FIX] account: fix long memo text is not wrapped correctly
closes odoo/odoo#45706

X-original-commit: 2cae50a70505b5a93f7fabb6623a135bda163781
Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
2020-02-19 11:54:41 +00:00
Ankita Raval d675dbaa4c [IMP] account,* : Change type field to move_type in account.move
task-id: 2028z813
2020-02-19 09:09:20 +00:00
jerome hanke (jhk) 12c3fd2649 [FIX] account: reconciliation model buttons leak out of the screen
Steps to reproduce:

- install accounting
- go to accounting > accounting > reconciliation (you need at least
one unpaid invoice and one unreconciled payment for the proper screen
to show)
- manual operations > click the cog icon > create model
- create a model with a long name and duplicate it 5-10 times
- go back to the reconciliation tool > manual operations

Previous behavior:
the model buttons leak out of the right of the screen

Current behavior:
An horizontal scrollbar appears if necessary

opw-2185355

closes odoo/odoo#45431

X-original-commit: e24d971ad8d1bfdef8fc55710d99fc29c29a9c31
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
2020-02-14 18:15:59 +00:00
wan dfd01b8c5c [IMP] account: rework name sequences
Task 2146469

Rework the name computation:
* It doesn't use ir.sequence anymore
* It is an editable computed field
* Add a renaming tool

This allows the user to tweak the sequences more easily than having to
get through the ir.sequence settings.

The sequence depends on a parameter of the journal: continuous, montly
and yearly restart of the sequence. Everytime a new period is started,
try to make a pattern form another period.

The incrementing is done by taking the previous name, ordered
lexicographically, splitting it by taking the digits at the end, adding
1 and re contstruct with the prefix.

** This means there could be cases where the prefix has a big importance
on the next number. For instance, if you have
INVOICE/2019/0001
INVOICE/2019/0002
and then rename the last one to INV/2019/0002, don't expect the next
number to be INV/2019/0003. It will be INVOICE/2019/0002 (again) because
the highest number was INVOICE/2019/0001.
You will then end up with
INVOICE/2019/0001
INV/2019/0002
INVOICE/2019/0002

closes odoo/odoo#41485

Related: odoo/enterprise#7189
Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
2020-02-05 13:59:43 +00:00
oco-odoo 2221f03624 [IMP] account: make switch from Invoicing to Accounting app easier
This is done by introducing a new threshold setting, allowing choosing a date before which all invoices and payments have to be ignored by the accounting. Once this is done, all the balances can be reimported directly, easing the migration to Odoo Accounting a lot.

account.move objects having to be ignored because of this are cancelled, and receive the new 'invoicing_legacy' payment state. account.payment objects are moved to the new 'invoicing_legacy' state and their related account.move is cancelled and marked as invoicing legacy as well.

closes odoo/odoo#41416

Task:  2092377
Related: odoo/enterprise#7071
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
2020-01-30 17:20:21 +00:00
Pierre Paridans ffaa3eb0d3 [FIX] account: fake notebook misses tabs container
Since commit odoo/odoo@43db60d `<notebook>` elements
have also a wrapper element (with class `o_notebook_headers` around
their tabs.

Since account module reuse the markup and styling of the `<notebook>`
but without using the tag itself (cf. done by hand) the reconciliation
line's tabs style was broken.

This commit adds the missing wrapper element and set the
margin-{left,right} reset to the that element.

closes odoo/odoo#43959

X-original-commit: 8d45e3d52a7312addb05dd6cb39d68f9d61144da
Related: odoo/enterprise#7941
Signed-off-by: Pierre Paridans <pparidans@users.noreply.github.com>
2020-01-24 21:55:49 +00:00
wan d8c5cc1335 [IMP] account: add a readonly group
Task 2092079
Accounting firms that want to give access to their customers avoiding
mistakes and risks will love this profile that can't do anything
wrong... Maybe as well as companies auditors..?

closes odoo/odoo#39860

Related: odoo/enterprise#6576
Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
2020-01-22 11:23:16 +00:00
oco-odoo 170eaa4743 [IMP] account: add wizard to perform transfers between accounts
This wizard also reconciles automatically entries done on reconcilable accounts. It can hence for example be used to "move" the balance of a receivable account into a payable account (or the opposite), using the generated transfer entry to do as if the receivable and payable accounts were directly reconciled together.

[IMP] account: display 'P' as matching number when account.move.line objects are partially reconciled

For this, we introduce a new matching_number field, used in account.move.line's tree views instead of full_reconcile_id, which used to be shown directly.

Was task: 2037318

closes odoo/odoo#39415

Related: odoo/enterprise#6544
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
2020-01-17 13:34:15 +00:00
Kevin Baptiste 6cbe824871 [REV] web: reverts update to fontawesome 5.11.2
This reverts commit ff1c35513a.

closes odoo/odoo#41480

X-original-commit: 116057b26e71db4692280463669f3e80d813ddcc
Related: odoo/enterprise#7110
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-12-09 10:33:36 +00:00
Jason Van Malder eefa19f60b [FIX] web, account: fix RTL popover on invoice
Reproduce the issue

    - Load Arabic language
    - Install Accounting
    - Create an invoice & add credit note
    - Switch to arabic
    - Click on the "(i)" icon near the total price

    The popover is displayed at the other side of the screen

Cause

    - RTLcss was reversing the "left: 0" css property to "right: 0"
    - The popover configuration was not adapted for RTL

This commit ignore RTL for the popover css "left" property and
configure correctly the JS side

OPW-2146210

closes odoo/odoo#41200

X-original-commit: 88f03f0444a2533b1f6085369af431131da42b54
Signed-off-by: Jason Van Malder <jasonvanmalder@users.noreply.github.com>
2019-12-02 14:28:31 +00:00
Kevin Baptiste ff1c35513a [IMP] web: update to fontawesome 4.7.0 to 5.11.2
FontAwesome 5 introduced new names for some icons as described on
https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4#name-changes

This commit replaces the old names to the new ones.

closes odoo/odoo#35826

Taskid: 2050241
Related: odoo/enterprise#5180
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-11-28 10:05:12 +00:00
Jorge Pinna Puissant 730309caa5 [FIX] account: invisible modifier in hidden table cells
— In a SO, create a section or a note;
— Add an invisible modifier (with studio for example).

Before this commit, the table-cells of the section/note were not aligned
any more, and the delete button (trash-can icon) wasn't available.

In a list, the invisible modifier uses a display: table-cell to keep
table cells aligned. But in this specific case, the display is already
none, because they are hidden cells. Therefore, the invisible modifier
it removes the display: none in the hidden cells, this has as outcome
that the table cells are not aligned any more.

Now, the hidden cells cannot have an invisible modifier.

opw-2117714

closes odoo/odoo#40584

X-original-commit: d040f02dd0140d9b7128e806e4a974fe1e8aa0d3
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
2019-11-20 17:41:00 +00:00
jvm-odoo 55e2138a4e [FIX] account: fix cash bank statement import button
Go on the accounting module, you'll find a kanban view with a few
cards including "Bank" and "Cash". Click on the Cash card.

The default import button doesn't appears because it is hidden.
The reason of this hiding is that the bank statements of type "Bank"
have a custom import method and the users where confuse. They
didn't know which is the right button for the special import so
we hid the default import button for the whole model.

But there is also a "Cash" type bank statement who doesn't have that
special import and his default import button is hidden too.

This commit checks the type of the bank statement and hide the default
import button only if the type is not "Cash".

OPW-2090477

closes odoo/odoo#39829

X-original-commit: ee45228a8532b676729bc2be686814d616e5cbb5
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
2019-11-05 20:41:11 +00:00
Florian Gilbert 5210929b37 [FIX] account: Adapt the tour for invoicing and accounting.
The reason of this fix is that we reference some account accountant menu
in the invoicing menu and if you are not in enterprise version with
accounting installed, the tours don't work.

The tours are adapted for each versions.

closes odoo/odoo#39104

Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
2019-10-29 10:58:47 +00:00
Julien Mougenot a0c44f9db7 [FIX] account: removed horizontal scrollbar in lists
Before this commit, lists having a section or a note would have a horizontal
scrollbar in readonly mode.

Now it has been removed and the list stretches properly according to its parent
size.

Task 2086594

closes odoo/odoo#39301

X-original-commit: cbe26b3a3ac5ef3d79695cf44874e01087a35ef9
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2019-10-24 06:39:46 +00:00
wan 9ba8734f15 [MOV] account: reconciliation widget
Task 2034073
The reconciliation widget is now entirely part of the enterprise version
as it is an advanced accounting feature

closes odoo/odoo#38424

Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
2019-10-18 12:53:41 +00:00
Julien Mougenot ee2f30fba2 [FIX] account: render report tour steps
Before this commit, the account_render_report tour assumed that
account_accountant was installed on any enterprise database.

Now, the account_accountant steps are only inserted in the tour
when the module is installed.

closes odoo/odoo#38963

X-original-commit: a45a4b6cc3249320969c8ba3324aad9e7c1aab67
Signed-off-by: Julien Mougenot (JUM) <Arcasias@users.noreply.github.com>
2019-10-17 14:52:23 +00:00
wan e00532ffb9 [FIX] account: badly formatted reconciliation proposition
When a reconciliation proposition's amount is computed from a regex, we
cannnot be sure the regex captured something. If it didn't we don't want
to display a badly formatted line so we set the amount to 0.

closes odoo/odoo#38870

X-original-commit: 111495795b6cdc53312096078033804dbbfe57f2
Signed-off-by: Cedric Snauwaert (csn) <csn@openerp.com>
2019-10-16 11:51:27 +00:00
Lucas Perais (lpe) f703271c0a [FIX] account: reconciliation widget fetch correct reconciliation models
Have a reconciliation model that applies to some particular journals
And that will match some of those journals' lines
The field journal should be filled too
(this field is only the default journal that a proposition will be filled with)

Open the reconciliation widget on a given journal, within the list of
possible journal (from the account dashboard)

Before this commit there was a crashed. This was caused by the fact that
one of the lines that should be displayed had a reconcile model that was not fetched beforehand

After this commit, there is no crash as all relevant reconcile
models are fetched

Note that, on reconcile models, the field journal_id is just there to prefill
the propositions it will create

corrects commit e5c8071484

OPW 2084942

closes odoo/odoo#38836

X-original-commit: c285d578cc497044e819c62d42373c29f87b1e93
Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
2019-10-15 17:39:43 +00:00
Christophe Simonis d74b451805 [MERGE] forward port branch 13.0 up to f4105eb9c7 2019-10-09 02:08:17 +02:00
wan 51c58782db [FIX] account: do not validate when pressing enter on edit amount
In the reconciliation widget, pressing enter validates the line
focussed. This should not happen when editing an input, like it was the
case for the partial amount input.

closes odoo/odoo#38037

Signed-off-by: Cedric Snauwaert (csn) <csn@openerp.com>
2019-10-07 08:16:03 +00:00
Florian Gilbert 0098865627 [FIX] account: Fix tax group edit on account move.
Fix problems about multi currency on account move
when you modify tax group via tax group widget.
2019-10-01 14:42:06 +00:00
Antony Lesuisse 4ddce229c4 [IMP] l10n_generic_coa: improve chart
Renamed xml ids of the main accounts (in prepartion for a future multi l10n
demo system). Change account numbering to match quickbook and other US GAAP
convention and recommendations.

closes odoo/odoo#37606

Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
2019-10-01 13:09:50 +00:00
wan b3ab9604c4 [FIX] account: reconcilciation model with amount based on regex
the amount is now not always set in credit side

closes odoo/odoo#37475

Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
2019-09-27 09:19:38 +00:00
Laurent Smet fc5765e860 [FIX] account: Fix uploading attachment from dashboard
Suppose uploading an attachment with res_id = 0, res_model = 'existing.model'.
Suppose also there a one2many having 'ir.attachment' as co_model and res_id as co_field
in 'existing.model'.
This setup leads to an error since the record with id=0 doesn't exists.
This commit ensures the res_model is not set when uploading the attachment.

closes odoo/odoo#37414

Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
2019-09-25 11:03:09 +00:00
Juhil Somaiya ececa1f7bf [FIX] *: hide technical field widgets in non-debug mode (Studio)
*:
- account
- barcodes
- calenndar
- hr_timesheet
- mail
- mass_mailing
- partner_autocomplete
- web
- website_slides

This commit removes description of fields that should not be shown in
non-debug mode Studio. Only field widgets whose own description is
set are displayed in non-debug mode Studio in "Widget" of sidebar.
In other words, even if any ancestor has a description but not the
current widget, it won't be displayed in the sidebar in non-debug
mode.

Task-Id 2056992

closes odoo/odoo#35902

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2019-09-23 15:00:44 +00:00
wan efd97b7ea0 [IMP] account: review the hierarchy of account type selection
* Add an equity section inside the balance sheet
* Divide profit and loss into Expense and Income
* Reorder the Expense and Income types

closes odoo/odoo#36599

Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
2019-09-10 09:11:35 +00:00
wan 754d2ef6aa [IMP] account: review the keyboard navigation for the reconciliation widget
Task 2072312

* Ensure that the css is from Odoo and not from the browser
* Only use up/down to navigate
* Use Enter to validate a line
* Remove the accesskeys
2019-09-18 12:45:59 +00:00
Cedric Snauwaert b0ddc0fda1 [FIX] account: fix css of pencil to edit tax on vendor bill
Before when creating a vendor bill with a tax 15% and a price unit less than 87, the widget to edit the tax amount was wrongly displayed, the pencil and amount was broken into two lines. This fixes this behavior by ensuring that the all block stays together using the css property white-space: nowrap

closes odoo/odoo#37049

Signed-off-by: Cedric Snauwaert (csn) <csn@openerp.com>
2019-09-18 08:09:38 +00:00
Cedric Snauwaert 35cbb430ce [FIX] account: fix focus problem in manual reconciliation
Previously when opening the manual reconciliation widget with several lines, trying to put the focus on another line by clicking on the grey line was not working due to a o_field_widget with the partner name taking all the line and there is an event on that o_field_widget that stop the propagation of the event.
Also changing the partner value was only changing the value in the grey zone and not in the other field.
Therefore as it was strange to have twice the name of the partner display one above another and that it was causing problem for the focus of the widget. We removed the name of the partner that was readonly (leaving the editable field where we can change it) and we replaced it with the name of the account which makes more sense.

closes odoo/odoo#36881

Signed-off-by: Cedric Snauwaert (csn) <csn@openerp.com>
2019-09-16 14:36:02 +00:00
wan a70aed9fbe [FIX] account: concurency in reconciliation at blur proposition
The function _blurProposition returned a promise that was causing
concurency in the function quickCreateProposition. The _computeLine from
_blurProposition was erasing the value of reconciliation_proposition
created in quickCreateProposition.
However, the _blurProposition was didn't need to call _computeLine as it
was called later.

closes odoo/odoo#36904

Signed-off-by: Cedric Snauwaert (csn) <csn@openerp.com>
2019-09-16 08:15:54 +00:00
Christophe Simonis 5a273e74f0 [MERGE] forward port branch saas-12.4 up to fe59754c52
closes odoo/odoo#36721

Signed-off-by: Christophe Simonis <chs@odoo.com>
2019-09-13 13:32:51 +00:00
wan 8d7837c035 [FIX] account: removing a line produced by a model
If a line was produced by a reconciliaion model, it shouldn't be put back
in the reconciliation propositions because a rpc request would not give
it back. Also, the line is not correctly formatted.

closes odoo/odoo#36826

Signed-off-by: Cedric Snauwaert (csn) <csn@openerp.com>
2019-09-13 08:57:17 +00:00
wan afb352cf8b [FIX] account: focus and click concurency in reconciliation widget
When trying to edit the amount of a proposition of an inactive
statement, the focus of the line tried and the edition of the amount
were racing one against each other causeing flickering and making it
hard to edit the line.
We removed the focus as it was intended for the keyboard navigation but
it was not fully usable, so we also removed the accesskey needed for the
focus.
2019-09-13 08:43:59 +00:00
wan 4d38d04d81 [FIX] account: width of scrollbar in account searchpanel
When there is a lot of data to be displayed in the searchpanel, the scrollbar appears. The with of the scrollbar takes too much space compared to the width of the custom searchpanel.
This commit reduces the size for Chrome and Firefox >= 64

closes odoo/odoo#36758

Signed-off-by: Cedric Snauwaert (csn) <csn@openerp.com>
2019-09-12 09:29:01 +00:00
Hetashree ChauhanandHardik Prajapati 4a1bbbff75 [IMP] account: various improvements
- show period along with 'Tax Report' activity of journals on accounting dashboard.
- added 'Upload Invoices' button on sales journals in Accounting Dashboard.
- added 'New Bill' button on purchase journals in Accounting Dashboard.

Task: 34740
Closes: #34740

Co-authored-by: Hardik Prajapati <hpr@odoo.com>
2019-09-06 07:12:06 +00:00
wan 5112d04637 [FIX] account: prevent multiple event concurency
* When clicking on the partner m2o selection field before having clicked on the bank statement line, 2 events occured:
* the bank statement line expanded
* the partner selection showed

This could lead to unwanted behavior as the renderer could update
-> Stop the propagation of a click on .o_field_widget to prevent
flickering and possible update of the statement line widget

* Always recompute the create line as sometimes the value is not correct
when removing a proposition

closes odoo/odoo#36322

Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2019-09-05 10:24:55 +00:00
wan 737eaf9333 [IMP] account: add searchpanel on account.account and account.move.line
Task 2008956

* Add the root of an account (first 2 digits/char) as a searchable model.
* Create a custom searchpanel for this account root on account.move.line
* Add the account_root searchpanel to the account.account view too.
2019-09-04 09:00:03 +00:00
Christophe Simonis 64e43808b7 [MERGE] forward port branch saas-12.5 up to 58a83d1222 2019-09-20 17:34:45 +02:00
Christophe Simonis 6c948c36bb [MERGE] forward port branch saas-12.5 up to 197474e5b9 2019-09-13 18:07:59 +02:00
Christophe Simonis b792ba7d9a [MERGE] forward port branch saas-12.3 up to 752b2553c6 2019-08-08 11:52:13 +02:00
wan ac1876762c [IMP] account: allow to reconcile taking amount from the label of the statement line
Task 2039772

Add a new amount matching mode by taking the amount from the label, based on a regex. The regex must contain a capture group. If multiple groups are matched, there will be an error.
Also add a 'remaining' option for the second line, that puts the remaining amount of the statement in the second line.

closes odoo/odoo#35143

Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
2019-09-03 12:12:20 +00:00
wan 3c5c7b4d81 [IMP] account: second line of reconciliation model based on open balance
Part of task 2039772
The second line of reconciliation models (client side) was computed based on the amount of the bank statement instead of the remaining balance, like on the server side.
We also need it to be based on the remaining balance, for the next commit introducing the detection of the amount thanks to a regex on the commuication of the statement.
2019-09-03 12:12:20 +00:00
mcm-odoo 1c34882478 [IMP] account: improve account views
Changes in account views to make them cleaner and
easier to use and understand.

Invoices/Bills tree view
---
- Distinct Invoices tree view from Bills tree view:
  In Invoices:
  - invoice_vendor_display_name is "Customer"
  - invoice_date is "Invoice Date"
  - "Payment Reference" is hidden because it's the same
    as "Number"
  In Bills:
  - invoice_vendor_display_name is "Vendor"
  - invoice_date is "Bill Date"
- "Source Document" is moved next to "Number"
- Renamed "Payment Status" to "Payment"
- "Payment Status" value "paid" renamed to "Paid"
- Search filters:
  - Renamed "Open" to "Posted"
  - Added a separator after "Posted"
  - Removed "Linked to revoked mandate"

Invoices/Bills form view
---
- Removed "Original vendor bills" from form but kept it in list
  and renamed to "Original Bills"
- Renamed state "Unposted" to "Draft"
- "Draft *" titles are now in h1
- Added placeholders and removed tooltips on Payment Terms
- Removed tooltips of invoice date
- Hid Accounting Date on Customer Invoices
  because it's the same as Invoice Date
- Rewamped payment info popup:
  - Renamed title to "Payment Info"
  - Removed right alignment
  - Removed Name info
  - Reordered info: Amount, Memo, Date, Method
- Added optional to few fields in tab "Invoice Lines":
  - Analytic Account: show
  - Analytic Tags: show
  - Intrastat: show
  - Origin Country of Product: hide (and renamed to "Product Country")
  - Unit of Measure: show
  - Disc (%): show
  - Taxes: show
- Added optional to few fields in tab "Journal Items":
  - Label: show
  - Analytic Account: hide
  - Balance in Currency: hide (renamed to "Amount in currency")
  - Taxes Applied: hide (moved before debit and renamed to "Taxes")
  - Tax Grids: show (moved after credit)
  - Due date: hide (moved before Balance in currency renamed to "Due Date")
- Tab "Other Info":
  - Renamed sections:
    Sales Information -> Invoice
    Accounting Information -> Accounting
    Payments Information -> Payments
  - Website is now hidden if not set and tracked in chatter

Payment form view and modal
---
- State "Posted" renamed to "Validated"
- State "Cancelled" is hidden while module account_cancel
  is not installed
- Renamed "Payment Method Type" to "Payment Method"
- Renamed "Payment Date" to "Date"
- Renamed "Payment Amount" to "Amount"
- Renamed "Payment Journal" to "Journal"
- Reordered fields:
  Journal                   Amount
  Payment Method            Date
  Recipient Bank Account    Memo
- Payment Difference is now visible only with
  accountant access rights.

Journals form view
---
- Removed Journal Groups
- Changed position of "Bank Account"
  it's now the first tab
- In "Advanced Settings":
  - Renamed section "Accounting App Options" to "Posting"
    and only visible when Accounting rights
  - "Post at Bank Reconciliation" was a Boolean field and is now a
    Selection field with values pay_val for Payment Validation and bank_rec
    for Bank Reconciliation.
    In form view it's now a radio button.
    Removed tooltip of this field.
  - Section "Control-Access" is now visible with Accounting Manager rights
  - Renamed "Invoice References" to "Payment References"
  - Field "Communication Type" value "Based on Partner" renamed to "Based on Customer"
  - Reorder sections:
    Payment References
    Email your Invoices/Bills
    Control Access

Purchase form view
---
- In Purchase Order: Field Billing Status is invisible if the status
  of the purchase.order is draft/sent/to approve/cancelled

task-2032586
2019-08-29 14:14:50 +00:00
wan 5aeec0c3dc [IMP] account: Hierarchy in account type selection field
Task 2041865

We want to show a hierarchy to ease the account type selection (hack in the select widget)
BALANCE SHEET
ASSETS
Fixed Assets
Non-current Assets
Current Assets
Prepayments
Receivable
Bank and Cash
LIABILITIES
Equity
Current Year Earnings
Non-current Liabilities
Current Liabilities
Credit Card
Payable
PROFIT & LOSS
Income
Other Income
Expenses
Cost of Revenue
Depreciation
OTHER
Off-Balance Sheet

closes odoo/odoo#36170

Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
2019-08-29 15:07:47 +00:00
william-andre d201a39357 [IMP] account: rework the reconciliation widget
Task 36284
Change the visual aspect of the reconciliation widget:
* Use a tab system to change modes
* Matching for receivable/payable (and liability)
* Matching for types not above
* Create a new line
* Batch Payment
* Sale Order
* Add a keyboard navigation
* Improve the search bar and use a real search view to do so
* Remove the constraint that prevent to select a line already selected
on another statement. Instead remove it when a reconciliation is
validated
* The lines already proposed are proposed last on other statement
lines
* Put the lines with exact amount matching first in the propositions
* Improve when Rainbowman shows
* Change the order of the propositions: older show first
* Remove the title on top of the view (and the ability to edit it)
* Fix some breadcrumb issues
* Also add lines from receivable/payable without partners in the manual
reconciliation widget.
* Propose things to do if there are no lines found in the manual
reconconciliation

closes odoo/odoo#32631

Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
2019-08-27 11:26:50 +00:00
Florian Gilbert 9bc4a19d74 [IMP] accounting : Usability back2basics.
task #2041848

closes odoo/odoo#35381

Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
2019-08-21 19:07:26 +00:00
Christophe Simonis 7d04dc1c7c [MERGE] forward port branch saas-12.2 up to 9e74730a26 2019-08-06 18:48:24 +02:00