Commit Graph
105997 Commits
Author SHA1 Message Date
Nicolas Martinelli c426133fb9 [FIX] account: cash with multiple COA
- Set multi company
- Create 2 new companies
- Set a chart of account for company 1 (ex Belgium)
- Set another chart of account for company 2 (ex UK)

This is because the generation of accounts from templates doesn't
restrict the accounts to the current one.

opw-690796
2016-10-14 08:27:57 +02:00
Thomas Binsfeld (ACSONE) a4143dae1d [FIX] Inheritance of purchase_order_change by preparing data dictionary
Data dictionary filled inside the function purchase_order_change had no possibility of inheritance.

opw:690733
2016-10-13 22:33:28 +02:00
stefanorigano 39d74a7136 [FIX] web_editor: improve web_editor UI style preservation
* add and use preservation mixins to prevent undesired customizations
made by themes
* remove some style preservation code (and use the mixins instead)
* add UI states' colour variables
2016-10-13 17:01:04 +02:00
stefanorigano 63fdde638b [FIX] website: fix usability/design issues in o_select_media_dialog 2016-10-13 17:01:03 +02:00
Simon Lejeune 8a87c382ba [REF] web_kanban: allow a custom limit defined in the arch
With this commit, it's now possible to set an arbitrary limit on any
kanban view by adding a limit attribut to the root kanban tag in a
kanban definition.
2016-10-13 15:59:20 +02:00
qdp-odoo 421fe962eb [IMP] account: replace the button to open related account.move.line on bank statement by a button to open the related account.move 2016-10-13 11:42:50 +02:00
Christophe Simonis 187b32dd91 [FIX] README: change label and color of badges 2016-10-12 18:55:16 +02:00
Christophe Simonis 8cb03824f9 [FIX] README: update links to point to version 10.0 2016-10-12 18:42:12 +02:00
Martin Trigaux 3154b8fefc [IMP] base: clarify view error position
In case of syntax error, show where the error is.
e.message is enmpty for syntax errors

Before:
Can't validate view:

After:
Can't validate view:
SyntaxError('invalid syntax', ('', 1, 51, "{'invisible': [('external_sale', '=', 'internal')]]}"))
2016-10-12 17:31:18 +02:00
Christophe Simonis 0acd63d073 [MERGE] forward port branch saas-12 up to 27dc061 2016-10-12 17:03:55 +02:00
Christophe Simonis 27dc061bf1 [MERGE] forward port branch saas-11 up to a73cd57 2016-10-12 17:00:35 +02:00
Christophe Simonis a73cd57485 [MERGE] forward port branch 9.0 up to 6faf232 2016-10-12 16:56:44 +02:00
Martin Trigaux a357a8135d [FIX] remove empty file
my bad
2016-10-12 16:39:46 +02:00
Christophe Simonis 6faf232b71 [MERGE] forward port branch saas-6 up to ef4efea 2016-10-12 15:33:01 +02:00
Christophe Simonis ef4efeac7c [MERGE] forward port branch 8.0 up to 16430be 2016-10-12 15:27:07 +02:00
Thibault Delavallée aa5051f885 [FIX] sale: fix report name when sending by email, no more lasting _ 2016-10-12 14:38:39 +02:00
Thibault Delavallée 25d27ced8b [FIX] sale: use website address when sending quotation by mail
When the quotation is sent by email it is still in draft state. However right
after sending it will move to sent state. This state allows the customer to see
it in its website portal. Let us then use a convenient context key used when
sending quotations by email to force the use of website address for quotation
link contained in the email.
2016-10-12 14:37:23 +02:00
Damien Bouvy 0c8f3038d1 [IMP] mail: remove deprecated doc 2016-10-12 14:16:22 +02:00
Damien Bouvy e0cbb058e5 [IMP] mail: add basic for update notification (ping)
Ensures no regression on a3509d282d
2016-10-12 14:16:22 +02:00
Goffin Simon a8e1595a12 [FIX] sale: visible cost price in sale order line
The Cost of the product(purchase_price) must be shown in the wizard opened
when changing a SO line.

opw:690180
2016-10-12 14:13:33 +02:00
Danimar Ribeiro 106840c369 [FIX] mass_mailing: allow to quick create a mass_mailing
_rec_name in mass mailing is source_id which is an integer, it does not accept
a char value.
Instead specify the `name` value, which will create a utm.source.

Closes #13765
2016-10-12 14:04:17 +02:00
Martin Trigaux 649823b17e [FIX] doc: packaged Odoo still uses odoo.py 2016-10-12 13:50:35 +02:00
Martin Trigaux 24aba6014c [FIX] base: restrict state selection to the selected country
It was not an issue before as there where only the US states in the data.
Remove onchange as useless since domain restriction.

