Commit Graph
103345 Commits
Author SHA1 Message Date
Martin Trigaux 8dd48ae329 [FIX] sale: duplicated term in .pot
Could not be processed by Transifex
2016-02-22 08:36:50 +01:00
Richard Mathot 9bfa205082 [IMP] survey: correct English 2016-02-22 08:31:58 +01:00
Odoo Translation Bot 488c693109 [I18N] Update translation terms from Transifex 2016-02-21 02:59:19 +01:00
Atchuthan b3008fd724 [FIX] account_check_writing: Do not duplicate voucher number
In the base model `account.voucher`, in the module `account_voucher`,
the field `number` is set with `copy=False`, to avoid
copy the voucher number and force to re-use the voucher sequence.

The module `account_check_writing` redefine this column,
but forgot to set the `copy=False`. Therefore, once
this module installed, the voucher number is copied
on the voucher duplication.

opw-669154
2016-02-19 18:25:06 +01:00
Christophe Simonis f2855c6c42 [MERGE] forward port of branch 9.0 up to 25c45a61 2016-02-19 18:10:57 +01:00
Martin Trigaux 25c45a61bf [FIX] base: creation of delivery or invoice partner
The image that is set based on the type should not be colorized as it has no
transparency (image_colorize method would fail).
The _get_default_image is called explicitely to pass False to colorize attribute.

A proper refactoring of the method _get_default_image has been done at 66d4de7
but for 9.0 versions, makes this minimal hack without changing signature method.

Fixes #11027
2016-02-19 17:46:03 +01:00
Olivier Dony 35c42e15c0 [FIX] project_issue_sheet: typo in domain
For some reason the system insists on syntactically correct domains...

See f6d6762dc7
2016-02-19 17:38:49 +01:00
qdp-odoo 8dd9b25a62 [MOV] account: moving reports from account_extra_reports to account 2016-02-19 17:37:46 +01:00
Olivier Dony f904d3bd24 [FIX] hr_timesheet: reset action domain/context to prevent migration errors
The former `domain` and `context` values were dropped at revision
e021a08b30, as they referred to fields
that do not exist in Odoo 9.0.

Resetting them to empty values is required in order to force
the new value for upgraded databases.
2016-02-19 17:32:03 +01:00
Denis Ledoux 2d5e1d3af9 [FIX] purchase: purchase stat button list domain
From revision cb01be2,
the purchase stat button is only on product template form,
and no longer on the product variant form.

The domain of the list that this purchase button
opens has not been adapted according to this change,
the domain was still applied as coming from a product
variant form rather than a product template form.

As a result, it opened the purchases of products variants
having as ID the product template ID from which you came
from before hitting this button.

opw-669618
2016-02-19 17:27:25 +01:00
qdp-odoo 3137ea1302 [FIX] account, aged partner balance: the period length was actually computing on (period_length+1) 2016-02-19 17:14:54 +01:00
rmu-odoo d88723ae9c [IMP] l10n_cl: Added pre and post migration files 2016-02-19 16:43:39 +01:00
rmu-odoo 1af74bdbfd [IMP] l10n_cl: Create new tags and assign to taxs for one grid in tax report 2016-02-19 16:43:33 +01:00
Nicolas Martinelli f16c5aacf1 [FIX] web_tip, *: translate description
The description of the web tips should be translatable field.

opw-668945
2016-02-19 15:16:24 +01:00
rmu-odoo 18ddbbae1d [IMP] l10n_bo: Added post migration file 2016-02-19 15:03:09 +01:00
rmu-odoo 2274d50d8a [IMP] l10n_bo: created new tag and assing in tax 2016-02-19 15:03:00 +01:00
Denis Ledoux 6863cd244d [FIX] res_partner: default image
Attempting to create a user with a parent
company not having an image resulted to a crash

