5c545e32448ddcd46716ab1fc0d20610504ddd21
There used to be some acceptance tests but they have not actually been run since 8.0. These acceptance tests are very useful for the POS because the POS is a somewhat unusual module and it happens occasionally that a change in another module unintentionally breaks the POS. Another reason these tests are nice to have is because the POS duplicates a lot of calculations in JS because it's meant to be able to work offline (eg. calculation of taxes, orderline totals etc.). Subtle differences (eg. rounding) between the frontend JS calculations and the backend calculations make up the most common category of bugs in the POS. These frontend tests will make it easy to write tests for these scenario's. When phantom_js finishes we look through all the received pos.order records and see that all of them are paid. If there would be a difference between frontend and backend calculations the order would not have the paid status because the payment on the order would be different from the total. An example test for a previous bug has been included. This will also come in handy for testing the upcoming pricelist functionality that will be implemented in the POS.
…
…
…
…
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
If you are a developer you may type the following command at your terminal:
wget -O- https://raw.githubusercontent.com/odoo/odoo/9.0/odoo.py | python
Then follow the developer tutorials
For Odoo employees
To add the odoo-dev remote use this command:
$ ./odoo.py setup_git_dev
To fetch odoo merge pull requests refs use this command:
$ ./odoo.py setup_git_review
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%