Commit Graph
99161 Commits
Author SHA1 Message Date
Christophe Combelles 2c37f83435 [FIX] analytic: duplication of analytic lines
When duplicating analytic accounts, child accounts are duplicated as well.
The custom copy method removes the analytic lines but this applies only on the
first copy. As the copy_data method recursively copies child accounts, these
child accounts did not use the custom copy method but the basic copy_data.

Move to copy_data

Fixes #6368, lp:1149676
2015-07-02 16:54:46 +02:00
Joren Van Onder 04fb3dfcff [IMP] pos_mercury: pos extension for electronic card payment.
This new module integrate the 'Mercury Pay' electronic payment
provider with the point of sale.

This commit is the end result of a large branch whose main
author is Joren Van Onder <jov@odoo.com>, with additional
contributions from Martin Donies <mdo@odoo.com> and Frederic van
der Essen <fva@odoo.com>
2015-07-02 16:42:36 +02:00
Joren Van Onder 3a26daeb29 [FIX] point_of_sale: make delete, plus and minus work again
Broke during migration of POS to the new keypress-oriented
barcode_events. The keyboard handler was written with keyup in mind, so
some keys got broken. This fixes everything and sets up a solution for
how to deal with keys that do not generate keypress events in
Chrom{e,ium}.
2015-07-02 16:42:36 +02:00
Frédéric van der Essen c8732bea1e [FIX] point_of_sale: ignore unrecognized barcodes in popups
When a popup is displayed in the point of sale, it sets-up its
own barcode callbacks to prevent the screen's default barcode
action. If a barcode doesn't handle such a barcode, and has not
been setup to handle errors either, it will be ignored, and
a warning will be emitted to the console.
2015-07-02 16:42:36 +02:00
Joren Van Onder 04baede144 [IMP] point_of_sale: make paymentlines in PosTicket more extendable 2015-07-02 16:42:35 +02:00
Joren Van Onder 9401bf0a07 [FIX] point_of_sale: use the same paymentlines for printer- and webreceipt 2015-07-02 16:42:35 +02:00
Joren Van Onder 80da43ebb8 [FIX] barcode_parser: don't match end of line
Causes issues with the card reader device.
2015-07-02 16:42:35 +02:00
Joren Van Onder c125e364af [IMP] point_of_sale: migrate point of sale to barcode_events
This makes the POS use the barcode_events framework class. It also
attempts to make the POS use only one type of keyevent, namely
keypress. This is not completely possible because we still have to
prevent backspace from doing back navigation. Backspace also doesn't
generate keypress events in Chrom{e,ium}. We handle that by calling the
keyboard handler explicitly for backspace.
2015-07-02 16:42:35 +02:00
Martin Trigaux 2d88a6fdd7 [FIX] account_budget: typo 2015-07-02 16:13:36 +02:00
Jeremy Kersten f07be4b675 [REF] base, wesbite_crm: remove placeholder for phone
Some people visiting website doesn't understand that it's a
placeholder and call to Odoo because they see the number on the website.
2015-07-02 15:53:36 +02:00
Jeremy Kersten 1516b11596 [IMP] web: update bootstrap from 3.2.0 to 3.3.5 2015-07-02 15:44:02 +02:00
Nicolas Martinelli e69a9b1ea8 [FIX] stock: modify default destination location for Pick
Ship in 2 steps:
The Packing zone location is inactive but it is used by default as destination
location (instead of Output) in the Pick operation.

opw-643734
2015-07-02 15:35:17 +02:00
Anaël Closson 6af7c636c2 [FIX] sale: cannot filter on paid = False
Closes #2211
2015-07-02 15:15:25 +02:00
Josse Colpaert d9371fce85 [IMP] stock: Stock picking report improvement
Only one picking report that shows the operations. Warning message when no operations.
Change title.
2015-07-02 15:02:52 +02:00
Géry Debongnie 25a5b15b36 [FIX] web_kanban: prevent crash when grouping some fields
The kanban view was changed recently to display the tooltips in column
headers.  Sadly, it appears that the developer forgot to take into
account the case when there are on tooltips.  This commit fixes this
unfortunate oversight.
2015-07-02 14:53:31 +02:00
Holger Brunn 0cffd6f825 [IMP] web: make many2many tags inline block without wrapping
Better look when using long words in tags

Closes #6963
2015-07-02 14:33:11 +02:00
Matthieu Dietrich f2c807d99d [IMP] account_report_company: performance on partner name_search
The field display_name is present in account_report_company but not in base
on the res.partner (has been added in v8 in base).
Create a hook method to keep using the slow CASE in base and switch to the
faster display_name when installing account_report_company.
2015-07-02 14:10:23 +02:00
Josse Colpaert ce0027a6d0 [FIX] stock_account: In stock valuation report, if all products real price, don't do the product history price query 2015-07-02 14:10:03 +02:00
Aaron Bohy 3bb35d68b6 [FIX] web: x2many fields: set_value(): missing return
The set_value() function of x2many fields is asynchronous. When a record is
loaded, the invisibility changers (IC) are evaluated once set_value() has been
performed on every fields. As set_value() didn't return its deferred, the IC where
evaluated with wrong values. It produced in particular the following bug:

Go to Customers > Agrolait (the Contacts tab is displayed), switch to next record,
which is the first contact of Agrolait. The Contacts tab is still displayed,
whereas it should not (the invisible condition being is_company == false and
child_ids == [], i.e. there is no contact).

Also call this._super() in set_value() of AbstractManyField instead of
duplicating the function of its parent.
2015-07-02 14:04:42 +02:00
Valerie Pirenne a314fa0de2 [IMP] product_extended: more computed price informations in compute price wizard 2015-07-02 13:43:21 +02:00
Thibault Delavallée 9bd8c00b01 [IMP] mail: moved methods called by mail_followers.js to controllers,
updated their code accordingly.

