Commit Graph
101261 Commits
Author SHA1 Message Date
qsm-odoo 6610d05549 [REF] web_editor,website,mass_mailing: JS/XML update
* Adapt DOM selectors
* Refactore dialog XMLs to have odoo styling
* New editor options (background-position, ...)
* Various improvements
2016-02-24 13:47:36 +01:00
qsm-odoo 58c5ff1d4f [REF] website*: frontend user navbar
* Remove use of bootstrap navbar
* Add navbar.less file for compatibility with enterprise
* Modify the location of the "new page/product/..." elements
2016-02-24 13:47:36 +01:00
qsm-odoo 88c2b6843a [REF] web,web_editor,website(_*),report,pos,mass_mailing: assets
* Remove recursive assets inclusions (i.e. assets_editor was including
assets_common, summernote, ...)
* Better construct the assets (link, then script + type attribute)
* Better include the assets (split js / css, always use t-call-assets)
* Simplifies the number of assets
* Move bootstrap js to assets common
* assets_frontend is now created by web module to allow using it on the
connexion page but also in the web_editor, where colors have to be
bootstrap/theme ones. Note: if a module depends on website, then keep
using the inherit_id="WEBSITE.assets_frontend"
2016-02-24 13:47:06 +01:00
qsm-odoo 5b65befcd8 [REF] web,web_editor,website,report,mass_mailing,mail: LESS
* Convert some CSS to LESS
* Split/Join LESS files
* Remove duplicates between website and web_editor
* UI improvements
* Allow simple customizations thanks to LESS var&mixins for website
2016-02-24 13:09:48 +01:00
qsm-odoo 40334b3342 [REF] web_editor,website,mass_mailing: editor UI unification
Before, the whole editor UI was redefined for web_editor, each
mass_mailing template, website builder, ... Now they all inherit
from the web_editor one.
2016-02-24 13:09:15 +01:00
qsm-odoo a64f64aba4 [REF] website: snippets
* Delete useless snippets
* Delete default mb,mt on snippets
* Delete useless options
* Reorganize snippets order
* Style improvements
2016-02-24 13:08:09 +01:00
stefanorigano c4a896a8a0 [REF] website,web_editor: complete restyling 2016-02-24 11:15:55 +01:00
Jeremy Kersten 1d90e70244 [FIX] crm*: remove outdated stage_type from context
This key in context is useless since v7.0
2016-02-23 15:31:17 +01:00
qsm-odoo 8f2be0d61b [IMP] web: update Dialog class
Update Dialog class with enterprise version.
2016-02-23 13:40:17 +01:00
Ravi Gohil 7eab8e26d3 [MIGR] base: migrate base/res to the new API
- `ir.property`, improve API of method `get_by_record`
- `res.bank`, `res.partner.bank`
- `res.company`
- `res.config`, `res.config.installer`, `res.config.settings`, fix usage of methods `get_default_`
- `res.country`, `res.country.group`, `res.country.state`
- `res.currency`, `res.currency.rate`
- `res.font`
- `res.lang`
- `res.partner`, `res.partner.category`, `res.partner.title`
- `res.request.link`
- `res.groups`, `res.users`, `res.users.log`, change password wizard
2016-02-23 12:06:25 +01:00
Yannick Tivisse 1490e430e6 [IMP] base: rename duplicated menu
Rename the menu 'Apps' by 'Local Modules'

Fixes #9009
Closes #11017
2016-02-23 11:25:53 +01:00
Richard Mathot 9bfa205082 [IMP] survey: correct English 2016-02-22 08:31:58 +01:00
qdp-odoo 8dd9b25a62 [MOV] account: moving reports from account_extra_reports to account 2016-02-19 17:37:46 +01:00
Fabien Pinckaers 773fb17ccb [IMP] support@ --> help@ 2016-02-19 12:47:01 +01:00
Joren Van Onder 22b93174af [FIX] point_of_sale: fix forgotten method rename
pos_order.onchange_qty was renamed to pos_order._onchange_qty during the
migration to the new API.
2016-02-19 10:23:02 +01:00
Joren Van Onder 92badf048f [IMP] point_of_sale: automatically set customer fiscal position
This makes it so that when you set a customer in the POS frontend it
will automatically apply the fiscal position associated to the customer
on the order.

