Commit Graph
290 Commits
Author SHA1 Message Date
Jainik Patel 531ed05a43 [IMP] account: add bank statement operation presets as template in l10n modules.
In details:
* account.operation.template object renamed into account.reconcile.model
* account.reconcile.model.template object created
* added some records for l10n_be

Was PR 11230
2016-08-30 09:55:24 +02:00
qdp-odoo a267d8205b [FIX] account: fix account_reconciliation_widget when a tax is used. compute_all() now expects browse_records as parameters 2016-08-29 18:03:05 +02:00
rap-odoo 1b1c0d0777 [IMP] account: Improve graph proportions in accounting dashboard
========
Purpose
========

The graphs on the accounting dashboard give the impression that we had $0 in the bank because the graph is at the bottom of the kanban kard.

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

The bottom should be zero, the top should be the maximum of the visible period, and the rest of the graph should be proportionate.
2016-08-22 11:29:04 +02:00
Christophe Simonis 235ed4b2c1 [MERGE] forward port branch saas-12 up to 9ad5f26 2016-08-20 18:08:19 +02:00
Christophe Simonis 9ad5f26b3f [MERGE] forward port branch saas-11 up to 3a2147d 2016-08-20 17:18:31 +02:00
Christophe Simonis 3a2147d95c [MERGE] forward port branch saas-10 up to bc1a0a3 2016-08-20 16:57:36 +02:00
Christophe Simonis bc1a0a32ca [MERGE] forward port branch 9.0 up to 58cbcba 2016-08-19 16:59:29 +02:00
Cédric Snauwaert 5b4404f628 [FIX] account: optimize the bank reconciliation widget + add of a button to auto-reconcile instead of auto-reconciling directly when opening the widget.
* This new button is a behavior change, but this is needed for big databases with a lot of statement lines to process. Indeed, in that case we prefer to load the widget as soon as possible and thus let the user process the lines manually or click on that button (but at that time he knows why it takes time).
* Opimization of various method in order to speed reconciliation and view opening : added indexes, direct use of sql queries...and also removed the code that was looping on open debit/credit to propose a sum of entries to match the statement line's amount, because it was a little greedy and wouldn't give accurate results most of the time.
2016-08-17 14:23:08 +02:00
Yannick Tivisse d6e1d41128 [MIG] account: Migrate remaining old API chuncks of code 2016-08-08 12:24:40 +02:00
Christophe Simonis f670b3b1df [MERGE] forward port branch saas-11 up to 3aea814 2016-07-29 15:33:51 +02:00
Christophe Simonis 529f88dbd3 [MERGE] forward port branch saas-10 up to 4ca04fd 2016-07-29 13:01:29 +02:00
Christophe Simonis 73cc3611b4 [MERGE] forward port branch 9.0 up to d35f425 2016-07-28 12:31:29 +02:00
Thomas Binsfeld a3fe9eb440 [FIX] account: allow to override abstract widgets
Improve possibility of inheritance.
Return abstract widgets in order to override these.

It closes #12870
2016-07-26 16:17:51 +02:00
Nicolas Lempereur 41ba673524 [FIX] account: popover payment information unclickable
In the account invoice the payments are shown and a popover with more
information is displayed when clicking on an (i) icon.

In this popover two buttons are available, but the used type of popover
disappear immediately when clicking on them, thus the buttons were
directly removed and would not work.

This commit add a delay when hiding the popover so the buttons
functionnality is not lost.

opw-680095
2016-07-25 15:00:27 +02:00
Géry Debongnie d56b35e26e [REF] web, *: move QWeb odoo init to web.QWeb
this js module centralizes all odoo initialization
2016-06-17 13:27:18 +02:00
Fabrice Henrion 5548bbe961 [IMP] account: consistent terminology
Closes #11663
2016-05-27 11:37:28 +02:00
Foram Shah db0b846b27 updated the description of 'account' 2016-05-10 15:24:43 +02:00
Mansi Gandhi fe0dd01e2f [IMP] account: 'Save and new' instead of 'New Operation' in bank statement reconciliation
It says what it does better, and it is more consistent with Odoo's usability.
2016-04-11 13:15:25 +02: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
Nicolas Martinelli 7a44effd09 [IMP] account: rename "Done" to "Skip"
When less than 2 entries are selected, no action will be performed.
Therefore, the "Done" label is misleading.

opw-670503
2016-03-23 09:31:59 +01:00
Aaron Bohy bda451ab31 [FIX] *: adapt addons to views refactoring of previous commit 2016-03-18 10:44:52 +01:00
Fabien Pinckaers 4c8e908b49 [IMP] Speed up app switcher loading: 645k --> 137k lossless compression for all icons 2016-02-26 11:39:38 +01:00
Yannick Tivisse 215cad9cae [IMP] account: Protip for the ctrl+enter access key
A similar protip has been added in the enterprise 'account_reports' module.
We took this opportunity to rename the class protip into o_protip and to apply
this kind of style with standard attributes and classes + to correct typos
2016-02-03 18:27:38 +01:00
Arthur Maniet 04fce95875 [FIX] account: reconciliation widget monetary values comparison
Since monetary values are stored as float, use the method intented for float
comparison using the maximum number of digits a currency can use.

