Commit Graph
94347 Commits
Author SHA1 Message Date
Géry Debongnie be8adf2769 [REF] website_forum: update to the new module system 2015-03-18 09:23:35 +01:00
Géry Debongnie da73f624b2 [REF] website_event: update to the new module system 2015-03-18 09:23:35 +01:00
Géry Debongnie a78655e71f [REF] website_crm: update to the new module system 2015-03-18 09:23:35 +01:00
Géry Debongnie 93d96ff871 [REF] website_blog: update to the new module system 2015-03-18 09:20:33 +01:00
Géry Debongnie 88fbbd7362 [REF] survey: update to the new module system 2015-03-18 09:09:23 +01:00
Géry Debongnie 0e274fde7d [REF] stock: update to the new module system 2015-03-18 09:09:22 +01:00
Géry Debongnie eccda7dff6 [REF] planner: update to the new module system 2015-03-18 09:09:22 +01:00
Géry Debongnie 81333ade84 [REF] mass_mailing: update to the new module system 2015-03-18 09:09:22 +01:00
Géry Debongnie 5e6171bb6f [REF] various addons: update to the new module system 2015-03-18 09:09:22 +01:00
Géry Debongnie 90050c24bb [REF] pos_X: update to the new module system 2015-03-18 09:09:22 +01:00
Géry Debongnie 996b6571b7 [REF] website: update to the new module system 2015-03-18 09:09:22 +01:00
Géry Debongnie 1d23c24d79 [REF] point_of_sale: update to the new module system 2015-03-18 09:01:52 +01:00
Géry Debongnie 1ca7f9f6aa [REF] im_odoo_support: update to the new module system 2015-03-18 09:01:52 +01:00
Géry Debongnie ee90ae3b48 [REF] chat/livechat: update to the new module system 2015-03-18 09:01:52 +01:00
Géry Debongnie 2ebe3076d2 [REF] hr: update to the new module system 2015-03-18 09:01:52 +01:00
Géry Debongnie 858e46e977 [REF] update various small addons to the new module system 2015-03-18 09:01:52 +01:00
Géry Debongnie 824dbe13ad [REF] board: update to the new module system 2015-03-18 09:01:51 +01:00
Géry Debongnie 156787155a [REF] base_import: update to the new module system 2015-03-18 09:01:51 +01:00
Géry Debongnie 0dcc559cdd [REF] barcodes: update to the new module system 2015-03-18 09:01:51 +01:00
Géry Debongnie d2e90989b7 [REF] auth_openid: update to the new module system 2015-03-18 09:01:51 +01:00
Géry Debongnie 6a8524cfb9 [REF] account_analytic_plans: update to the new module system 2015-03-18 09:01:51 +01:00
Géry Debongnie 0cfbbb6b7f [REF] web_calendar: update to the new module system 2015-03-18 09:01:50 +01:00
Géry Debongnie 0ceeff515c [REF] mail: update to the new module system 2015-03-18 09:01:50 +01:00
Géry Debongnie 97f4ba3e3d [REF] account: update to the new module system 2015-03-18 09:01:50 +01:00
Géry Debongnie b960f8ad52 [REF] web: update test suite to new module system
The test suite needs to be adapted to the modules.  Also, the update
of qunit changes the API, so the tests needs to be changed as well.
2015-03-18 09:01:50 +01:00
Géry Debongnie 7165ac08aa [IMP] web: update qunit to last version (1.17)
The testing framework was done with an old version of qunit.  We had to
program our layer on top of it to provide support for promises in tests.
The last version of qunit now supports promises, and the testing
framework needs to be reworked anyway with the new modules.
2015-03-18 09:01:50 +01:00
Géry Debongnie c8a8fec622 [REF] web_X: update to the new module system 2015-03-18 09:01:49 +01:00
Géry Debongnie 4b77bbf51c [REF] web_kanban: update to the new module system 2015-03-18 09:01:49 +01:00
Géry Debongnie 99b8674761 [REF] base: update apps to the new module system 2015-03-18 09:01:49 +01:00
Géry Debongnie 5ed9c00e30 [IMP] web: add compatibility layer
This compatibility file reexports every symbols from the modules to the
old openerp namespace.  The goal is to allow old unconverted odoo addons
to interact seamlessly with the new web client.
2015-03-18 09:01:49 +01:00
Géry Debongnie e8a00bc50d [REF] web: add module system to the web client
This commit introduces a new module system for the javascript code.
Instead of using global (namespaced) variables everywhere (like
openerp.web.whatever, ...), each file declare one (or more) module
with its dependencies.  Each module will be loaded after its
dependencies, and will be given a reference to the return values.

