Commit Graph
104550 Commits
Author SHA1 Message Date
Christophe Simonis 529f88dbd3 [MERGE] forward port branch saas-10 up to 4ca04fd 2016-07-29 13:01:29 +02:00
Christophe Simonis 4ca04fdd41 [MERGE] forward port branch 9.0 up to 6d43f28 2016-07-29 12:55:36 +02:00
Christophe Simonis 6d43f280c9 [FIX] stock: do not quote static domain 2016-07-29 12:47:08 +02:00
Yannick Tivisse 962d0ee354 [FIX] report: display correclty the first printed report
The key 'commit_assetsbundle' wasn't in the context to the method 'get_pdf'
This issue comes from the module migration.
2016-07-29 12:20:41 +02:00
Yannick Tivisse 42b891700e [FIX] report: allow 'get_action' to receive id, ids or browse records as 'docids'
1/ If no docids are passed in get_action (empty list) do not put in context

2/ The method should accept ids or browse records as docids for retrocompatibility.
- The api.v7 method took ids as docids
- The api.v8 method took a browse records 'records' to call the api.v7 method with
  'records.ids' as docids
In python, we cannot write 2 functions with the same name that takes differents types
for the same argument. The function 'guess' in api.py will lead to a crash if we expect
a browse record and we send a list
The only way to allow the method to receive different types for the same argument is
to decorate it with '@api.noguess' to prevent any effect from guess method.
That way, we check directly if 'docids' is an id, ids or a browserecord and we always set
a list instead.
2016-07-29 12:20:41 +02:00
Christophe Simonis 4c7d9cb6a6 [MERGE] forward port branch 9.0 up to e0c0a5f 2016-07-29 12:04:24 +02:00
Christophe Simonis e0c0a5fb1b [MERGE] forward port branch saas-6 up to 50e1486 2016-07-29 11:56:15 +02:00
Christophe Simonis 50e148648d [MERGE] forward port branch 8.0 up to 9fe930e 2016-07-29 11:45:47 +02:00
Yannick Tivisse 3025951982 [MERGE] account_accountant: Migrate to new API 2016-07-29 11:31:38 +02:00
Erwin van der Ploeg 9b64a2f869 [IMP] l10n_nl: correct module description
Remove outdated information
Closes #12274
2016-07-29 11:22:39 +02:00
aetna-softwares 9fe930e6ba [FIX] survey: prevent saving issues of answers to multiple_choice questions, when id starts with id of other questions
Fixes #11873 #12215
2016-07-29 11:13:08 +02:00
Yannick Tivisse 29b4f1e459 [MIG] account_accountant: Migrate to new API 2016-07-29 11:04:43 +02:00
Yannick Tivisse 925151cf0c [MOV] account_accountant: Restructure directory according to new API guidelines 2016-07-29 11:04:43 +02:00
mva ec5410581e [FIX] doc: change memory hard and soft
The hardware limit should be higher than the soft, otherwise it is killed before
reaching the limit.

Closes #12957
2016-07-29 10:43:20 +02:00
Martin Trigaux b146335484 [FIX] doc: correct typo in deployment page 2016-07-29 10:11:59 +02:00
Yannick Tivisse f217281f4b [MERGE] hr_payroll_account: Migrate to new API 2016-07-29 10:00:11 +02:00
Yannick Tivisse eb11f3ba25 [MIG] hr_payroll_account: Migrate to new API (code + tests) 2016-07-29 09:58:22 +02:00
Yannick Tivisse 4d8894c8d6 [REM] hr_payroll, hr_payroll_account: removed unused onchange method 2016-07-29 09:55:49 +02:00
Yannick Tivisse 195e4625df [MOV] hr_payroll_account: Restructure directory according to new API guidelines 2016-07-29 09:55:49 +02:00
Jeremy Kersten 5f868f5e2c [FIX] website_sale: fix new checkout display
Fix "Remove cart line button isn't a proper link"
Fix "col-md for title (Billing Address, Shipping Address) where 'The underline of the title stops too early'
Fix "First load from adress, display zip/city in right order to avoid flickering if zip/city instead of city/zip
Fix "Select the billing address as the shipping after edit the billing address from the shipping list"
Fix "Disable the selection of address in checkout while in edit mode"
Fix "Fix validation of the extra checkout step: 'extract_data got an exepected keyword argument'
2016-07-28 22:15:16 +02:00
Jeremy Kersten 7b0a44737f [FIX] website_forum: show to the end user that he should be logged in
Show to the end user that he should be logged in to use action where karma
is required.

