Commit Graph
99161 Commits
Author SHA1 Message Date
Joren Van Onder a094563d4c [FIX] barcode_events: add barcode_events.js to database_manager 2015-05-29 16:29:46 +02:00
Joren Van Onder ddfa131e13 [IMP] barcode_events: deal with special keys in Firefox
Let arrow keys, tab and escape pass through. We still want users to be
able to use eg. arrow keys to be used when selecting a radio item. This
will always work in Chrom{e,ium} because they do not dispatch keypress
events for these types of keys, only keydown/keyup events. Firefox does
dispatch keypress events. This makes sure that we do not touch those
types of events in Firefox.

devices have to fire keypresses every 50ms minimum

Previously this was 100ms. This works just as well, but was mainly in
there for testing purposes.
2015-05-29 16:29:16 +02:00
Joren Van Onder 44d5fbb21f [IMP] barcode_events: implement better keyrepeat blocking
Before this, users were only able to press a key when all other keys
were released to prevent a key from repeating. This works but when
typing you usually press the next key before releasing the current
one. This allows users to do exactly that while still blocking keys from
repeating.
2015-05-29 16:29:15 +02:00
Joren Van Onder 49d4ddd422 [IMP] barcode_events: implement a new way of dealing with barcode events
Implement a new way of dealing with barcode events. This was necessary
because the old way of dealing with input coming from barcode devices
did not stop keyevents. This lead to all kinds of issues (eg. barcode
reader output being inserted as tender in a paymentline).

This new class inserts itself so that it handles all keyevents before
everything else. This means that it has authority on what keypress
events pass and which ones do not. It differentiates between 'real'
keyboard input and input coming from devices by buffering events. When a
certain amount of events come in fast enough, it is handled as a barcode
and a 'barcode_scanned' event is emitted on core.bus. When buffered
events are decided to not be a barcode, they are recreated and
redispatched.
2015-05-29 16:29:15 +02:00
Frédéric van der Essen 19eda68547 [IMP] web, point_of_sale: basic implementation of the cordova integration.
This time without a new js file
2015-05-29 15:33:13 +02:00
qdp-odoo 930a427ffa [FIX] account: some minor usability fixes 2015-05-29 15:04:38 +02:00
Arthur Maniet 9a6f414d13 [FIX] account: payment and related features usability 2015-05-29 14:48:29 +02:00
Nicolas Martinelli 46eb9e2639 [FIX] product: cut date to keep format '%Y-%m-%d'
Ensures the date format is '%Y-%m-%d', since it is the format of
pricelist.version_id.date_start/date_end.

opw-640436
2015-05-29 13:58:53 +02:00
Nicolas Martinelli 3274f8c94c [FIX] point_of_sale: remove deprecated field account_receivable
property_account_receivable should be configured by default.

opw-639766
2015-05-29 13:39:29 +02:00
Nicolas Lempereur 27834a6e9b [FIX] web_calendar: keep default name if event name empty
The name of an event is the name a created record will get.

If the event name of a new event is left empty, the edited record will
also be empty which could be less user friendly.

closes #6896
fixes #6869
opw-640921
2015-05-29 13:18:09 +02:00
Christophe Simonis 5d1f251858 [FIX] website_crm_score: correct imports 2015-05-29 12:57:59 +02:00
Martin Geubelle 66762d87b4 [IMP] crm: replace old gtk images by font-awesome ones 2015-05-29 12:29:54 +02:00
Martin Geubelle a45357c322 [IMP] web: allow tree view to display font awesome button 2015-05-29 12:29:19 +02:00
Denis Ledoux c6d552e9c6 Revert "[FIX] website: moved website.xml loading to editor"
This reverts commit e18a3a43e4.

website.error is used in the Javascript file it was removed from,
in website.js, line 350.

Another solution to not load this template when not needed has
to be found