This change is a massive departure from the way the client worked
previously.  It will sadly break some/most history, but I am sure that
the future git ecosystem will allow you to easily browse the history
past this revision (one can dream).

This commit feature:
* main namespace is now odoo instead of openerp
* a way to define modules and dependencies (inspired by requirejs)
* many files have been splitted in simpler subfiles
* basic support for debugging in odoo.__DEBUG__
* no global variable (i.e. nothing in window.openerp)
* many bug fixes, many new bugs

Future vision: this modularization should simplify future code
development, simplify debugging and will allow a serious testing effort
2015-03-18 09:01:49 +01:00
Géry Debongnie 9036084f06 [FIX] calendar/mail: correctly use registries
These two addons were doing evil things with the way registries works.
1. they create a new registry to add something in it,
2. they replace the existing reference with another
3. they don't use the "add" method.

Seriously, original coder, what were you thinking?
2015-03-18 09:01:48 +01:00
Hitesh Trivedi f2987ea412 [IMP] website_blog : onboarding. The cover image of a blog post is editable (opacity, color, size, ...). Add a new tour, views improvements and new default images 2015-03-17 09:09:27 +01:00
Hitesh Trivedi 5b9276bf29 [IMP] base : remove the has_image field which is not used anymore 2015-03-17 09:09:27 +01:00
Jérome Maes eb62431317 [FIX] website_forum : clean template by removing useless contruction. 2015-03-16 15:04:54 +01:00
Richard Mathot 8a857fad07 [REM] hr_expense,hr_holidays: unnecessary context added by ff1d3849af 2015-03-16 09:24:00 +01:00
Fabien Pinckaers 2390289d4a [IMP] typo 2015-03-14 23:12:22 -07:00
Fabien Pinckaers c18644ddab [IMP] better tooltip / button 2015-03-13 00:03:07 -07:00
Parth Gajjar f76ca21b15 [IMP] website_forum : improve tag ordering, add 'in menu' checkox when create a forum, customize welcome_message on a forum, better fetch link title when insert it, display answers of a question on form view, ans some changes in faq 2015-03-12 15:41:10 +01:00
Ajay javiya 9804ee91c5 [FIX] sale_stock: traceback when create a sale order 2015-03-12 15:02:51 +05:30
Yannick Tivisse 386ec152ec [IMP] web_kanban: rebuilt kanban.css from sass by using the makefile 2015-03-11 15:45:28 +01:00
Yannick Tivisse 9ec5240a1a [IMP] Kanban view, better layout for all the items : messages, tags, ... 2015-03-11 15:45:28 +01:00
Yannick Tivisse 27a7cab52b [IMP] group by product_template,serial_number in stock valuation reporting 2015-03-11 15:33:01 +01:00
Mitesh Savani cf925c2a58 [TEST] website_forum: add testing tour for the forum. 2015-03-11 14:58:20 +01:00
Ravi Gadhia dc3fbb17fa [IMP] ir_ui_view, view_form: add information about the user
being able to create and write on many2one and many2many records in a form view.

Indeed before this commit users had always the possibility to create or edit records
leading to a crash if no access rights were granted. Now the option is
not displayed if the user has no rights to do it.

Tests have been added for this feature.
2015-03-11 11:21:18 +01:00
rmu-odoo 420479658e [IMP] procurement: display number of procurements in exception 2015-03-11 11:15:36 +01:00
Amit Vora d6fe36f1f7 [IMP] sale: put stat button with invoices on sale order.
invoice_exists field has been removed, because invoice_count can be used when the
old field was used.
invoiced_rate field has been removed, because it was never used except in a
test.

Also added a stat button with deliveries on sale order.
2015-03-11 11:13:37 +01:00
Nicolas Lempereur 6de2fa858a [IMP] doc: separate pivot view
the type="pivot" attribute doesn't seem to work, in the code when
it works, `<pivot>` is used and has two undocumented attributes.
2015-03-11 10:52:02 +01:00
Hitesh Trivedi 51cdceba3e [FIX] web: automatic scroll towards tour popups that are not on screen 2015-03-11 10:24:35 +01:00
Christophe Simonis 0a65947499 [MERGE] forward port of branch saas-6 up to 648a558 2015-03-10 19:25:43 +01:00