Commit Graph
106440 Commits
Author SHA1 Message Date
fwi-odoo 084b5534b2 [MOV] sale: Merge xml files when related to same model
Merge sale_layout_category_data.xml into sale_data.xml
Merge sale_team_dashboard_views into sales_team_views.xml
2016-08-10 11:00:21 +02:00
fwi-odoo a33e808ca6 [MOV] sale: re-organise directory structure according to new API guidelines 2016-08-10 11:00:21 +02:00
keyur gajjar dba1a641e3 [IMP] website_sale_digital: add message when no record
Proper message should be displayed when no records in
attachments kanban view when we click on 'File' stat
button on product form view.
2016-08-10 10:50:07 +02:00
Kinjal Mehta 4c419f2bc1 [IMP] report: widen company address space on reports
Change the external_layout_header, with the use of
span tag and display inline-block property instead
of div tag, because without using it, the address
under-line occupied the whole col-xs-6 block, for
small address also. By using display inline-block
the length of address underline will same as length
of address. And col-xs-6 will increase the address
space for log address lines.
2016-08-10 09:55:05 +02:00
Mansi Gandhi 6caea2a938 [IMP] sale: add install option for sale_order_dates 2016-08-10 09:26:07 +02:00
Adrien Dieudonne a5eb720875 [FIX] web: check if second date exists in search_filters
After commit 6739e10, we have two widgets to be able to choose
two dates according to the operator (e.g. between).
So, the second widget is not always available.

'toString' generates the string to put in the facet and should
convert the second date only if the second widget exists.

Before this commit, it was not possible to make search filters with
only one date because we try to get value of widget that does not exist.
2016-08-10 09:11:23 +02:00
Nicolas Martinelli c819b88063 [FIX] web: FieldCharDomain value
An issue occurs in the following use case:
- Create an automated action
- Choose a Related Document Model
- Select records to filter (click on "Select Records")
- Do not save, but cancel instead
- Create an automated action once again

The filter domain keeps the same value than previously, forcing the user
to refresh the page to get rid of it.

opw-683214
2016-08-10 08:31:01 +02:00
Aaron Bohy 5d7be21e28 [FIX] project: task form view: many2one field's domain
Commit 9b69184ff. removed field 'state' of model 'project.project', and
converts domains using it to use field 'active' instead. However, the domain
of the many2one field in the task form view hasn't been correctly converted
(['state', 'not in' , ['closed', 'cancelled']] should be ['active', '=', True]).
2016-08-10 08:15:47 +02:00
Aristobulo Meneses bfdf5a6e12 [FIX] cli/server: handle comma-separated db_name config properly
The db_name parameter passed in command-line (-d) or in configuration file,
supports a list of database names separated by commas, in order to
preload them. The WorkerCron processes will also respect this list and only
connect to the specified database(s).

As of Odoo 9 the server also automatically initializes a new database
if the one passed via `db_name` does not exist or is not initialized.
This code did not properly handle multiple comma-separated value,
and created an unitialized database named `a,b` when db_name was set
to `a,b`.

Fixes #13079
Closes #13094
2016-08-09 20:12:33 +02:00
qsm-odoo e86fb5ee37 [FIX] website_blog: do not show current blog post as next post
At the bottom of each blog post there is a link to the next blog post
of the blog. If the current blog post is the last, the next blog post
which appears is the first one, which is ok. However, if there is only
one blog post in the blog, when viewing it, the next blog post which
was proposed was the current one (now nothing is proposed as next blog
post anymore).
2016-08-09 17:16:21 +02:00
Mitali Patel 0762e4cc2d [IMP] Stock: show pivot view in inventory valuation 2016-08-09 16:50:22 +02:00
jpr-odoo 521a47f8b8 [IMP]account: wizard view improved. 2016-08-09 16:37:14 +02:00
Christophe Simonis e7c9f57623 [FIX] sale: avoid creating records belonging to other modules 2016-08-09 16:19:29 +02:00
Christophe Simonis 57a20c49cd [FIX] sale: remove duplicated access rule 2016-08-09 16:19:00 +02:00
keyur gajjar a05c152853 [IMP] stock: show Force Availability button for managers only 2016-08-09 15:50:35 +02:00
Martin Trigaux fe34db34bc [IMP] point_of_sale: create a partner with empty fields
When creating a partner, the fields where the information is not specified were
filled with an empty string value.
The empty string value is not ideal as prevents to use filters like "email not
set" and forces to use more complexe domain "... or email = ''"

Instead, set the value false for the fields were nothing is provided (same
behaviour as backend web client).

Remove the fields.barcode overwrite to empty string as it is probably an
unintentional side effect of 3b33e5c3.

opw-684902
2016-08-09 15:32:23 +02:00
Goffin Simon bb72dea98d [FIX] account: return of product with unit price = 0 and fixed tax
Use copysign to take into account the sign of the base amount which includes the sign
of the quantity and the sign of the price_unit
Amount is the fixed price for the tax, it can be negative
Base amount included the sign of the quantity and the sign of the unit price and when
a product is returned, it can be done either by changing the sign of quantity or by changing the
sign of the price unit.
When the price unit is equal to 0, the sign of the quantity is absorbed in base_amount then
a "else" case is needed.