Until V9, the number of digits used was fetched from table decimal.precision,
but as of V9, the accounting module stopped using it in favour of the digits
number defined on currencies.
2015-12-29 13:30:36 +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
Arthur Maniet 5339665806 [FIX] account: reconciliation widget's 'create writeoff' tax domain
Allow for both sale and purchase taxes since using a sale tax on a writeoff
makes sense in cash basis accounting.
2015-12-11 12:02:34 +01:00
Cedric Snauwaert 088db58967 [FIX] account: when trying to reconcile an entry, if label is empty, by default it should be the name of the line
It was the case in Saas-6 and prevent many mistakes
2015-12-10 11:54:06 +01:00
Goffin Simon e9dadadd07 [FIX] account: Bank statement reconciliation
The partial reconciliation can just be proposed on the last selected line when:
self.get("balance") * (last_line.debit - last_line.credit)<0
2015-11-26 16:53:12 +01:00
Géry Debongnie 329552b78e [FIX] web,account,website_links: update nvd3 to last version
This commit was necessary to fix weird problems in 9.0-nightly.
Phantomjs and the old nvd3 implementations did not play well together.

* transitionDuration() replaced by duration()
* tooltips() & tooltipContent replaced by tooltip.enable and tooltip.contentGenerator
* remove useless less for tooltip

Thanks to mge for his help
2015-10-29 22:15:44 +01:00
Arthur Maniet 3a26046b88 [FIX] account: bank statements reconcile invoice / match payment logic
The only difference between payment matching and reconciliation is that
in the former the reconciliation was already made while in the latter we
do it at bank statement reconciliation time.

So they behave the same in the interface except that partial reconciliation
is not proposed for payment matching.
2015-10-02 11:18:46 +02:00
Arthur Maniet ceb8536b55 [FIX] account: reconciliation interface broken M2O dropdowns 2015-10-01 17:33:44 +02:00
Arthur Maniet abbd635470 [REVERT] changes wrongly added to a0ea75e5f1 2015-10-01 11:30:26 +02:00
Arthur Maniet a0ea75e5f1 [REVERT] shema changes introduced in 9927f960f1 2015-10-01 10:38:23 +02:00
Arthur Maniet eb54347a04 [FIX] account: reconciliation interface compatibility with new design 2015-10-01 10:09:43 +02:00
qsm-odoo 7f7ce69bd9 [FIX] web,account: client actions layout (height)
Like view manager containers, client action containers needed the
overflow:auto property to compute their correct height inside their
flex context. This also allows client action as the reconcilation in
accounting to not care about their height.
2015-09-29 15:14:39 +02:00
Fabien Pinckaers 3658a894bc [IMP] modules description, no external link 2015-09-04 11:59:55 +02:00
qsm-odoo bc11426ab0 [IMP/FIX] *: Kanban dashboard LESS layout
* Fix alignement/layout problems since the reintroduction of
bootstrap grid gutter.
* Fix mobile layout problems.
* Fix various Firefox problems.
* Use odoo variables and simplify LESS.
* Use input type="text" instead of input without type.
2015-09-02 13:22:13 +02:00
Yannick Tivisse 03b7275bee [FIX] account: typo in 'Ref:' instead of 'Memo:' 2015-08-31 12:58:42 +02:00
Fabien Pinckaers 98210d88b9 [IMP] minor CSS & wording 2015-08-29 09:41:17 +02:00
Christophe Simonis edeceba7df [MERGE] forward port of branch saas-6 up to 7a768a4
Due to `sale` rewrite (94716a3f14),
the commit 503820acb6 has been partially
ignored (in sale.order.line) and will be rewritten later using new-api.
2015-08-28 15:07:16 +02:00
Christophe Simonis 6d85a9a4b9 [MERGE] forward port of branch 8.0 up to d744923 2015-08-27 18:30:46 +02:00
Nicolas Martinelli 5cb2943cca [IMP] account*: adaptation due to the new Sale module
Major changes:
- No use of UoS anymore
- No analytic journal (journal_id) on account move lines

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
2015-08-27 18:10:18 +02:00
Goffin Simon 5a224497a9 [FIX] account: proposed invoices
In bank statement reconciliation, when selecting an other partner(with the pencil),
the possible invoices to reconcile must be suggested.

opw:647210, 647885
2015-08-27 13:16:54 +02:00
Martin Geubelle 84c0e8f441 [IMP] account: style of account_journal_dashboard
* Graph at the bottom of the card on absolute
* Cards with a bigger min-width
* Stars (favorite) with distinct colors
* Fix addClass that did not work with SVG element
2015-08-24 18:25:43 +02:00
Fabien Pinckaers 5fe086a520 [IMP] Misc improvements on accouting views 2015-08-22 11:44:17 +02:00
Cedric Snauwaert cb1ce61c84 [ADD] account: add a popover with payment details and action on invoice 2015-08-21 14:06:15 +02:00
qdp-odoo 6cb6f43c2b [REF] base: simplified res.partner.bank and res.bank objects for a greater usability + [IMP] account: bank journals are now the bank accounts of a company 2015-08-19 15:44:59 +02:00
Arthur Maniet d0aa89caff [FIX] account: bank statement usability
- Don't show the button 'Validate' of the statement form when there is no statement line
- In reconciliation widget, use term 'Validate' instead of 'Register Payment' for the use case where the transaction is not reconciled on the spot
2015-08-19 13:55:53 +02:00
Aaron Bohy 63f9cf58a7 [IMP] account: reconciliation: remove unused classname 2015-08-14 16:29:44 +02:00
Aaron Bohy c00b16d874 [FIX] account: dashboard: classList and phantomjs
When running the test_menu tour with phantomjs, there was an error when
calling customize_chart because classList is not supported on phantomjs.
The workaround is to use addClass() of jQuery instead.

Also add missing call to _super() in start(), and remove ignored arguments
passed to customize_chart().
2015-08-11 16:28:47 +02:00