diff --git a/addons/document_page/document_page_demo.xml b/addons/document_page/document_page_demo.xml index a7b5989427f..96984fe2e0b 100644 --- a/addons/document_page/document_page_demo.xml +++ b/addons/document_page/document_page_demo.xml @@ -20,13 +20,13 @@ Additional ressources - + OpenERP 6.1. Functional Demo -The news is out, OpenERP's latest version 6.1. is here. -It's more user-friendly, even more business oriented and efficient to manage your company +The news is out, OpenERP's latest version 6.1. is here. It's more +user-friendly, even more business oriented and efficient to manage your company How to discover the latest version 6.1.? @@ -34,7 +34,9 @@ Demo : [http://demo.openerp.com] Online: [http://openerp.com/online] Download: [http://openerp.com/downloads] -We have also put together a functional demo that presents 6.1. Watch this video to learn directly from us what OpenERP 6.1. can do for you. Share it in your company, with your clients and implement it now for your business. +We have also put together a functional demo that presents 6.1. Watch this video +to learn directly from us what OpenERP 6.1. can do for you. Share it in your +company, with your clients and implement it now for your business. ==Watch on Youtube!== @@ -43,27 +45,30 @@ We have also put together a functional demo that presents 6.1. Watch this video - + Personalise Dashboards -You like OpenERP, but feel like you want to personalise it more? Now, OpenERP goes a step further and lets you customize your dashboard. -How? you will ask. Thanks to a new feature that allows you to customize your dashboard by adding new boards of any search view. - -Let's say you are not a big fan of the default dashboard and you feel like the view provided are not the most relevant to you. So, now you can remove the board you find useless and customize your own one. +You like OpenERP, but feel like you want to personalise it more? Now, OpenERP +goes a step further and lets you customize your dashboard. Thanks to a new +feature that allows you to customize your dashboard by adding new boards of any +search view. ==How is it done?== Step 1: access one search view -Step 2: apply the filter you want to see at each connection to the application (eg. on sales, manufacturing, etc) +Step 2: apply the filter you want to see at each connection to the application +(eg. on sales, manufacturing, etc) Step 3: add it into the dashboard in the same space where you can save the filter Step 4: choose the application you want it visible on and the name of the array -Look at this simple example below from Purchase, where I want to put on the application's dashboard "Purchases to Approve". After I access the search view and apply the filter for "Purchases to Approve", I can add it immediately to my Purchase dashboard. - +Look at this simple example below from Purchase, where I want to put on the +application's dashboard "Purchases to Approve". After I access the search view +and apply the filter for "Purchases to Approve", I can add it immediately to my +Purchase dashboard. [[File:http://www.openerp.com/sites/default/files/fileattach/dashboard2_1(1).png ]] @@ -71,17 +76,21 @@ In less than a minute, the search view is visible on the dashboard [[File:http://www.openerp.com/sites/default/files/fileattach/dashboard2_2.png ]] -Of course, you are free to delete what you don't need or like, but just in case you change your mind there is a reset button to return to the default view. +Of course, you are free to delete what you don't need or like, but just in case +you change your mind there is a reset button to return to the default view. + - + Touchscreen Point of Sale -The brand new OpenERP touchscreen point of sale available with 6.1 allows you to manage your shop sales very easily. -It's fully web based so that you don't have to install or deploy any software and all the sales shops can be easily consolidated. -It works in connected and disconnected modes so that you can continue to sell if you lose your internet connection. +The brand new OpenERP touchscreen point of sale available with 6.1 allows you +to manage your shop sales very easily. It's fully web based so that you don't +have to install or deploy any software and all the sales shops can be easily +consolidated. It works in connected and disconnected modes so that you can +continue to sell if you lose your internet connection. [[File:http://www.openerp.com/sites/default/files/fileattach/POS(2).png ]] @@ -89,23 +98,24 @@ It works in connected and disconnected modes so that you can continue to sell if 100% WEB based -available for any touchscreen device (ipod, ipad, any tablet)mobile (with portable devices) +* available for any touchscreen device (ipod, ipad, any tablet)mobile (with portable devices) +* no installation required +* no synchronization needed, completely integrated +* continue working even when your connection is down if you close your browser, data won't be lost +* fully web based with a clean interface smart interface -no installation required -Packed as a standard OpenERP module +You have different options to select your products. You can do it through the +barcode reader, just browse through the categories you have put in place (ie. +drinks, snacks, meals, etc.), or text search in case neither of the other +options work for you. If you need to use the POS for your restaurant, for +example, your employees can record at the same time multiple tickets without +having to wait to do one transaction at a time. Along, to facilitate payment, +the application allows multiple payment methods. -no synchronization needed, completely integrated -all OpenERP available, use OpenERP for backend consolidate shops almost in real time -Work offline, with no server connection - -continue working even when your connection is down -if you close your browser, data won't be lost - -fully web based with a clean interface smart interface -You have different options to select your products. You can do it through the barcode reader, just browse through the categories you have put in place (ie. drinks, snacks, meals, etc.), or text search in case neither of the other options work for you. -If you need to use the POS for your restaurant, for example, your employees can record at the same time multiple tickets without having to wait to do one transaction at a time. Along, to facilitate payment, the application allows multiple payment methods. - -The POS application is so simple and accessible to use that your shop or restaurant will never need any other tool to manage orders. Due to its smart and user-friendly interface you don't need any training to learn how to use it. Think of it as an out-of-the-box solution to boost your business' productivity. +The POS application is so simple and accessible to use that your shop or +restaurant will never need any other tool to manage orders. Due to its smart +and user-friendly interface you don't need any training to learn how to use it. +Think of it as an out-of-the-box solution to boost your business' productivity. diff --git a/addons/document_page/test/document_page_test00.yml b/addons/document_page/test/document_page_test00.yml index d0cefbed855..3c8dba80294 100644 --- a/addons/document_page/test/document_page_test00.yml +++ b/addons/document_page/test/document_page_test00.yml @@ -1,16 +1,10 @@ - - In order to test the document_page in OpenERP, I create a new document page type on Select Display Method Tree + In order to test the document_page in OpenERP, I create a new page to category demo_category1 - - !record {model: document.page.type, id: wiki_groups_wikigrouptest0}: - method: tree - name: Wiki Group Test - notes: I can Generate New Group for Select Display method = Tree. -- - Now I will create new Doucment page and assign Group test to this page -- - !record {model: document.page, id: wiki_wiki_openerpwikiediting0}: - name: OpenERP Wiki Test - content: '=The Open ERP wiki= + !record {model: document.page, id: test_page0}: + name: Test Page0 + parent_id: demo_category1 + content: 'Test content The Open ERP wiki allows you to manage your enterprise contents using wiki @@ -19,17 +13,21 @@ FAQs, quality manuals, technical references, etc.' - - Now I will update the wikipage with other text + I check the category index contains my page. - - !record {model: document.page, id: wiki_wiki_openerpwikiediting0}: - content: '=The Open ERP wiki= + !python {model: document.page}: | + res = self.read(cr, uid, [ref('demo_category1')], ['display_content']) + assert res[0]['display_content'].find('Test Page') > 1 +- + !record {model: document.page, id: test_page0}: + content: 'Test updated content The Open ERP wiki allows you to manage your enterprise contents using wiki restructured texts. This module provides a collaborative way to manage internal FAQs, quality manuals, technical references, etc. - + Wiki text can easily be edited ' - @@ -37,35 +35,20 @@ - !python {model: wizard.document.page.history.show_diff}: | hist_obj = model.pool.get('document.page.history') - ids = hist_obj.search(cr, uid, [('document_id', '=', ref("wiki_wiki_openerpwikiediting0"))]) + ids = hist_obj.search(cr, uid, [('page_id', '=', ref("test_page0"))]) model.get_diff(cr, uid, {'active_ids': ids[:] }) - - I create a new Document page type on the Given Home Page + I click the "create menu" link and i fill the form. - - !record {model: document.page.type, id: wiki_groups_wikigroupediting0}: - name: Wiki Group Editing - home: document_page.wiki_wiki_quickstart0 -- - I Open the page for click on "Open Document Page" button. -- - !python {model: document.page.type}: | - self.open_document_page(cr, uid, [ref("wiki_groups_wikigroupediting0")], context) -- - In order to create a menu I will create wizard data -- - !record {model: document.page.type, id: document_page.wiki_groups_wikiformatting0}: - home: document_page.wiki_wiki_main -- - I create a Menu by clicking on "create menu" button. -- - !record {model: document.page.create.menu, id: wiki_create_menu_0}: + !record {model: document.page.create.menu, id: test_create_menu0}: menu_name: Wiki Test menu menu_parent_id: base.menu_base_partner - - I fill in the form and create the menu + I create a Menu by clicking on "create menu" - !python {model: document.page.create.menu}: | - ids = self.search(cr, uid, []) + ids = [ref("test_create_menu0")] + context['active_id'] = ref('test_page0') self.document_page_menu_create(cr, uid, ids, context)