Commit Graph
276 Commits
Author SHA1 Message Date
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
qsm-odoo 5960d3cff8 [IMP] *: New icons 2015-08-11 14:31:10 +02:00
Arthur Maniet 2328fa655e [REF] account: reconciliation widget: create new lines 'form view'
Clean up the code and make label/fields width cohesive
2015-08-10 12:31:54 +02:00
Arthur Maniet 19b34aff24 [FIX] account: reconciliation widget: scrolling behaviour
In the old design, the widget container needs to take care of the
scrolling since it is not instanciated inside a oe-view-manager.
In the new design, the o_content takes care of scrolling so those CSS
rules are not required (and are even harmful, cropping popovers).
2015-08-10 12:31:54 +02:00
Arthur Maniet 73206f6c1c [REM] account: reconciliation widget: useless CSS selectors 2015-08-10 12:31:54 +02:00
Aaron Bohy 1587647dcd [FIX] account,web(_diagram): FieldMany2One: rename $drop_down
$drop_down has been renamed into $dropdown in enterprise edition, which was
probably not a good idea, as it is accessed from outside web.
2015-08-07 14:05:07 +02:00
Arthur Maniet b1f28100f9 [FIX] account: reconciliation widget: form view fields appearance
Added new design classes on top of hacky CSS designed to mimick that
of the form view. This will do the trick until more serious refactoring.
2015-08-07 13:31:45 +02:00
Arthur Maniet 6322c39346 [FIX] account: reconciliation widget: new line update upon typing
Properly bind the keyup event on the <input>, which can be the field widget root $el
2015-08-07 13:31:45 +02:00
Arthur Maniet c9232ce598 [FIX] account: reconciliation widget: lines controls visibility
Selectors to hide the controls and display them on hover/active/focus were wrong
2015-08-07 13:31:45 +02:00
Arthur Maniet e27ba2db65 [REM] account: reconciliation widget: tabindex on form fields
The browser's default tab order is perfectly fine and using tabindex
was a bad idea in the first place.
2015-08-07 13:31:45 +02:00
Arthur Maniet f4e27626e4 [FIX] account: reconciliation widget: new design compatibility
- Use less instead of sass
- Use class name of both old and new designs
- Small CSS tweaks to support both designs
- JS compatibility fixes + a little cleanup
- The ctrl-enter shortcut only reconciles balanced entries
2015-07-24 13:01:08 +02:00
Fabien Pinckaers 5a3d0947f2 [IMP] Supplier --> Vendor 2015-07-16 14:55:20 -07:00
Christophe Matthieu 500c33b184 [IMP] web: split model.js into model.js and data_model.js. Web js modules must call web.DataModel. 2015-07-10 16:32:35 +02:00
Pankaj Joshi 03592e1c73 [FIX] account, mail, web : replaced broken glyphicons with font-awesome icons and updated css/scss file accordingly 2015-07-08 17:11:18 +02:00
Martin Geubelle ea8a853400 [FIX] web_kanban: dashboard style remains when grouped 2015-07-06 14:19:30 +02:00