opw-640822
2015-05-29 11:50:57 +02:00
Olivier Dony b17c7d66c7 [I18N] Final sync + cleanup of Launchpad Translations, moving to Transifex
See https://github.com/odoo/odoo/wiki/Translations
2015-05-29 11:22:32 +02:00
Olivier Dony 1cea0dc4e9 [I18N] Final sync + cleanup of Launchpad Translations, moving to Transifex
See https://github.com/odoo/odoo/wiki/Translations
2015-05-29 10:55:06 +02:00
Martin Geubelle 38d114a2fb [FIX] project, project_issue: in project dashboard, boxes are visible even if 0 (ex: tasks and issues) 2015-05-29 10:44:52 +02:00
Nicolas Seinlet 02a530b64a [IMP] can use x_name in diagram view 2015-05-29 10:09:58 +02:00
oalca ad36836e3c [CLA] Oscar Alcala, Vauxoo 2015-05-29 00:13:40 +02:00
oalca db4056026e [I18N] website_sale: Translation to es_PA Spanish (Panama)
Closes #6732
2015-05-29 00:12:38 +02:00
Olivier Dony 3c8c1a96a2 [FIX] event: only auto-trigger after_sub mails during registration + fix tests
Previously, all existing event.mail schedulers were
auto-triggered at each registration, which could
make the behavior unpredictable/surprising,
including during the tests. Only trigger `after-sub`
event.mail schedulers, as only those are related
to a new registration.
Tests fixed to take into account this new behavior.
2015-05-28 23:38:58 +02:00
Olivier Dony 7137643782 [IMP] event: autocommit event.mail scheduler in cron mode 2015-05-28 19:44:14 +02:00
Christophe Simonis da922833c7 [FIX] account: adapt tests to match new behavior introduced in a475a2721a 2015-05-28 19:15:43 +02:00
Olivier Dony cfe58e428c [FIX] event: do not force_send emails by default, to keep transaction ACID 2015-05-28 19:12:03 +02:00
Olivier Dony 58f8ffb6a5 [FIX] website_event_sale: avoid empty writes on product for each registration
The sale.order.line on_change returns related field
values that are not meant to be written on the line.
Removing them from the `values-to-be-written` avoids
the useless write() on product.product and the locking
problems that come with it under high concurrency
environments.
2015-05-28 19:04:13 +02:00
Damien Bouvy 5047f4ecad [IMP] website_quote: UOM onchange, respect pricelists on SO, layout fixes
* add on_change_uom behaviour to quote templates lines
* fixes frontend layout issues
* use action_button_confirm instead of signal_workflow
  when confirming the quote in the frontend to trigger
  all events properly
* adapt prices using pricelist on onchange_template_id
   on sale orders
2015-05-28 19:04:13 +02:00
Denis Michiels 328d62cc91 [FIX] account: fix small issue in design
in the invoices.
2015-05-28 17:32:47 +02:00
Nicolas Lempereur 52aee9a8e7 [FIX] stock_landed_costs: splitting and decimals
When splitting landed costs against the picking line, the decimal
precision was not taken into account.

For example: with a landed cost of 5.01 split equally over two lines,
the cost for each line is 2.505 which is rounded to 2.51 with a decimal
precision of the fractional part of 2. Hence the total was wrongly of
5.02 (which is an issue when wanted to validate the landed costs).

With this commit, the split landed costs are restrained to stay under
the whole landed cost price.

closes #6882
fixes #5568
opw-639503
2015-05-28 16:37:07 +02:00
Martin Trigaux 916525fbf3 [FIX] web: Kabyle localization file
datejs is looking for the file named with a dash and not an underscore
Fixes #6165
2015-05-28 16:33:04 +02:00
Valerie Pirenne a7b6fd7f90 [FIX] mail: default_model and default_res_id in full composer 2015-05-28 16:12:02 +02:00
Denis Ledoux f6f55d66b3 [FIX] google_calendar: get_param returns a string
while `timedelta` argument `weeks` expects an integer

opw-640976
2015-05-28 16:02:34 +02:00
Christophe Simonis 8b5a1f1035 [MERGE] forward port of branch 8.0 up to 9fe0590 2015-05-28 15:53:42 +02:00
Denis Ledoux 9fe059027e [FIX] website: seo, auto detection of keywords with accents in boundaries
Javascript regex \b is not unicode aware,
and words beginning or ending by accents won't match \b

