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
Denis Vermylen (dve)
197c410557
[MOV] purchase/data: add purchase_sequence to data
2016-08-05 12:52:49 +02:00
Denis Vermylen (dve)
05b265de9a
[MOV] purchase: move and rename files according to guidelines
2016-08-05 12:52:49 +02:00
Yannick Tivisse
64b48d705d
[MERGE] account_asset: Migrate to new API
2016-08-05 11:09:26 +02:00
Thibault Delavallée
5a859b8d38
[FIX][IMP] account_asset: method_time / prorata thingy
...
- on account.asset.asset form view, field method_time, in 'Depreciation Information'
page: use radio widget instead (without it, you couldn't change the field)
- on account.asset.category form view: prorata field hidden when required, and set
to false when method_time is on 'Ending Date'. (It was previously possible for
the prorata to be true while the method_time was 'Ending Date', which is invalid)
2016-08-05 11:05:35 +02:00
Denis Vermylen (dve)
62a1c97d37
[MIG] account_asset: Migrate to new API
2016-08-05 11:05:35 +02:00
Thibault Delavallée
d43cdd696c
[SPL] account_asset: split files according to modelsé
2016-08-05 11:04:02 +02:00
Denis Vermylen (dve)
0b2127c25f
[MOV] account_asset: reorganise module directory
2016-08-05 11:04:01 +02:00
Thibault Delavallée
c3be4c4010
[FIX] account_asset: remove duplicate method whose code is less effective
2016-08-05 10:35:24 +02:00
Thibault Delavallée
afcd0e1a58
[FIX] account_asset: missing at
2016-08-05 10:35:24 +02:00
Thibault Delavallée
1cdbb47ccd
[FIX] account_asset: effectively set default value
2016-08-05 10:35:24 +02:00
Yannick Tivisse
415a52047e
[MERGE] gamification, hr_gamification, gamification_sale_crm: Migrate to new API
2016-08-05 10:20:59 +02:00
Yannick Tivisse
807b343de1
[MOV] gamification_sale_crm: Restructured the module files as per new guidelines.
2016-08-05 10:18:02 +02:00
Jainik Patel
99e717733b
[MIG] hr_gamification: Migrated to new api.
2016-08-05 10:18:02 +02:00
Jainik Patel
740b42ed5b
[MIG] hr_gamification: Restructured the module files as per new guidelines.
2016-08-05 10:18:02 +02:00
Xavier Morel
13e2fda203
[REM] website_forum: commented challenges
2016-08-05 10:18:02 +02:00
Xavier Morel
c736465dab
[MIG] gamification: compute_code data and evaluation
2016-08-05 10:18:02 +02:00
Xavier Morel
0c649644db
[MIG] gamification: Migrate to new API
...
Includes compatibility-change to website_forum: a selection(callable)
converted to a Selection(list) since that can easily be extended in the
new API.
2016-08-05 10:18:02 +02:00
Xavier Morel
c7a818caee
[REM] gamification: res_users extensions
...
Apparently leftover from when features got removed from the client.
2016-08-05 10:18:02 +02:00
Jérome Maes
1bb74b7588
[FIX] calendar: use on list instead of ...
2016-08-05 08:43:46 +02:00
Fabien Pinckaers
d3098aa946
[IMP] website_sale: typo in tip
2016-08-04 16:55:39 -07:00
Fabien Pinckaers
d73eb2c555
[IMP] website_blog: improved tour
2016-08-04 16:10:13 -07:00
Fabien Pinckaers
44f755579f
[IMP] website: tout wording, small improvements
2016-08-04 11:06:30 -07:00
Fabien Pinckaers
7aeb3dfebd
[IMP] website: UX detail: divider in content menu
2016-08-04 10:53:25 -07:00
qsm-odoo
3363facfe4
[IMP] website_quote: use affix to block the sidebar when scrolling
...
Sometimes, the sidebar on quotation previews can overflow the footer
if the window height is too small. To prevent that, the position of
the sidebar is blocked before overflowing, thanks to affix.
2016-08-04 17:33:11 +02:00
Raphael Collet
dbcc11664a
[MIG] test_new_api: convert tests and remove old-API specific ones
2016-08-04 16:26:50 +02:00
Thibault Delavallée
9446b14617
[FIX] product: fix wrong decorator introduced when migrating
2016-08-04 15:29:44 +02:00
Thibault Delavallée
b4a5b20c9b
[MERGE] account_cancel: reorganize files, finish migration and lint
2016-08-04 14:53:59 +02:00
Yannick Tivisse
e74bbb6432
[Merge] website_mass_mailing: Migrate to new API
2016-08-04 12:40:42 +02:00
Xavier Morel
a089b0a0a6
[MIG] website_mass_mailing: Migrate to new API
...
Half the controllers were already in the new API, migrated the rest.
2016-08-04 12:39:55 +02:00
Yannick Tivisse
25ba1b2fff
[MOV] website_mass_mailing: reorganize files according to new API
2016-08-04 12:39:55 +02:00
Yannick Tivisse
386faff6ba
[MERGE] hw_*: Migrate to new API
2016-08-04 12:37:51 +02:00
Rohan Patel
a5ccae0b9b
[MIG] hw_scanner : Migrated to new API.
2016-08-04 12:37:08 +02:00
Rohan Patel
d007e73f69
[MIG] hw_scale : Migrated to new API.
2016-08-04 12:37:08 +02:00
Rohan Patel
5645635949
[MIG] hw_proxy : Migrated to new API.
2016-08-04 12:37:08 +02:00
Rohan Patel
ac7379d3e6
[MIG] hw_posbox_upgrade : Migrated to new API.
2016-08-04 12:37:08 +02:00
Rohan Patel
f8fe26fe32
[MIG] hw_posbox_homepage : Migrated to new API.
2016-08-04 12:37:08 +02:00
Rohan Patel
bff6ef3c76
[MIG] hw_escpos : Migrated to new API.
2016-08-04 12:37:08 +02:00
Rohan Patel
9d03b40810
[MIG] hw_blackbox_be : Migrated to new API.
2016-08-04 12:37:08 +02:00
Jérome Maes
10bc3083ff
[MERGE] website: migration to new API
...
No functionnaly changes, only code migration and cleaning
2016-08-04 12:10:35 +02:00
Jérome Maes
9f6ecb239e
[REF] website_*: clean method to override when using
2016-08-04 12:02:14 +02:00
Jérome Maes
8a399930f3
[REF] website_*: remove render method on website
...
Since saas-3, website controllers use `request.website.render`
to render the template of a web page. This was kept for retro
compatibility. It's time to stop using deprecated stuff.
Same for `_render` method on website.
'json' route don't use `request.render` since
`JsonRequest` has no `render` method.
2016-08-04 12:02:14 +02:00
Ravi Gadhia
fd09ddb6f3
[MIG] website: migration to new api
...
Migration of website module to new API.
The tricky phase is ir_http.py : we need to use `request.env`
only when the authenfication phase is done. Normally by
calling `super` of `_dispatch` method, but website module
required it to be done before. This is important since
`env`is a lazy property of `request` object.
Some hack were kept since this commit is a migration ('RequestUID'
in ir.http, ...)
Some docstrings were added.
2016-08-04 12:02:14 +02:00