opw-669978
2016-02-19 14:52:59 +01:00
Alexis de Lattre ccd28977c7 [FIX] l10n_fr: remove old tax codes + some cleanup. Was PR #10625 2016-02-19 14:19:39 +01:00
rmu-odoo e9078aeeb2 [IMP] l10n_at: Added pre and post migration files 2016-02-19 13:51:19 +01:00
rmu-odoo 48fb5d3609 [IMP] l10n_at: Created new tag and assign into taxes 2016-02-19 13:51:03 +01:00
Denis Ledoux 020ae64f16 [FIX] website_portal: currency rounding for "My Orders"
t-field handles better the currency rounding than t-esc.

When setting the currency rounding to 0.05 instead
of 0.01 (e.g. Switzerland), for 600.00:
 - t-esc returns 600.0
 - t-field returns 600.00, as expected.

opw-669945
2016-02-19 13:49:27 +01:00
Daniel Dico 94875a6fb6 [FIX] l10n_ca - fix tax calculation for BC, MB and SK. Was PR #10376 2016-02-19 13:43:29 +01:00
Nicolas Martinelli e5f184fe6d [FIX] web: context/domain in move line tree
DO NOT FORWARD-PORT: the functionality is not used anymore in v9

Commit aaf9badb filters the returned ids by keeping the domain in the
request. However, `this.dataset.domain` might be empty, while
`self.dataset.get_domain()` will retrieve it from the model.

Since `get_domain` is not always defined on the dataset, we keep
`this.dataset.domain` as a fallback. The fix is not great, and a better
solution should be found in master branch when the web refactoring is
done.

opw-666755
2016-02-19 13:21:41 +01:00
Jeremy Kersten c7fd06cf77 [FIX] crm: don't add explicit '&' because it is not mandatory and can causes other bug
if domain is empty [], the search_domain generated will be invalid

['&',('field','=', value)]
2016-02-19 12:54:18 +01:00
Fabien Pinckaers 773fb17ccb [IMP] support@ --> help@ 2016-02-19 12:47:01 +01:00
Martin Trigaux c51c3254b8 [FIX] models: escape colomn name in read_group
In PostgreSQL, if not double-quoted, the columns are considered as lower case.
http://www.postgresql.org/docs/9.4/static/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS

Courtesy of Philippe Halbardier, SimplyCIT
2016-02-19 12:13:30 +01:00
cpyou 20b5b8636b [CLA] signature for cpyou
Closes #10494
2016-02-19 12:07:08 +01:00
Massimo Bianchi 7d46ce5fdf [CLA] signature for iceseyes
Closes #10603
2016-02-19 12:06:03 +01:00
root 6634ed0188 [CLA] signature for tstonis
Closes #10487
2016-02-19 12:06:01 +01:00
Javier García-Panach 24158951f3 [CLA] signature for JGarcia-Panach
Closes #10958
2016-02-19 11:57:53 +01:00
Antony Brugger 3e8036a6b8 [CLA] Update CLA Eezee-It
Closes #11010
2016-02-19 11:42:14 +01:00
Andrea Stirpe 3bc172fc26 [CLA] Corporate CLA for Onestein team
Closes #10999, #11000
2016-02-19 11:34:55 +01:00
Joren Van Onder 22b93174af [FIX] point_of_sale: fix forgotten method rename
pos_order.onchange_qty was renamed to pos_order._onchange_qty during the
migration to the new API.
2016-02-19 10:23:02 +01:00
Goffin Simon 1928ca95c2 [FIX] website_event_sale: registration form without possibilities
When there is no possibilities(no event_ticket_ids) the registration form
doesn't have to be displayed.

opw:668603
2016-02-19 10:17:07 +01:00
Joren Van Onder 406255ac6b [FIX] point_of_sale: export all missing classes from js modules
In the interest of being flexible and customizeable all of the defined
classes in the POS should be exported so people can easily inherit them
and change their behavior. A lot of the time you can get to them even if
they're not exported if you get creative enough, but noone should have
to resort to such ugly methods.