We therefore use a custom regex to replace \b.
Basically, it's a regex matching all words separators
such as dot, comma, spaces, etc. and other unicode
separators as well.

opw-641005
2015-05-28 15:15:53 +02:00
Nicolas Martinelli 4fec2447ec [FIX] account: default tax can be of type 'all'
opw-640984
2015-05-28 15:07:29 +02:00
Christophe Simonis 970f9466aa [MERGE] forward port of branch saas-3 up to 55d6c19 2015-05-28 14:45:30 +02:00
Christophe Simonis 55d6c190da [MERGE] forward port of branch 7.0 up to e33bcde 2015-05-28 14:41:30 +02:00
Christophe Simonis 1f22653d19 [MERGE] saas-6 forward-port
Rebasing a merge commit with a lot of conflicts is a real pain as every
non-automatic conflicts should be redo manually (especially when there
is a lot of file rename that git cannot follow)
2015-05-28 14:31:46 +02:00
Christophe Simonis fe2b5f35a4 [MERGE] forward port of branch saas-6 up to bf1e999 2015-05-28 14:27:38 +02:00
Yannick Tivisse 92583db004 [IMP] Several menuitems readjustments
- Jump on Users tree view when clicking on settings
- Move Companies into Users menuitem
- MRP menus sequence fix
- Website Admin menus sequence fix
- Move slides menus into Website Admin
2015-05-28 14:01:15 +02:00
Goffin Simon 1da3a8b353 [FIX] stock_account: description for extra moves
The extra moves must take into account the field description_sale or description_purchase and
the field default_code set on the product.

opw:640387
2015-05-28 13:59:11 +02:00
Thibault Delavallée ea1ba871a4 [FIX] mail: fixed followers widget on project/sales team/department.
Displaying several kind of subtypes crashed due to missing classes
and wrong code.
2015-05-28 12:21:47 +02:00
sha-odoo d6554e54d2 [FIX] mail: fixed top button to compose email that was broken
when merging timeline.
2015-05-28 11:56:16 +02:00
Thibault Delavallée 272cbf2dfe [FIX] mail: typos in tracking value 2015-05-28 11:56:16 +02:00
Arthur Maniet 11d8c5fd2e [FIX] account bank reconciliation:
- Automatic bank reconciliation: failure to acknowledge that x * -1 == -x
- Interface: hide the 'partial reconciliation' sign when matching a transaction with an already registered payment
2015-05-28 11:22:29 +02:00
Denis Ledoux fff4215933 [FIX] stock_account: purchase and sale_refund are two different journal type
When creating an incoming shipment to be invoiced with as source location
"Transit"
and as destination location
"Stock"

Clicking on create invoice leaded to a crash.

opw-639536
2015-05-28 11:05:43 +02:00
Nicolas Martinelli e33bcdec19 [FIX] stock: return picking wizard handles one picking at a time
We force the user to select only one picking at a time. The reason is that we
can choose the number of products to return for every picking, so it does not
make sense to group the returns in one picking.

opw-640030
2015-05-28 10:19:38 +02:00
Nicolas Martinelli 9fe2e04c0d [FIX] stock: prevents multiple source/destination locations for the moves of the same picking
opw-640414
2015-05-28 08:44:19 +02:00
Goffin Simon 716fec913a [FIX] point of sale: Customer's country
When editing a customer, the actual country of the customer must be shown.

opw:639863
2015-05-28 08:18:21 +02:00
Nicolas Martinelli e658017f76 [FIX] lunch: return warning instead of UserError if amount order is larger than balance 2015-05-27 20:50:27 +02:00
Nicolas Martinelli 1610fc41ef [FIX] stock_dropshipping: raise a warning in a specific invoice creation config
So far, we do not support the following combination:
- route set on 'dropship'
- PO invoicing set on 'picking'
- SO invoicing set on 'picking'

opw-634898
2015-05-27 16:11:31 +02:00