If the customer has no set fiscal position or if the fiscal position is
not available in the POS nothing will happen.

opw-668155
2016-02-18 15:48:16 +01:00
Joren Van Onder d5dfeb9dac [IMP] point_of_sale: allow clearing a set fiscal position
This was not really possible before. This prepends a dummy undefined
fiscal position to the selection list that'll clear the current fiscal
position when selected.

Also considered was using the "Cancel" button of the selection widget to
clear the fiscal position, but that doesn't make a lot of sense from a
UI point of view. Pressing a "Cancel" button shouldn't change anything
in the underlying model, it should just get rid of the dialog window.

opw-668155
2016-02-18 15:48:16 +01:00
Joren Van Onder d9891a5bbe [IMP] point_of_sale: display the current fiscal position name on button
Before this, seeing the current set fiscal position on an order was not
really possible.

opw-668155
2016-02-18 15:48:16 +01:00
Christophe Simonis a7c1f37197 [IMP] module loading: show name and progress of loaded modules 2016-02-18 15:06:26 +01:00
Antony Lesuisse e1020e9a3f [IMP] hr_timesheet is now based on projects and tasks 2016-02-18 02:21:57 +01:00
Antony Lesuisse 8c6ab96f53 [REM] project_timesheet: moved to hr_timesheet 2016-02-18 01:35:06 +01:00
Tanguy Charlier 16bf40f7c4 [IMP] hr_timesheet: Timesheet entries are now related to projects
- Hide account_id field and add a required project_id field on timesheet entries
- Remove is_timesheet field: as project_id is only required for timesheet entries and not for other analytic lines, it can be used to determine wether a line is a timeheet entry or not.
- Remove project_timesheet module as all its functionalities are moved to hr_timesheet
- Replace timesheets on contract option on products by timesheets on project
- Small fixes and improvements in timesheets and projects views and groups
2016-02-18 01:25:55 +01:00
Tanguy Charlier f3a9f83ff1 [MOV] Move project_timesheet files to hr_timesheet before refactoring 2016-02-18 01:23:40 +01:00
Christophe Simonis a5df5e85e4 [MERGE] forward port of branch saas-9 up to eb9e591 2016-02-17 19:23:20 +01:00
Christophe Simonis eb9e5913c9 [MERGE] forward port of branch saas-7 up to 519dd27 2016-02-17 19:23:08 +01:00
Christophe Simonis 519dd27358 [MERGE] forward port of branch 9.0 up to d5f28f4 2016-02-17 19:22:45 +01:00
Christophe Simonis d5f28f4a64 [FIX] base: do not force image when creating delivery/invoice partner
Let the default values choose the correct image by setting correct
value in context
2016-02-17 19:20:28 +01:00
Christophe Simonis 60c9cac46b [MERGE] forward port of branch saas-9 up to 87a01c7 2016-02-17 18:07:21 +01:00
Christophe Simonis 87a01c75ef [MERGE] forward port of branch saas-7 up to 5be43b8 2016-02-17 18:01:11 +01:00
Christophe Simonis 5be43b8d9a [MERGE] forward port of branch 9.0 up to 27058c4 2016-02-17 17:48:03 +01:00
Christophe Simonis 27058c4763 [IMP] delivery: Add "Archive" button on carrier view
Also allow to search on archived carriers easily.
2016-02-17 17:44:54 +01:00
Martin Trigaux 4ecba34944 [MERGE] migration of point_of_sale to the new API 2016-02-17 17:31:38 +01:00
Darshan Kalola 90d406b567 [FIX] pos_mercury: adapt to new signature method
add_payment is no longer an api.model so self represent the current order
2016-02-17 17:12:49 +01:00
Darshan Kalola 62040dea69 [REF] point_of_sale: converted yml test cases to python unit test 2016-02-17 17:12:45 +01:00
Darshan Kalola 32b5515a8f [REF] point_of_sale: migrate to new api 2016-02-17 17:10:03 +01:00
Martin Trigaux e741de8b0c [IMP] point_of_sale: remove some reports
- report.transaction.pos
- report.sales.by.user.pos
- report.sales.by.user.pos.month
These reports where not called anywhere and have been replaced by pivot views