This commit does this for all of the modules except for
point_of_sale.popups. It has been omitted because currently it exports a
single object (PopupWidget). Modifying this to export an object of
objects could potentially break other unofficial modules which we do not
want in a stable release.
2016-02-19 10:04:57 +01:00
Martin Trigaux e701e566f8 [ADD] Github template files for issues and PR 2016-02-19 09:44:32 +01:00
Christophe Simonis ed507e01f1 [FIX] website_sale: Display comments & suggested product toghether.
By shadowing the `product` variable, the suggested products option had
the side effect of showing the comments of the last suggested product
instead of the current product ones.
2016-02-18 16:58:30 +01:00
Joren Van Onder 6d1b2e1a7e [FIX] point_of_sale: load fiscal positions of orders from localStorage
The fiscal position on an order was correctly saved to localStorage but
they where never loaded from localStorage.
2016-02-18 16:12:24 +01:00
Christophe Simonis a6a46b4371 [FIX] mail: ensure we have at least one partner before reading its name 2016-02-18 15:53:23 +01:00
Joren Van Onder 92badf048f [IMP] point_of_sale: automatically set customer fiscal position
This makes it so that when you set a customer in the POS frontend it
will automatically apply the fiscal position associated to the customer
on the order.

If the customer has no set fiscal position or if the fiscal position is
not available in the POS nothing will happen.

opw-668155
2016-02-18 15:48:16 +01:00
Joren Van Onder d5dfeb9dac [IMP] point_of_sale: allow clearing a set fiscal position
This was not really possible before. This prepends a dummy undefined
fiscal position to the selection list that'll clear the current fiscal
position when selected.

Also considered was using the "Cancel" button of the selection widget to
clear the fiscal position, but that doesn't make a lot of sense from a
UI point of view. Pressing a "Cancel" button shouldn't change anything
in the underlying model, it should just get rid of the dialog window.

opw-668155
2016-02-18 15:48:16 +01:00
Joren Van Onder d9891a5bbe [IMP] point_of_sale: display the current fiscal position name on button
Before this, seeing the current set fiscal position on an order was not
really possible.

opw-668155
2016-02-18 15:48:16 +01:00
Christophe Simonis a7c1f37197 [IMP] module loading: show name and progress of loaded modules 2016-02-18 15:06:26 +01:00
rmu-odoo 50b20e2c7e [IMP] l10n_ar: Added new migration file for tag 2016-02-18 14:55:25 +01:00
rmu-odoo 6a66f9f011 [IMP] l10n_ar: create tag and update old tag for one tag per grid in the tax reports 2016-02-18 14:54:00 +01:00
Denis Ledoux 22830251c7 [FIX] website_sale: avoid to set no shipping address
This is related to the revision e673ee6c62.

The checkout shipping address must be written on the
sale order only if there is one.
2016-02-18 14:42:43 +01:00
Denis Ledoux e3714cd7ce [FIX] purchase: purchase count button
The field `quantity` in `purchase.report` has been renamed
to `unit_quantity`.
2016-02-18 14:09:45 +01:00
Denis Ledoux a04fce47e9 [FIX] account: methods calling reverse_moves expects a list
The methods calling `reverse_moves` expects a list
as returned result.
For instance, in `account_move.py`, `account.partial.reconcile`,
method unlink:
```
reversed_moves = exchange_rate_entries.reverse_moves()
for rev_move in self.env['account.move'].browse(reversed_moves):
```

If there was no reversed moves, the method returned a boolean,
and a list otherwise. It should always return a list, empty
in the above first case.

opw-669790
2016-02-18 13:44:54 +01:00
Nicolas Martinelli 1ed7d16cfa [FIX] point_of_sale: hide debug manager and chatter
When printing a receipt in the PoS, the debug manager and the Livechat
content are displayed in the receipt. That's obviously something we
don't want.

opw-668675
2016-02-18 13:24:06 +01:00
Denis Ledoux e673ee6c62 [FIX] website_sale: checkout change of delivery address
If a customer had several delivery address,
and at checkout, choose another one than the default one,
his choice was applied, the delivery address remained the default
one.

This is a regression in Odoo 9.0 introduced in revision:
0414c9d.

The checkout shipping was applied only when it was a new
delivey address, due to the identation.

Part of the indentation issue was solved in 0f25a8c

opw-669787
2016-02-18 12:23:18 +01:00