opw:684459
2016-08-09 15:06:58 +02:00
Kinjal Mehta 08d51a7c79 [IMP] hr_holidays: raise date consistency warning on save only 2016-08-09 14:58:24 +02:00
Simon Lejeune c79ba8f785 [FIX] web_editor: test ui should be in post install
This test is ran in the backend and, if we do not mark it as post
install, the dependencies of the web module are not installed.
The webclient will then errors like "View type 'kanban' is not present
in the view registry".
2016-08-09 14:39:20 +02:00
Olivier Dony b755f856ba [IMP] website_project_issue: show issue description in portal when non-empty 2016-08-09 14:24:17 +02:00
Olivier Dony 34e7deb0d4 [FIX] payment_ogone: correctly handle tx error status
Transaction status "0" is explicitly defined for
invalid or incomplete transactions. It must not be
treated as a delayed status, but as a permanent
failure.

Ref: https://payment-services.ingenico.com/int/en/ogone/support/guides/user%20guides/statuses-and-errors/statuses

In addition, the delay for re-checking a delayed
transaction status was not meant to be set to
500 seconds but to 500 milli-seconds.
2016-08-09 14:24:17 +02:00
Olivier Dony 5443d47cbf [FIX] note: add missing import for _
Import was dropped at b3b0b23fe2 while
migrating to new API.
2016-08-09 14:24:17 +02:00
Nicolas Martinelli 6c9b6ebdf4 [FIX] sale_stock: units in warning message
opw-685095
2016-08-09 13:35:15 +02:00
Ravi Gohil 8b47073b1e [IMP] anonymization: remove method '_raise_after_history_update',
This method is not very useful. Why ? When any exception is raised, odoo will rollback
all the transaction which were not committed, hence the purpose of the method won't be
served, which was, to update the 'history' record which was created before an invalid
action was performed.
2016-08-09 13:18:36 +02:00
Ravi Gohil 946a19d9be [FIX] anonymization: Make anonymization supported for 'monetary' type fields. 2016-08-09 13:18:36 +02:00
Ravi Gohil 3cd6887594 [IMP] anonymization: Clean data file,
- removed fields of 'res.partner.job' and 'res.partner.contact' models
    - removed non-stored compute field 'base' of model 'account.invoice.tax' from anonymization list
    - removed fields 'tax_amount' and 'amount_taxed' which no more exists in 'account.move.line' model
    - removed field 'check_total' which no more exists in 'account.invoice' model
    - removed field 'partner_phone' which no more exists in 'crm.phonecall' model
2016-08-09 13:18:36 +02:00
Thibault Delavallée 8b6f7e1fe6 [FIX] various: fix fields index parameter in new API still called select 2016-08-09 12:28:03 +02:00
Yannick Tivisse d61e143ed2 [MERGE] anonymization: Migrate to new API 2016-08-09 11:48:01 +02:00
Yannick Tivisse 6145e7d453 [FIX] google_drive: Remove remaining onchange in view 2016-08-09 11:47:35 +02:00
Jigar Patel 94ba7cd75e [MIG] anonymization: Migrated to new api. 2016-08-09 11:47:34 +02:00
Ravi Gohil cc57fcba7a [SPLIT] anonymization: Move wizard related code to wizard directory 2016-08-09 11:47:09 +02:00
Jigar Patel 6374a25b4b [MOV] anonymization: Re-organized file structure 2016-08-09 11:45:39 +02:00
Jigar Patel a6f5df617f [REM] anonymization: Removed dead code. 2016-08-09 11:45:39 +02:00
Thibault Delavallée 16d462da8c [FIX] various: fix fields index parameter in new API still called select 2016-08-09 11:29:57 +02:00
Thibault Delavallée 7150121191 [FIX] various: fix fields index parameter in new API still called select 2016-08-09 11:26:46 +02:00
Thibault Delavallée c1b2d74bc3 [FIX] account, purchase: fix leftover select fields parameters 2016-08-09 11:14:57 +02:00
Thibault Delavallée 665d1ec146 [FIX] various: fix digits_compute attribute changed to digits in new API 2016-08-09 11:03:12 +02:00
Thibault Delavallée 838a6f2000 [FIX] varioius: fix digits_compute attribute changed to digits in new API 2016-08-09 11:00:10 +02:00
Thibault Delavallée caf09e3709 [FIX] various: fix digits_compute attribute changed to digits in new API 2016-08-09 10:57:41 +02:00
Raphael Collet 840c9c2c3f [MIG] test_inherit: convert every old-API specific stuff 2016-08-09 10:49:54 +02:00
Raphael Collet 1aad2c4747 [MIG] test_inherits: convert code to the new API 2016-08-09 10:36:45 +02:00
Yannick Tivisse 40561b0fb6 [MIG] utm: remaining self.pool in ir_http.py 2016-08-09 10:29:46 +02:00
Yannick Tivisse dafe1f6465 [MIG] purchase: Remaining self.pool in purchase_report.py 2016-08-09 10:29:06 +02:00
Yannick Tivisse 84dd711ce3 [MIG] mass_mailing: Remaining self.pool in 'message_route_check_bounce' 2016-08-09 10:29:06 +02:00
Yannick Tivisse 897627498b [MIG] hr_timesheet_sheet: Migrate server action to new API 2016-08-09 10:29:06 +02:00
Yannick Tivisse be28fba07f [MIG] event: Migrate res_config file to new API 2016-08-09 10:29:06 +02:00
Yannick Tivisse 4e65848e2a [MIG] mail: Migrate remaining '_init_column' method 2016-08-09 10:29:06 +02:00
Yannick Tivisse edb2170691 [MIG] hr_attendance: Migrate remaining 'init_column' method 2016-08-09 10:29:06 +02:00
Yannick Tivisse 9b583f1637 [MIG] bus: Migrate remaining calls to poll() in new API 2016-08-09 10:29:06 +02:00
Yannick Tivisse 8db8bf5307 [MIG] crm: Migrate server action to new API 2016-08-09 10:29:06 +02:00