Commit Graph
99161 Commits
Author SHA1 Message Date
Yannick Tivisse 3d8f7c2f24 [IMP] All res_config files : Convert Booleans to Selection fields + radio buttons in views 2015-08-10 15:22:31 +02:00
Arthur Maniet 522086c98b [MERGE] account check printing fixes and refactoring
- Use account_check_printing as the basis for other modules to add actual
check printing facilities
- Some usability fixes
2015-08-10 14:36:09 +02:00
Arthur Maniet 6967e89232 [REF] account check printing: move tests to 'concrete' module
Since account_check_printing doesn't add a functionality without a 'concrete'
check printing module like l10n_us_check_printing, move tests to this module
2015-08-10 13:48:56 +02:00
Arthur Maniet 941fa2f48e [ADD] account check printing: 'Unmark Sent'
Possibility to go back from state 'sent' to 'posted'
2015-08-10 13:48:56 +02:00
Arthur Maniet 753cc6d246 [REF] account check printing: hide payments field 'amount in words'
Since this field has to be correctly populated by the software, it is
only useful to see it for debugging.
2015-08-10 13:48:56 +02:00
Arthur Maniet 5ff410d01a [REF] account check printing: base module is a hidden dependency
The account_check_writing module offers the structure for other modules
to add check printing facilities (like l10n_us_check_printing), in and of
itself it brings no functionality.
2015-08-10 13:48:55 +02:00
Olivier LAURENT 755b09c8dc [FIX] hr_holidays: multiple fixes for search filters
- Wrong 'year' filter that implemented in fact an 'active types' filter
- Add a real 'year' filter
- 'my leaves' uses directly the 'user_id' related field
- 'My Department Leaves' filter that mixed ids from different models

Closes #7685
2015-08-10 12:33:25 +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
Nicolas Martinelli f2108e9edd [FIX] stock_account: merge the Reference/Description
When invoices are created from pickings, and that the user chooses to group by
partner, we make sure to keep the Reference/Description of all the source
documents. This is exactly what is done for the Source Document field.

opw-646903
2015-08-10 11:54:28 +02:00
Nicolas Martinelli fb3dd3f0f4 [FIX] stock: do not overwrite date_done when a backorder is created
When the user specifies a Date of Transfer ('date_done') and only transfers the
order partially, we must keep the value instead of overwriting with today's
date.

opw-646908
2015-08-10 11:28:44 +02:00
Richard deMeester 59fef0db21 [FIX] account: Add sequence to tax views
For account.tax.code and account.tax.code.template.

Sequences on account.tax.code are used for reporting.
However, it wasn't possible to edit them through the client.
Neither through the form view or the list view with a handle.

Fixes #1844
Closes #2656
2015-08-10 10:55:32 +02:00
Richard deMeester 9e6bfc9852 [CLA] Willow-IT corporate 2015-08-10 10:55:32 +02:00
Nicolas Lempereur 97dbe0db5f [FIX] web_kanban, web: kanban title direction
In internet explorer, writing direction can lead to wrong text direction
when combined with rotate.

A fix was already in place for IE up to version 9 but the issue also
happens in next versions which are more difficult to differentiate
(especially the current spartan/edge version).

So this fix use the same css property value for all browser and it doesn't
seem to have an impact (other than correcting the issue in IE).

closes #7955
opw-646430
2015-08-10 10:54:23 +02:00
Cedric Snauwaert 8eb7b3a0d1 [FIX] accounting dashboard usability: remove graph title and set it as tooltip on kanban title 2015-08-10 09:49:15 +02:00
Nicolas Martinelli c16885e6e2 [FIX] hr_timesheet_invoice: invoice line in partner lang
During refactoring at 55f9cbf, lost translation of invoice lines.
The invoice lines should be in the partner language instead of in the user lang.
The analytic lines are browsed explicitely in the user language.

Fixes #7774
Closes #7796
opw-646166
2015-08-10 08:25:29 +02:00
Odoo Translation Bot 4fcc756ef9 [I18N] Update translation terms from Transifex 2015-08-09 02:00:12 +02:00
Simon Lejeune 7c05b7965d [REF] packaging: windows: use less.js-windows
Fixes #7951
2015-08-07 18:18:33 +02:00
Nicolas Martinelli bf0f438209 [FIX] purchase: procurement quantity depends on product_id
Before this fix, the quantity of the last procurement of the list is used for
each PO line.

opw-646868
opw-646596
2015-08-07 17:00:24 +02:00
Goffin Simon 982f713236 [FIX] website_mail: clean_for_save
Removing hidden tags could remove useful tags in the DOM
such as "br".

opw:646185
2015-08-07 16:22:05 +02:00
Aaron Bohy f3dc801080 [IMP] web_kanban: fine tuning
- scroll to the right when adding a new column
- apply style on column quick create card
- darken background color of odd columns in grouped mode
- remove some unused rules
2015-08-07 15:45:45 +02:00
Denis Ledoux 6ebbbdbae9 [FIX] stock: no uom rounding for DO availability & reservation
Instead of rounding the availability and reversation
of a delivery order line to the current UOM rounding,
we round to the generic Product of measure precision.

This is to have the real availability, even for a unit
of measure that normally cannot be split.

For instance, for a product for which the default
uom is 'Unit(s)', but for a specific delivery order
you deliver 1 'Dozens' of this product,
if you have 6 Units available, it will now display
that 0.500 'Dozens' is available and reserved, which
is what is actually happening.

Before, it displayed that 1 dozens was available, even
if only 6 units were available, on the 12 needed.

opw-643312
2015-08-07 15:25:07 +02:00
Goffin Simon 4a46ca474d [FIX] sale: comment in partial invoice
When a partial invoice is created from a sale order, the field "note"
in the sale order must be written in the field "comment" of the invoice.