Before this commit, a user not logged in see that x karma is required to
perfom the action.

After this commit, a user not logged in who click on an action which require
 karma will get a message "Sorry you must be logged in to perform this action"

This commit closes #12731
2016-07-28 22:15:16 +02:00
Nicolas Martinelli 37ae7a7334 [FIX] account: account filter
Searching on the name of an account can lead to a traceback ("This
domain is syntactically not correct"). This is for example the case in
Accounting -> Configuration -> Taxes -> Custom filter on "Tax account
doesn't contain 'xxx'".

The reason is that the negation of the domain is not correct.

opw-684525
2016-07-28 17:58:00 +02:00
Olivier Dony c372708b01 [FIX] website_google_map: do not allow invalid partner prefix
The only supported prefixes are the following:
 - /partners/ when website_partner and/or website_crm_partner_assign are installed
 - /customers/ when website_customer is installed
2016-07-28 17:27:54 +02:00
Nicolas Martinelli 9975e52723 [FIX] sale_stock: incorrect value in error message
The error message has an hardcoded precision of 2 digits, which is not
enough of the product precision is higher than 2.

opw-683639
Fixes #12629
2016-07-28 15:28:43 +02:00
Nicolas Martinelli de2d7d9acd [FIX] sale_stock: incorrect value in error message
The error message has an hardcoded precision of 2 digits, which is not
enough of the product precision is higher than 2. Since this error
message is often used, we should avoid its modification to prevent
breaking the translations.

opw-683639
Fixes #12629
2016-07-28 15:10:59 +02:00
Goffin Simon 8bc590a7b9 [FIX] stock: default domain on a many2many field
The default domain on a many2many field must be list and not a string.

opw:684474
2016-07-28 14:46:28 +02:00
Nicolas Martinelli f57f55966d [FIX] sale_stock: UoM in warning
The warning message of the product packaging change does not take into
account the appropriate UoM.

opw-12827
Fixes #12827
2016-07-28 13:36:30 +02:00
Christophe Simonis a2d9b72112 [MERGE] forward port branch 9.0 up to 4af0054 2016-07-28 13:24:50 +02:00
Christophe Simonis 4af005456f [FIX] payment_paypal: adapt test following commit dbf44a9680
Note: the same test exits in 8.0, but is not executed (package not imported)
2016-07-28 13:01:57 +02:00
Christophe Simonis 73cc3611b4 [MERGE] forward port branch 9.0 up to d35f425 2016-07-28 12:31:29 +02:00
Christophe Simonis d35f4250cc [MERGE] forward port branch saas-6 up to 7079a0b 2016-07-28 12:22:03 +02:00
Goffin Simon 6a711060ae [FIX] account: fiscal position in compute_refund
When choosing to refund an invoice with refund method="create refund, reconcile and create a new draft invoice"
, the fiscal position of the refund invoice must be kept in the new draft invoice.

opw:683311
2016-07-28 11:59:11 +02:00
Yannick Tivisse 5982b857f8 [MERGE] account_budget: Migrate to new API 2016-07-28 09:15:36 +02:00
Yannick Tivisse 0f0b4f4266 [MIG] account_budget: Migration to new API
The following test have been removed because they were calling methods that doesn't
exist anymore or looking for xmlids that doesn't exist anymore too. Since the new accounting
the test imports were commented, because the features were removed I guess.
- account_budget_report.yml
- account_budget_spread.yml

The 'test/demo' account_budget_demo.yml was something like a common.py file so the test
account_budget_report.yml was rewritten in python with a common file and the test
test_theoreticalamount.py has been adapted accordingly (no more strange use to _update)

For the rest of the migration, nothing particuliar to notice
2016-07-28 09:14:42 +02:00
Yannick Tivisse 5bce1d7c17 [REM] account_budget: Remove budget reports and associated wizards
These reports are broke since saas-7, very badly written, and have exactly
the same layout than the form view.

al approval
2016-07-28 09:14:10 +02:00
Yannick Tivisse eb1982336f [SPLIT] account_budget: split files according to the models 2016-07-28 09:14:10 +02:00
Yannick Tivisse 183290c19f [MOV] account_budget: Restructured directory according to new API guidelines 2016-07-28 09:14:10 +02:00
David Monjoie 2cfa7b5626 [FIX] l10n_fr_fec: exclude initial balance at 0
This is the proper fix for 3180aec56a
and is the continuation of f7e4241a91.

A sum without groupby will return NULL so we forced it back to 0,00.
Then, it can happen that you have no move before the start date, so you
don't have any opening "OUV" row.

opw-682365
2016-07-27 19:41:50 +02:00
Christophe Simonis 7079a0be30 [MERGE] forward port branch 8.0 up to 8ceb943 2016-07-27 18:13:51 +02:00
Guewen Baconnier 6cc7c03212 [FIX] tools: use without_demo specified in configuration file
When using the -i command line option without the --without-demo=all command
line option, demo data was installed even if the configuration file has
a line without_demo = all

This change is safe as just above, opt.without_demo is copied into
self.options['without_demo'] so we are sure to consider the 2 options.

Closes #12730
Fixes #9293
2016-07-27 17:39:09 +02:00
Gourav Chawla 8ceb9438d1 [CLA] signature for user gouravchawla
Closes #12738
2016-07-27 17:26:38 +02:00
Simon Lejeune ee228cd837 [FIX] ir_qweb: issue if multiple IRA are created for a bundle
If multiple transactions start knowing that they should generate the
bundle, each one will run lessc and create a ir.attachment record
referencing the path on the filestore. While the file is not duplicated
on the filestore (as it is stored according to its hash), the final
result of `t-call-assets` will source multiple time the same file.

This patch fixes this issue by adapting get_attachment to group its
results by file name and only select the one with the max id (latest
generated).

We also remove the `inc` argument as it is not used.
2016-07-27 16:56:42 +02:00
fwi-odoo b4579339c8 [IMP] product_extended: replace openerp tags, rename class and add py coding 2016-07-27 15:56:27 +02:00
fwi-odoo 9ccb88beb5 [MOV] product_extended: reorganise files 2016-07-27 15:55:25 +02:00
Goffin Simon 138cf9bbce [FIX] sale_timesheet: _get_timesheet_cost
A user must be set to get the right timesheet_cost

opw:684036
2016-07-27 15:54:51 +02:00
Nicolas Martinelli 2cf80e0075 [IMP] purchase: set scheduled date of lines
Commit 4326d864 removes the inverse function of the `date_planned`. This
is necessary to avoid unexpected changes of the scheduled dates.
However, this removes the ability to set the scheduled dates of all
lines at once.

This commit introduces back the functionality thanks to a new button.
This way, the functionality remains without unexpected behavior.
2016-07-27 15:19:28 +02:00
Cedric Snauwaert 0da7184b67 [FIX] account: fix dependencies for amount_residual computation
when we unreconcile an entry, amount_residual is not recompute due to missing dependencies. Resulting in problem when trying to reconcile the move later on as amount_residual is zero and aml is considered already reconciled
2016-07-27 15:07:29 +02:00
David Monjoie 3180aec56a [FIX] l10n_fr_frc: fix null values in fec
The previous fix didn't take into account the fact that some parts
of the file can truly be empty. Because of this, you end up with
'0,00' in some date fields.
2016-07-27 14:44:24 +02:00
qsm-odoo 931e5567b6 [FIX] base: let the debug value be 'assets'
This commit fixes a bug introduced by the forward port 1fca5e01cb.

In saas-11, the commit f970906c9e introduced the 'assets' value
for the debug mode, to active the assets splitting. To do that, the
commit had to stop the conversion to a boolean of the debug value
(initially introduced by commit 522dec2fcd).

The problem is that the forward port mentionned above did not resolve
correctly the conflict for the commit 3455daf948, reintroducing the
boolean conversion.
2016-07-27 14:26:57 +02:00
fwi-odoo 8b8fe90fd8 [IMP] website_crm_partner_assign: add license in python 2016-07-27 13:22:17 +02:00