Commit Graph
117975 Commits
Author SHA1 Message Date
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
Yannick Tivisse d72ef63057 [MIG] im_livechat: Migrate 2 old API init() methods 2016-08-09 10:29:06 +02:00
Yannick Tivisse 1f75156bd3 [FIX] hr_timesheet_sheet: linting issue 2016-08-09 10:29:06 +02:00
Yannick Tivisse 1903a33278 [FIX] hr: Remove old_api default value 2016-08-09 10:29:06 +02:00
Yannick Tivisse 9a479e6572 [MIG] product_margin: Migrate to new API 2016-08-09 10:29:06 +02:00
Yannick Tivisse 9c377d37d2 [FIX] account: type mismatch in account_invoice_demo.yml 2016-08-09 10:29:06 +02:00
Yannick Tivisse 04039a1061 [MOV] product_margin: move and rename files according to guidelines 2016-08-09 10:29:06 +02:00
Thibault Delavallée 90a5079d01 [FIX] various: fix fields index parameter in new API still called select 2016-08-09 10:26:53 +02:00
Raphael Collet 95206ff323 [MIG] test_impex: convert to the new API 2016-08-09 10:08:55 +02:00
Jérome Maes 51431bc0cf [MIG] google_cal: migration to new API 2016-08-08 17:12:56 +02:00
Mohammed Shekha 9b39275d85 [MIG] google_calendar: migrate to new api
No behaviour changes, only migrate code and add
some docstring.
2016-08-08 16:27:06 +02:00
Jérome Maes 996d6de620 [MOV] google_calendar: split files per models 2016-08-08 16:07:07 +02:00
Mohammed Shekha d624fdd250 [MOV] google_calendar: moved models and data file in to models and data directory 2016-08-08 16:07:07 +02:00
Christophe Simonis cd613fd768 [FIX] website_sale: compare selection field against values in selection 2016-08-08 16:05:26 +02:00
Christophe Simonis 456d3d1e1e [FIX] mrp: drop (sql) view before recreating it 2016-08-08 16:04:48 +02:00
Jérome Maes 29796b58dd [IMP] calendar: notification route should be in auth
The 2 calendar notification routes were in auth
`none`. This causes no problem, but since they are
reimplementing the auth user mecanism, it is better
to set them directly in auth `user`. Moreover, they
are only called from webclient, when the user is
logged.

This commit also migrate them to new API (we forgot
them ....)
2016-08-08 15:46:03 +02:00