Remove order reports that can be easily replaced by use of the pivot view of
report.pos.order
Add a session_id field and a filter on report.pos.order to make it equivalent.
The invoice report is only useful when called from the pos UI so keeping the
report but not added in the print menu
2016-02-17 17:09:59 +01:00
Darshan Kalola 62406fa4bf [REM] point of sale: removed useless wizard and code
Never called or not used
2016-02-17 17:04:26 +01:00
Martin Trigaux 7d93f9904e [IMP] point_of_sale: remove complete_name and iface_fullscreen
complete_name is actually the existing orm field display_name
field iface_fullscreen is never used, cf TODO
2016-02-17 17:04:26 +01:00
Martin Trigaux 8ab5b8664a [IMP] point_of_sale: remove unused action
Never called
2016-02-17 17:04:26 +01:00
Darshan Kalola fcdd43010a [REF] point_of_sale: split files per model 2016-02-17 17:04:22 +01:00
Christophe Simonis 32378529e1 [IMP] ir.attachment: do not prefetch content
For textual attachments (like assets), the indexed content is the
content itself. Avoid prefetching this potential huge field.

When deleting attachments, only delete files once.
2016-02-17 16:44:41 +01:00
Christophe Simonis 01d5ddd993 [FIX] ir_qweb: handle duplicated preprocessed assets
Previous implementation was expecting exactly the same number of
attachments than the number of assets in a bundle. However it's
possible that duplicated assets are created due to concurrent first
generation.

This duplication cannot be avoid, but is cleaned upon next bundle
regeneration.

Joint work with @sle-odoo and @odony
2016-02-17 16:44:41 +01:00
Christophe Simonis d1a79ec704 [MERGE] forward port of branch saas-6 up to 9363372 2016-02-17 16:28:56 +01:00
Martin Trigaux d1c3c6518d [REF] point_of_sale: move files to appropriate folders 2016-02-17 16:28:27 +01:00
Christophe Simonis 9363372efe [MERGE] forward port of branch 8.0 up to 0f46e6a 2016-02-17 16:20:23 +01:00
Christophe Matthieu 41d3c9b165 [FIX] web_kanban_gauge: max_value can be null 2016-02-17 16:06:57 +01:00
Joren Van Onder 207f4df992 [FIX] point_of_sale: expose ClientListScreenWidget
Allow easy modification of ClientListScreenWidget by other modules. If
you get creative you can actually get to it without this, but it's not
clean and needlessly complicated.

opw-669686
2016-02-17 16:06:29 +01:00
Denis Ledoux afb8ae0b69 [FIX] product: pricelist item delete cascade on pricelist deletion
On deletion of a pricelist,
the pricelist items were not deleted.

Meaning, if you deleted a pricelist,
and this pricelist was used in the product pricing,
the line with the pricing remained, but without any
pricelist set. Besides, as the field is required
in the view, this prevented to edit anything without
correcting the pricing line first.

opw-669652
2016-02-17 16:00:38 +01:00
Richard Mathot 59ffd288b8 [FIX] website_sale_delivery: missing explicit dependency
1e936c9df4 assumes that website_sale_stock
is installed.

As website_sale_delivery depends on website_sale and delivery (that
depends on sale_stock), website_sale_stock should be auto-installed, but
not always BEFORE website_sale_delivery.
So we mark this dependency as explicit.
2016-02-17 15:57:28 +01:00
Xavier Morel a4ee8e5723 [IMP] base_import: use mimetype guessing
Rather than trust the user-controlled mimetype or extension of imported
files which may be incorrect (because the user is lying, because the
system is misconfigured, because software is not installed, because
software is registering non-standard mimetypes, etc...), start by trying
to guess the mimetype *then* fallback on trying the type/ext.

Of note: CSV is becoming less and less great as it's nigh impossible to
guess for it.
2016-02-17 15:45:11 +01:00