Fixes #13657
2016-10-12 13:50:23 +02:00
vnsoft 16430be566 [FIX] models: in method read_group(), allow orderby='id desc'
When orderby argument is 'id desc', an error occurs: "read_group order by 'id'
ignored, cannot sort on empty..."
2016-10-12 13:19:37 +02:00
Jeremy Kersten 28103a5f2c [FIX] product: fix duplicated creation variants
Move the code to manage the case of 'adding an attribute with only one value
should not recreate product' before to select the existing variants.

Before this commit,
When you create 1 new product.template, it create 1 variant.
When you add an attribute with only one value, it update the existing and
create a duplicate variant.

After this commit,
Only the existing variant is updated, and there are no more duplicated variant.

The fix:
We update the variant if only one value before to select the existing variant.
Thus, the updated variant is compared with the matrix and not duplicated.

This commit closes #13757
2016-10-12 12:38:38 +02:00
Martin Trigaux e81f186ff8 [FIX] doc: change references to odoo.py to odoo-bin 2016-10-12 12:36:45 +02:00
Alexandre Fayolle 65c685ad24 [FIX] context mutations (#10368)
when extending these methods with the new api, the context is a frozendict
so we need to copy before mutating.

this patch was made by searching for key addition to context and calls to the
update() method on the 8.0 addons, and checking if a copy was made before in
the method.
2016-10-12 12:30:42 +02:00
Raphael Collet 8f6b5fcf9e [FIX] ir_model: in _module_data_uninstall(), unlink the right recordset
The bug was introduced by eb04aa1e (migration to new API).
2016-10-12 11:24:24 +02:00
Damien Bouvy a3509d282d [FIX] mail: use explicit 'active' domain for user count in ping
Before the migration to the new API of this code, the context was
not propagated to the update_notification call.

This is now the case, which is unfortunate since the context of the
cron action has an 'active_test'=False key, which causes the ping
to count user differently when the cron is triggered from the form
view.

This commit adds explicit ('active','=',True) domain to ensure we
only count active users when pinging.
2016-10-12 11:23:34 +02:00
Denis Vermylen (dve) d98e5bb68a [IMP] hr_attendance: improve no-content message
of Attendances view
2016-10-12 11:12:14 +02:00
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
Cedric Snauwaert 77c64e3f05 [FIX] account: add a constraint to prevent the change of the reconciliation flag on account when there are already account_move_line existing 2016-10-12 10:35:29 +02:00
qdp-odoo dd9cbcf9a3 [FIX] account: fix enterprise aged receivable report by hiding the paid invoices when we unfold a partner 2016-10-12 10:28:56 +02:00
Richard deMeester 32b0e9520d [FIX[ account: correct 'read' call
Using the read method should generally pass a single id as a list
due to the new API inheritance of the read method.  If an attempt
is made to use the new API, the result is inconsistent.
Following 4f0ca6d9

Closes #13678
2016-10-12 10:28:16 +02:00
Sebastián Ramírez d30f512128 [FIX] doc: use the correct dir structure
To respect the folders created by scaffold and the coding guidelines
Closes #13676
2016-10-12 10:23:45 +02:00
Sebastián Ramírez 9adcf51600 [CLA] signature for tiangolo
From #13676
2016-10-12 10:23:24 +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
开阖软件 Jeff Wang 007607030a [FIX] tools: keep keyword arguments in wrapper
The patched add_sheet method lacks from the keyword argument cell_overwrite_ok
that is present in original code.

Closes #13755
2016-10-12 09:57:35 +02:00
Martin Trigaux 69dfa67ac7 [FIX] pos: do not mix create and validation date
The validation_date was using the creation_date value in the follwing scenario:
1. create a new order with a few lines (creation_date=t1)
2. reload the page, `init_from_JSON` uses validation_date=t1
3. validate the order at t2, ignored due to already stored value

creation_date must be kept for tracablity reasons (e.g. pos_blackbox_be)

Fixes https://www.odoo.com/groups/59/20542134
2016-10-12 09:44:56 +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
Nicolas Lempereur 3cd80916f1 [FIX] purchase_requisition: typo in groups name
The field in stock configuration group_stock_adv_location is toggling
the group "stock.group_adv_location". There was a typo which was using
on the form view of purchase.requisition the group
"stock.group_stock_adv_location" instead.

opw-690804
2016-10-12 08:38:00 +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
Nicolas Martinelli 42797ebfbb [FIX] hr_expense: set company of expense
When an expense is received by email, make sure to set the expense in
the emloyee's company.

opw-688671
2016-10-11 19:01:59 +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