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
Jérome Maes
7c20b4785b
[FIX] ir_http: setting the routing_map on the class
...
The routing map should be static. Being calling from the old api (with registry)
there was no problem. But since the new API works with instance, a new instance
of the ir.http model will recreate its own routing map. This should have been
avoid during migration to new api of ir.http . Anyway, this prevent many mistake
for the website migration.
2016-08-04 12:02:13 +02:00
Jérome Maes
73749499f0
[MOV] website: split files, reoganize file per models
2016-08-04 12:02:13 +02:00
Jérome Maes
2becc4a59a
[MOV] website: module directory organization
2016-08-04 12:02:13 +02:00
Yannick Tivisse
68c6f0deeb
[account*, mrp*, sale*, stock*,...] Convert remaining .yml files to new API
...
Only purchase still has old api yml files, but they will be converted in
the module migration
2016-08-04 11:55:50 +02:00
Denis Vermylen (dve)
153c7dcfa4
[IMP] account_cancel: clean imports, openerp tags and correct exceptions
2016-08-04 11:35:38 +02:00
Denis Vermylen (dve)
ecc9b14470
[MOV] account_cancel: reorganize files according to guidelines
2016-08-04 11:35:35 +02:00
Thibault Delavallée
3769c7800e
[MERGE] sale_timesheet: reorganize module and migrate to new API
2016-08-04 11:10:56 +02:00
Kinjal Mehta
fb9414af9a
[MIG] sale_timesheet: migrate module to new API
2016-08-04 11:09:52 +02:00
Kinjal Mehta
572053d9f5
[MOV] sale_timesheet: reorganize files and split models and views into their own files
2016-08-04 11:09:29 +02:00
Christophe Matthieu
f1b58b1293
[IMP] website_mail: use 'user_has_groups' API
...
The custom check is a more complicated and slower code than using the API
method provided for that.
2016-08-04 10:44:20 +02:00
Fabien Pinckaers
b5acc5fe99
[FIX] purchase: vendor bills on mobile views: kanban instead of list
2016-08-03 22:45:03 -07:00
Fabien Pinckaers
eeee380394
[FIX] website: typo in snippet
2016-08-03 11:11:19 -07:00
fwi-odoo
7ba377329e
[IMP] website_project_issue_sheet: replace openerp tag
2016-08-03 17:21:00 +02:00
Martin Trigaux
b6666cbfae
[FIX] base: force a symbol on a currency
...
To avoid scenario as in 11346 where the report expects a currency symbol.
2016-08-03 16:36:09 +02:00
Martin Trigaux
9c3dde04bf
[FIX] base: remove the SIT currency
...
The Slovenian tolar is no longer used since 2006 and has been replaced by Euro.
2016-08-03 16:36:06 +02:00
Martin Trigaux
f6c8112478
[FIX] base: correct the currency of Tajikistani
...
The Tajikistani is using Tajikistani somoni since 2000 instead of the
Tajikistani ruble.
2016-08-03 16:36:06 +02:00
Martin Trigaux
875632182b
[FIX] base: remove the GWP currency
...
The Guinea-Bissau peso is no longer used since 1997.
The Republic of Guinea-Bissau is now using West African CFA franc (XOF)
2016-08-03 16:36:02 +02:00
Martin Trigaux
8f8caf2e63
[IMP] base: remove the TPE currency
...
The Portuguese Timorese escudo is no longer used since 1976.
The East Timor is now using the USD since 2001 (not sure what they were using
between these two).
2016-08-03 15:12:22 +02:00
qsm-odoo
055b2cbe3f
[FIX] calendar: adapt function parameter comment
...
Commit b7b935dbf8 changed the role of a function parameter but did not
adapt its commented explanation.
2016-08-03 14:13:58 +02:00
Thibault Delavallée
ee1fcde8f2
[MERGE] web_*: reorganize files, finish migration and apply guidelines
2016-08-03 13:43:38 +02:00
Thibault Delavallée
4b4db94064
[IMP] web_planner: remove last references to old API in docstrings
2016-08-03 13:42:26 +02:00
fwi-odoo
9a0c20d803
[MOV][IMP] web_tour: reorganize files, clean imports, replace openerp tags and add license
2016-08-03 13:42:26 +02:00
fwi-odoo
831619f623
[IMP] web_settings_dashboard: clean imports, remove openerp tags and add license
2016-08-03 13:42:25 +02:00
fwi-odoo
a32c1d3c8d
[MIG] web_editor: migrate to new api
2016-08-03 13:42:25 +02:00
fwi-odoo
65fbeb21f6
[IMP] web_planner: remove openerp tags and add license
2016-08-03 13:42:23 +02:00
fwi-odoo
b2126e5854
[MOV][IMP] web_kanban_gauge: reorganize files, clean openerp tags and add license
2016-08-03 13:42:23 +02:00
fwi-odoo
86cb52e145
[MOV][IMP] web_kanban: reorganize files, remove openerp tags and add license
2016-08-03 13:42:23 +02:00
fwi-odoo
271ba327b4
[MOV][IMP] web_diagram: reorganize files, add license and clean imports
2016-08-03 13:42:06 +02:00
fwi-odoo
d8b652d706
[MOV][IMP] web_calendar: rename files according to guidelines, replace openerp and add license
2016-08-03 13:42:06 +02:00
fwi-odoo
d4e813b873
[REF] web, *: change deprecated import openerp.addons.web.http to odoo.http
...
We also remove the mock in web as there is no need for it anymore.
2016-08-03 13:42:05 +02:00
fwi-odoo
f88a889409
[MIG] web: migrate controllers to new API
2016-08-03 13:42:05 +02:00
fwi-odoo
7d487c00a6
[IMP] web: remove void file, replace openerp tags, add license, clean imports
2016-08-03 13:42:00 +02:00
Thibault Delavallée
1feae7447f
[MERGE] account_*: reorganize files, finish migration and apply guidelines
2016-08-03 11:43:39 +02:00
fwi-odoo
fe35d384dd
[MIG] account_voucher: replace opernerp tags , clean imports, rename classes, reorder code of account_voucher
2016-08-03 11:18:49 +02:00