Subtype display in the follower widget has been improved: now displaying correctly
subtypes ordered by related model, then internal / not internal, then sequence.
2015-07-02 13:33:59 +02:00
Thibault Delavallée de27deba9b [MOVE] mass_mailing, portal_sale, purchase, website_mail_group: move code
related to the mail.mail model in their own mail_mail.py file. This ease
the process of working on the mail.mail model and inheritance, if the
code is not hidden between unrelated models.
2015-07-02 13:33:59 +02:00
Denis Ledoux 49cc4b9d4e [FIX] base: typoe, referencable -> referenceable 2015-07-02 12:59:36 +02:00
Jeffery Chen Fan 50d714959e [FIX] mrp_operations: convert date_finished into datetime object
Closes #7408
2015-07-02 12:26:00 +02:00
qdp-odoo ba9dc70294 [FIX] add back l10n_hn, now compliant with new accounting 2015-07-02 10:52:39 +02:00
qdp-odoo 4878a269b4 [FIX] add back l10n_vn, now compliant with new accounting 2015-07-02 10:28:08 +02:00
Aaron Bohy bfac8b6346 [FIX] mail: discard changes confirm dialog
This change is required for new design compatibility because when
toggling the app switcher, the whole content is detached. The app
switcher is toggled once the deferred def is resolved. If def is
resolved before the dialog is closed, the dialog is detached as well,
and re-attached when clicking on another apps. With this rev., def is
resolved once the dialog is closed.

Also fixes the on_cancel() call which wasn't done at the right place.
2015-07-02 09:45:08 +02:00
Géry Debongnie bde3c10ce0 [IMP] web_kanban: various tweaks
* css tweaks
* display correct tooltips in columns
2015-07-02 09:36:39 +02:00
Fabien Pinckaers f2fdcbddb3 [IMP] terminology RFQ Sent 2015-07-01 18:00:03 -07:00
Fabien Pinckaers 86c8964cd3 [IMP] terminology 2015-07-01 17:57:39 -07:00
Fabien Pinckaers b8ec551076 [IMP] label outside h1, consistency accross all views 2015-07-01 17:53:20 -07:00
Fabien Pinckaers ce14544984 [IMP] typos 2015-07-01 17:30:16 -07:00
Fabien Pinckaers 82c02f339f [FIX] typo english-french words 2015-07-01 17:22:06 -07:00
Mario Arias Badilla b02afebd1e [FIX] point_of_sale: payment date take into account user tz
When you apply payment in POS,
it takes current time for "date" field
on bank statement line,
but should use context_timestamp to take care
of user timezone adjustments.

Example:
If user is in time zone GMT-6:00,
then after 6:00pm all bank statement lines will be recorded
with date of next day, and all closing reports and related
accounting will be wrong!

Fixes #2199
Closes #2200
2015-07-02 01:56:25 +02:00
andreparames dae0d407c0 [ADD] base: LGPL as possible module license
Keeping in mind than the AGPLv3 core still propagates the license to other
modules.
Fixes #6914
2015-07-02 11:50:40 +02:00
Josse Colpaert 27003621da [FIX] stock_landed_cost: what is already out should use different accounts
When a landed costs is applied on goods that are already out, these landed
costs need to be subtracted in the stock valuation account and added in the output account.
(they were just added before)

When the landed cost is negative, it needs to do the opposite for what is already out also.
2015-07-02 11:34:31 +02:00
Antonio Espinosa c65fe46569 [FIX] base: runtime error in address_get if ids is empty
Closes #7359
2015-07-02 11:23:34 +02:00
Alexis de Lattre cee6ed33ac [IMP] point_of_sale: add 'name' of res.currency in pre-loaded fields
Fixes #7367
2015-07-02 10:57:51 +02:00
Goffin Simon 998ea74c64 [FIX] website_blog: public user comments
When the public user comments the website, he will be redirected
to the login page and his comment will be posted with his logged
user name.

opw:643412
2015-07-02 10:44:50 +02:00
谢立 8fe042ea91 [FIX] hw_escpos: xmlescpos add cp936(GBK) encoding support
Add support for Chinese fonts by adding the cp936(GBK) encoding

Closes #6845
2015-07-02 10:43:21 +02:00
mrshelly eb315ac330 [CLA] mrshelly 2015-07-02 10:43:21 +02:00
Goffin Simon 6531f4063a [FIX] stock: origin of push picking
To determine the origin of a push picking.

opw:641887
2015-07-02 09:20:47 +02:00
Fabien Pinckaers 1ac91f444a [IMP] better terminology to avoid having customer selecting Inventory instead of Internal 2015-07-01 16:45:55 -07:00
Christophe Simonis 4c2a1de75a [MERGE] forward port of branch 8.0 up to 22bd3bd 2015-07-01 18:11:32 +02:00
Martin Geubelle 258ab0d970 [IMP] module: global click on kanban view of modules 2015-07-01 18:04:48 +02:00
Martin Geubelle 237bf93af9 [IMP] web_kanban: use flex for progress bar instead of hard-coded width 2015-07-01 18:04:47 +02:00
Martin Geubelle b405ec6609 [IMP] sale: set a target on the fly in sales_team_dashboard 2015-07-01 18:04:47 +02:00
Martin Geubelle bf94c8ee74 [FIX] web_kanban: alignment of kanban_record with the control panel 2015-07-01 18:04:47 +02:00
Martin Geubelle ea3b118eae [IMP] account: improve account_contract_dashboard
Mainly style and js improvements for graphs
2015-07-01 18:04:47 +02:00
Martin Geubelle 6cc695106f [IMP] gamification: badge kanban view in new design 2015-07-01 18:04:47 +02:00