opw:646852
2015-08-07 15:19:01 +02:00
Jeremy Kersten 5a53d7d8b9 [FIX] website_sale: force refresh cart without cache when product removed
Firefox keep in cache the value of input.
So, when we delete a product line and call location.reload(), firefox
remember the value and state of this input and don't refresh with the new
value.

Adding True as param (forceReload) fixes the problem since it doesn't
use old value. Another way will be to add autocomplete="off".

ForcedReload (Optional): Is a Boolean flag, which, when it is true, causes the
page to always be reloaded from the server. If it is false or not specified,
the browser may reload the page from its cache.

This closes #7888 #3342 #7491
2015-08-07 15:11:54 +02:00
Nicolas Martinelli 176dc1e524 [FIX] hr: onchange_user does not overwrite name and image
We keep the previous behavior by not overwriting the name and the image if they
already exists.

Related to #7397
2015-08-07 15:07:47 +02:00
Olivier Dony da8855ad2b [FIX] auth_openid: typo in rev. 77868ec 2015-08-07 14:17:42 +02:00
Olivier Dony 1388c0c108 [FIX] auth_openid: typo in rev. 54e0690 2015-08-07 14:15:41 +02:00
Aaron Bohy bffa8f37f1 [REF] web_diagram: various tweaks
- Ensure compatibility with both editions of web
- Use the Pager widget instead of re-implementing it
- Fix the use of Dialogs which was broken (wrong type of Dialog was used)
- Convert css into less
- Some js linting
2015-08-07 14:05:07 +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
Aaron Bohy 10f2df8e59 [REF] web(_*): views: view_switcher icon
Add a key icon in the view's prototype corresponding to the font-awesome icon
to display in the view switcher.
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
Olivier Dony fb55b2fa5e [FIX] res.users: more consistent handling of user private fields 2015-08-07 13:16:45 +02:00
Olivier Dony 5e4c09ae53 [FIX] res.users: more consistent handling of user private fields 2015-08-07 13:15:45 +02:00
David Monjoie a164789221 [FIX] web_tip: fixed tips in folded kanban columns
The fold rule of kanban view hides all o_kanban_record,
so we need to put the tip inside one of them instead of
alongside them in order to have a proper folding behavior.

Previously, the tip stayed on top of everything when
the kanban column was folded.
2015-08-07 13:03:57 +02:00
Julien Legros 4ffcbe841c [FIX] purchase: correctly fix regression 2015-08-07 13:03:47 +02:00
Julien Legros 6b13493e77 [FIX] purchase: make purchase order regression
regression introduced by fe92deaa1d
when forward porting 24556120e7
2015-08-07 12:16:17 +02:00
Olivier Dony 118b91ec98 [FIX] web: properly escape breadcrumbs titles
Introduced in saas-6 by 61dec05b9f,
the title was previously escaped properly.
2015-08-07 12:07:19 +02:00
Goffin Simon 39b0a4c2cc [FIX] account: tax_sign
When changing manually the amount of tax in supplier invoice,
the tax sign of the tax must be kept.
Back-port of 4f6eebf698

opw:645691
2015-08-07 11:50:34 +02:00
Goffin Simon 6e2026dcda [FIX] account_analytic_analysis: timesheet_ca_invoiced
The function "_timesheet_ca_invoiced_calc" must not take lines from invoice in state "draft" or "cancel"
to compute timesheet_ca_invoiced. Inspired from function "_ca_invoiced_calc".

opw646602
2015-08-07 09:41:34 +02:00
Alexandre Fayolle 0b74fbed74 [FIX] ir.ui.view: pass context as a kwarg
otherwise when a method such as fields_get is overridden
using the new API, self.env.context is an empty directory,
and the translations cannot be performed correctly

Closes #7911
2015-08-07 02:52:19 +02:00
Antony Lesuisse e248886e5e [MERGE] split website_portal and generic chatter template
- website_portal define a basic /my/home controller
- website_portal_sale extend it to display orders
- website_mail add a generic template to display chatter and post messages on pages
2015-08-07 02:14:35 +02:00
Damien Bouvy 0d3b7d672f [IMP] website_sale: use website_mail generic chatter 2015-08-07 01:47:46 +02:00
Damien Bouvy 4aa3658adb [IMP] website_quote: use website_mail generic chatter 2015-08-07 01:47:06 +02:00
Damien Bouvy ad081b0da1 [IMP] website_mail: generic chatter implementation
A new generic chatter template is available in website_mail
This template allows access rights escalation when some kind of token or uuid
is available on the model or if you use the object_shasign function in the
main controller of website_maill to generate a cryptographic signature to allow
commenting on any object.

To use this chatter, you need to make a t-call to website_maill.thread in your
template after having set the following variables:
- chatter_object: the browserecord of the mail_thread object (mandatory)
- token: if you use a token system  (optional)
- token_field: name of the field that stores the token on your object  (optional)
- sha_in: if you use a shasign to allow public comment  (optional)
- nosubscribe: set False if you want the partner to be set as follower of the object  (optional)
- message_type, subtype: see message_post in mail_thread.py
2015-08-07 01:47:06 +02:00
Damien Bouvy 5f48cb992e [REF] website_portal => website_portal, website_portal_sale
Split of website_portal into a generic (and mostly empty) website_portal and a sales-related website_portal_sale (sales order, quotes, invoices)
This allows other modules to extend website_portal without depending on sales
2015-08-07 01:47:06 +02:00
Antony Lesuisse 1e90257e58 [IMP] tags: add unique constraints
- remove tags translatability
- add unique constraints
- res.partner.category is kept until we remove the parent_store test.
- hr remove tag parenthood
- hr remove unsed views and menu
2015-08-07 00:51:14 +02:00