Commit Graph
105958 Commits
Author SHA1 Message Date
Denis Vermylen (dve) 6315dd970e [IMP] hr_attendance: add a no-content message
for the employees kanban view in kiosk mode.
2016-10-12 11:11:17 +02:00
Danimar Ribeiro 11c11dc684 [FIX] website_livechat: verify if image_small is set
image_small is not required and may fail if empty
TypeError: cannot concatenate 'str' and 'bool' objects

Closes #13726
2016-10-12 10:18:18 +02:00
Odoo Translation Bot 93e2125b8e [I18N] Update translation terms from Transifex 2016-10-12 09:07:46 +02:00
David Beal 1d6df46aba [IMP] product: add _variant_name() in product.attribute.value
To be possible to override the name_get of the variants
Closes #13053
2016-10-12 08:52:54 +02:00
开阖软件 Jeff Wang 77aba59dc2 [CLA] Signature for GoodERPJeff
Closes #13756
2016-10-12 08:47:05 +02:00
Christophe Simonis 226b28e090 [MERGE] forward port branch saas-13 up to f3532a6 2016-10-11 19:09:32 +02:00
Christophe Simonis f3532a6da6 [MERGE] forward port branch saas-12 up to 54ebe31 2016-10-11 19:07:42 +02:00
Christophe Simonis 54ebe31f51 [MERGE] forward port branch saas-11 up to 685e310 2016-10-11 18:33:18 +02:00
Christophe Simonis 685e3104ec [MERGE] forward port branch 9.0 up to 7bdb6f9 2016-10-11 18:23:27 +02:00
Christophe Simonis 7bdb6f9c8d [MERGE] forward port branch saas-6 up to adead97 2016-10-11 18:00:27 +02:00
Christophe Simonis adead97e53 [MERGE] forward port branch 8.0 up to f4aae1c 2016-10-11 17:58:16 +02:00
qdp-odoo 952a06255d [FIX] account_asset: hide the button 'set_to_draft' on assets already started to be depreciated because it makes no sense to be able to do so 2016-10-11 17:27:41 +02:00
Christophe Simonis 24a2217980 [MERGE] forward port branch saas-6 up to c4fb79f 2016-10-11 17:06:35 +02:00
Jeremy Kersten f4aae1c58b [FIX] email_template: encode date/datetime format
See more details here: odoo/odoo@6191e3f6d0

This commit closes #13704
2016-10-11 17:04:36 +02:00
Christophe Simonis c4fb79ff88 [MERGE] forward port branch 8.0 up to ecb6055 2016-10-11 16:56:13 +02:00
Jeremy Kersten 62116e758c [FIX] fields: add group_operator in get_description for Monetary Class.
See previous commit odoo/odoo@4ca06e0255
2016-10-11 16:47:21 +02:00
Christophe Simonis ecb6055b0f [FIX] tools/config: avoid sharing init/demo config
Theses config options should not share the same dict as `init` dict
may be modified by migration scripts to handle new module dependencies.
2016-10-11 16:46:32 +02:00
Olivier Dony 789566a0d0 [FIX] website_livechat: make it auto-install
Most people install the im_livechat module and expect it
to be enabled automatically on their website.
When it doesn't work they try to use the integration JS
code and add it to their website layout, which does not
work as expected.

Setting it as auto-installed solves the issue.
2016-10-11 16:36:39 +02:00
Jeremy Kersten 8033467be6 [FIX] marketing_campaign: fix diagram view - type has been renamed to action_type
During migration to new api the field has been renamed but not the condition in the diagram
2016-10-11 16:29:37 +02:00
Jeremy Kersten 39d4486ded [FIX] calendar: rename function call for _get_recurrent_date_by_event
Function has been prefixed with an underscore by commit #21e4579551a

Avoid traceback where 'get_recurrent_date_by_event' is not defined

Thix commit closes #13727
2016-10-11 15:45:05 +02:00
Jeremy Kersten 43d4b37435 [FIX] utm: remove auto install.
First module which need it, will install it with dependences.

