Commit Graph
104467 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
Kinjal Mehta 08d51a7c79 [IMP] hr_holidays: raise date consistency warning on save only 2016-08-09 14:58:24 +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 665d1ec146 [FIX] various: fix digits_compute attribute changed to digits in new API 2016-08-09 11:03:12 +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
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
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
Jérome Maes 4b8de95d29 [FIX] calendar: bad method name called 2016-08-08 13:52:13 +02:00
Jérome Maes 26ccf212d8 [FIX] calendar: force computation of for calendar.event 2016-08-08 13:52:02 +02:00
Yannick Tivisse d6e1d41128 [MIG] account: Migrate remaining old API chuncks of code 2016-08-08 12:24:40 +02:00
Danimar Ribeiro 5177186f43 [ADD] base: add the brazilian state 'Acre'
Closes #13054
2016-08-08 12:08:47 +02:00
Yannick Tivisse 9f00eddb85 [FIX] stock_account: Fix stock_account_data_post_install.yml remaining old api calls 2016-08-08 10:27:29 +02:00
Thibault Delavallée 1eac2bbec1 [MERGE] website_quote: migration to new API 2016-08-05 15:28:21 +02:00
Denis Vermylen (dve) f39628ae49 [IMP] website_quote: perform some code cleaning
* Remove dead code
* Clean variable assignation to a record set and use a dedicated variable to
  hold the result instead of setting a property on records
2016-08-05 15:25:26 +02:00
Denis Vermylen (dve) 232eea36ab [MIG] website_quote: migrate to new api 2016-08-05 15:25:26 +02:00
Denis Vermylen (dve) 1fe106ef7a [MOV] website_quote: reorganize addon and split models according to guidelines 2016-08-05 15:25:26 +02:00
Thibault Delavallée 4c8a5b164a [FIX][REF] website_quote: remove broken call to an old onchange
website_quote still calls sale_order_line.product_id_change() in old API,
giving arguments that are not supported anymore. It does not crash because
'reasons'. However the new onchange does not return values since v9. The
call is therefore not necessary anymore and the computation has been adapted
accordingly.
2016-08-05 15:24:36 +02:00
Yannick Tivisse ca530e7a40 [MERGE] purchase: Migrate to new API 2016-08-05 14:18:35 +02:00
Denis Vermylen (dve) bd3f501c84 [FIX] purchase: correct singleton error
Write in models/account_invoice.py didn't handle multiple records.
Now fixed.
2016-08-05 14:04:38 +02:00
Denis Vermylen (dve) 5146add3b7 [REF] purchase: remove unnecessary code 2016-08-05 14:04:38 +02:00
Denis Vermylen (dve) ba3d3582bc [MIG] purchase: Migrate to new API 2016-08-05 14:04:37 +02:00