This commit closes #13739
2016-10-11 15:25:33 +02:00
Jairo Llopis dd312e0da2 [FIX] fields: make [(5,)] with computed domain work (#13480)
* Failing test for one2many [(5,)] action, when domain is callable.

The problem is that `self` inside a callable domain becomes the comodel when at [(5,)].

* [FIX][fields] Make [(5,)] with computed domain work.

To reproduce this failure, declare a field like:

```
child_ids = fields.One2many(
    comodel_name="other.model",
    domain=lambda self: [("id", "in", self._ids_to_find())],
)
```

Now set some value to it.

Now unset them. Impossible because ``self`` becomes ``other.model`` in domain evaluation.
2016-10-11 15:14:05 +02:00
Aaron Bohy 8e113aebf1 [FIX] web: X2Many list views: don't display action buttons 2016-10-11 13:52:04 +02:00
Martin Trigaux 731fe1c9ab [FIX] doc: avoid conflict on extenstion and odoo folder 2016-10-11 12:09:28 +02:00
Martin Trigaux 9528024536 [FIX] doc: building correctly autoclass references 2016-10-11 12:09:27 +02:00
Jeremy Kersten 633780a00c [FIX] web,crm: view_list respect group operator defined in the view.
Remove useless avg defined on crm view.

If you define avg='Average Values' in a view, now we see in the footer of list view the average.
2016-10-11 11:50:24 +02:00
Jeremy Kersten 4ca06e0255 [FIX] fields: add group_operator to be availble in get_description.
Web client use fields_get (which one call get_description) to know if
a group operator exists. But until now, group_operator are never returned.

Without it, the web client cannot display the sub-total except for sum
(the fallback in the web client).

This commit closes #13713

Todo: do the same on Class Monetary in next branch
2016-10-11 11:49:55 +02:00
Martin Trigaux acaf0f1e19 [FIX] doc: set the correct title length
Avoid 'Title underline too short.' error
2016-10-11 11:17:44 +02:00
Ravi Gadhia 0afe5d4af5 [FIX] web: hide "Create" button for editable tree views with create="false"
Make it such that the buttons "Save" and "Discard" are still visible.
2016-10-11 10:22:10 +02:00
tdi-odoo eb358d6e34 [FIX] account: fix access rights on multi currency menuitem
Because we need to be able to activate currencies as soon as we check that option in the settings, so the menuitem should be visible outside of the developper mode.
2016-10-11 10:05:50 +02:00
qdp-odoo 587ca36e45 [REV] account: revert commits 45e2a6abdc and 7e61cd7dd3
The web client does not like having twice the same field defined, so those patches weren't consistantly working... yeah, you could say that the account.payment view was totally broken
2016-10-11 10:01:42 +02:00
Thibault Francois 46f3ca0f7b [FIX] res_partner: add index on commercial_partner_id
This commit closes #13716
2016-10-11 09:36:03 +02:00
Goffin Simon 1eb4bb5d74 [FIX] account: Fiscal position tax mapping to including tax
According to the documentation it makes sens to map an excluded tax
with an included tax. For example in Belgium, B2C taxes are generaly
included and B2B taxes are excluded. Then we can manage this situation
by creating a pricelist with prices for B2B and B2C.

opw:688085
2016-10-11 09:22:11 +02:00
Nicolas Martinelli d60354aaf7 [FIX] account: analytic account on write-off
When an analytic account is specified on a write-off move, it should be
written on the move line linked to the write-off account, as it was the
case in v8.

opw-688635
2016-10-10 17:01:21 +02:00
qsm-odoo e117671a8b [FIX] sale_crm: change position of mispositionned tip
The tip is placed on a text right aligned button so the tip appears
mispositionned. This commit simply changes the tip to be on the right
instead of the bottom.
2016-10-10 16:28:04 +02:00
qsm-odoo 6c9b2e202c [FIX] web_editor: change attachment/image icon in editor bar
The image icon was not clear enough. The editor bar appears in the
website builder, the mail composer, the forum composer, ... In each
of them, we can both link a picture or a file but a picture makes
more sense in some context and in some other ones not.

This commit solves the problem by changing the icon to fa-file-image-o
which is a mixed of file and image. This also solves the problem of
having two buttons with the image icon in the website builder (indeed
an image icon is also used for the image look button).
2016-10-10 15:31:36 +02:00
qsm-odoo 57ff82f767 [FIX] website: hide the language selector in edit mode 2016-10-10 15:31:36 +02:00
Martin Trigaux 6c1e5e904f [ADD] base: Khmer language 2016-10-10 15:00:24 +02:00
Nicolas Martinelli 2990060b7d [FIX] base_import, base_action_rule: fix traceback
When importing an action rule, an error occurs:
- The import is committed when the user clicks on "Validate"
- The import fails with a traceback when the user clicks on "Import"

This is because commit 7d648542 introduces a `cr.commit()` in the
`_update_registry`, while nothing should be committed upon import
validation.

opw-683874
2016-10-10 14:57:18 +02:00
qdp-odoo 53b1c76c99 [FIX] account: move menuitems at the right place 2016-10-10 14:43:59 +02:00
Martin Trigaux 3f192abafb [FIX] base: correct the translation of auth_ldap module
Invalid rst made the description rendering to crash

Fixes #13695
2016-10-10 13:56:50 +02:00
Martin Trigaux a26b805f5e [FIX] point_of_sale: remove unvalid ACL
The field bank_statement_id was removed at c04065a
The rule is no longer working and we have no link between a cashbox and a bank
statement anymore.

Fixes #13550
2016-10-10 13:56:50 +02:00
Christophe Simonis c60e43a9a4 [MERGE] forward port branch saas-13 up to 341bea8 2016-10-10 13:25:31 +02:00
Christophe Simonis 341bea8f88 [MERGE] forward port branch saas-12 up to 43cb4ac 2016-10-10 13:00:05 +02:00
qsm-odoo f242721eb0 [FIX] website: fix FAQ Roller opening on old apple devices
On old apple devices (IPad 2, IPhone 4, ...), the FAQ Roller could not
be opened on click. This is because the snippet does not use standard
bootstrap correctly and put the toggle on a <div/> element instead of
a <a/> element.

This fix forces an empty click handler on these <div/>, which allows
standard bootstrap to work.
2016-10-10 12:08:27 +02:00
jeffery chen fan 7332a39457 [IMP] mrp: add product qty into BoM structure view
As the unit of measure is displayed it makes sense to display the quantity too.
Closes #13703
2016-10-10 12:04:57 +02:00
Christophe Simonis 43cb4ac202 [MERGE] forward port branch saas-11 up to 3cdf429 2016-10-10 11:57:51 +02:00
Christophe Simonis 3cdf429f8b [MERGE] forward port branch 9.0 up to e2ede31 2016-10-10 11:39:52 +02:00
Diep Huu Hoang 71edb4fc4c [CLA] corporate CLA signature for Trobz
Closes #13680
2016-10-10 11:27:02 +02:00
Christophe Simonis 67d285b9bc [MERGE] forward port branch 8.0 up to d3c4ab2 2016-10-10 11:22:55 +02:00