Commit Graph
103722 Commits
Author SHA1 Message Date
Jérome Maes f5afa1e2f7 [REF] crm : rename method in base_merge_partner wizard for better understanding 2016-07-04 17:28:05 +02:00
Jérome Maes 1b2ba5707d [IMP] crm : remove try/except from computed fields
Rather adding a group on the view to avoid Access
Error, than adding a try/except catching the
exception for opportunities and mettings count on
partner form view
2016-07-04 17:28:05 +02:00
Jérome Maes 58bd6a848f [IMP] crm : change return values of merge_opportunity method
Since new API works with record, convert the return values from ids
into recordset.
2016-07-04 17:28:05 +02:00
Jérome Maes 1414b3e56e [REF] crm : some code improvements
- remove backward compatibility method `case_mark_won` and `case_mark_lost`
- change signature of `find_stage` method, by setting team_id optional, since
we can get if from `self.team_id`
- remove unused methods in crm_lead.py
- remove unsed code in base_merge_partner.py
- remove unused method in res_partner.py
2016-07-04 17:28:05 +02:00
Jérome Maes f3c1eceae7 [MIG] crm : convert yml tests into testcase python
Convert from yml file into python test cases. Tests are group
according to the scope (crm.lead operation, messaging, business,  ...)
2016-07-04 17:28:04 +02:00
Ravi Gohil aa44700dcc [MIG] crm : migration to new API
Also adapt code in crm_partner_assign according to migration of crm.lead
2016-07-04 17:28:04 +02:00
Jérome Maes 768486634a [MOV] crm : regroup views/action/menus definition
- regroup view definitions per models (almost 1 file per big model)
- remove isolated crm_report.xml
- moved content of crm/crm_lead_menu.xml to crm/views/crm_lead_views.xml
- moved content of crm/sales_team_dashboard.xml to crm/views/crm_team_views.xml
2016-07-04 17:28:04 +02:00
Jérome Maes 01886c9990 [FIX] crm, website_crm_partner_assign : fix dependencies due to moved files 2016-07-04 17:28:04 +02:00
Jérome Maes 5dae5e602e [FIX] crm : base_merge_partner undeclared variable 2016-07-04 17:28:04 +02:00
Jérome Maes fa7fdc525a [MOV] crm : reoganize module directory and files 2016-07-04 17:28:03 +02:00
pvy 33161884ee [IMP] account reports: improved _get_partner_move_lines() used in aged partner balance report to add the unfolding feature.
The method now also sends back the lines used, their right amount and the period they should be in.
2016-07-04 17:27:42 +02:00
qsm-odoo b1c922d2d1 [MERGE] web_editor,website(_*): new website builder features
Among others:

* Add welcome message on the website homepage
* Add snippet parent options in the option dropdown of the current snippet
* Add/remove/refactore website snippets
* Refactoring/bug fixing of parts of web_editor code
* New frontend onboarding tours
2016-07-04 17:24:18 +02:00
qsm-odoo cd16749564 [IMP] website(_*): adaptation of tours to new system
+ Adapt website welcome message

(Note: temporary duplicate tour: use old version for tests and new
version for onboarding)
2016-07-04 17:24:00 +02:00
qsm-odoo 36f31306e5 [IMP] website(_*): adapt tours
Adapt tours according to website/web_editor DOM changes.
2016-07-04 17:24:00 +02:00
Fabien Pinckaers 3ff7f12bb7 [IMP] website: improving rename dialog 2016-07-04 17:24:00 +02:00
qsm-odoo 821d2edf04 [IMP] website,web_editor: snippet option li icons
+ Some content changes
2016-07-04 17:24:00 +02:00
qsm-odoo c12f2cd5cc [REF] web_editor,website(_*): snippets
Refactor snippet structure
* new "cover" snippet
* move the title out of col-md-12
* delete snippets (s_quote_slider)
* rename snippets (FAQ Roller -> Accordion)
* ...

Refactor the way the background images are handled so that themes
can customize the defaults ones easily without ugly xpath or ugly
css.
2016-07-04 17:24:00 +02:00
qsm-odoo b309f3ab54 [IMP] web_editor,website: snippet options (parent & deletion)
* Always allow to delete a part (and delete parent if empty)
* Show parent options (by displaying the snippet name if any,
"column" for col-* and "Block" otherwise)
* ...
2016-07-04 17:23:59 +02:00
qsm-odoo 05d064f855 [IMP] website,web_editor: review style / content
* Mobile preview dialog
* Add page dialog (allow to click anywhere to close the modal)
* Change label for "auto resize" and "resize" options to "auto size"
and "fixed size" and add a checkmark to the currently active one
* Overlay border / Options dialog content
* Hide the odoo navbar after a delay when the editor starts
2016-07-04 17:23:59 +02:00
qsm-odoo 906875fc78 [IMP] web_editor: user text copy/paste
Users copy/past text from various king of document into the editor.
These texts contain useless line breaks that should be removed before
pasting. Also, the editor currently add a paragraph element between
each line.

To correct this behaviour the onPaste callback of the summernote lib
is used. However for some reason, this is triggered after the text
is pasted (we should update and refactor the lib in a better way).
So this commit uses a hack: undo the past thanks to the undo command
then paste the formatted text we want.
2016-07-04 17:23:59 +02:00
qsm-odoo 62fb1bb924 [REF] web_editor: code refactoring and simplification
* Remove dead code + optimization
* Use Dialog API from web module
* Reorganize files
* Correct buggy $() function for snippet option class
* Add comments

* Fix the snippet parent navigation :

If a page contained a three level snippet structure (i.e A contains
B contains C), when editing the following bug occured :

If B or C was selected first, parenting buttons were correctly set.
But if selecting A then C, clicking on the parent lead to going back
on A instead of going on B.

* Fix snippet thumbnail layout
* Better isolate ui css from themes
* MediaDialog image list : prevent displaying empty attachments
* ...
2016-07-04 17:23:59 +02:00
qsm-odoo c1ab17337b [IMP] website: top bar menus promote & help
* Move promote at the end
* Show help only in debug mode
2016-07-04 17:23:59 +02:00
qsm-odoo 8d012afb71 [IMP] website: homepage welcome message when empty 2016-07-04 17:23:59 +02:00
Martin Trigaux af25dfd278 [IMP] stock_account: less ambiguous name
In stock_account, move may refer as accounting or stock move.
Fixes Transifex issue.
2016-07-04 17:21:02 +02:00
Denis Vermylen (dve) 0ea478652a [FIX] hr: employee data and demo data
addendum to commit da6b9d1be443999028f021ff81b4cf128a4eaaa2
- better employee name and image for default employee in data (xml-id: hr.employee_root)
- in demo data hr.employee_fp renamed to hr.employee_root to not have 2 employees linked to the root user
- renamed all occurences of employee_fp to employee_root
2016-07-04 17:19:23 +02:00
qsm-odoo 91a2881ca1 [FIX] web_tour: tours for mobile mode
Before this commit, tours were disabled for mobile mode by returning
an undefined value in the web_tour.tour JS module. This made the use
of "tour.register" or "tour.run" crash, thus making the runbot go red
if this happened while phamtomJS was running.
As it happened, some of the frontend tours goes by "preview the site
on mobile mode" which then trigger this JS crash.

This commit makes the web_tour.tour module return a fake tour object
with a register method which does nothing and a run method which
warns the user that tours cannot be launched in mobile mode.
2016-07-04 16:40:27 +02:00
Thibault Delavallée 53fe7e9fa6 [TESTS] mrp and various: updating tests 2016-07-04 16:22:37 +02:00
Josse Colpaert 2ddc35a530 [REF][NEWPIE] mrp: new MRP
This commit contains the core of the new MRP. It contains a whole refactoring
of the MRP application, with improved and new features, written in new API.
Among other here are the main manufacturing workflow improvements :

 - Picking type not only for pickings but also for manufacturing orders
 - Properties replaced by picking type
 - BoM can only be produced with its routing (no other)
 - Either produce without routing with only production orders, or produce with
   routing
 - By default, there is an order in the work orders (serially), but you can
   override it to be able to work in parallel
 - Time clocking on work orders and block time on work centers with reporting
   on OEE, performance, losses, ...
 - Real-time adaptation of timings on operations
 - Lots/serial numbers can be inputted like in the pickings on manufacturing
   orders.  It is also possible to input them in the work orders.
 - Material availability independent of production order state (possibility to
   start production when only part of it is there)
 - Work sheets on work orders
 - Put messages on work orders to make your workers pay attention to something
 - Full traceability link to see for each produced piece of stock, the
   consumed pieces, ...
 - Separate scrap object (a scrap is not done based on an original move
   anymore)
 - Separate unbuild system (if you want to unbuild into its original
   components)

Thanks to all people that helped during this development, notably but not
limited to Chirag A Dodiya (cod@odoo.com), Gaurav Panchal (gan@odoo.com),
Jignesh Rathod (jir@odoo.com), Mansi Trivedi (mtr@odoo.com), Pariket Trivedi
(ptr@odoo.com).
2016-07-04 16:22:37 +02:00
Josse Colpaert 55a140e666 [REF] product_extended: simplify price computation
Use bom to compute product price. Remove the unnecessary wizard to simplify
the flow.
2016-07-04 16:22:37 +02:00
Josse Colpaert 6182b45fb8 [REM] mrp_operations
This module will be integrated into the new MRP.
2016-07-04 16:22:37 +02:00
Josse Colpart 9a20c6556f [REF] (hr_)maintenance
- rename models from hr.equipment.something to maintenance.something
 - add concept of maintenance team and dashboard
 - remove generic alias for maintenance
2016-07-04 16:22:37 +02:00
Thibault Delavallée e7ef6e069c [ADD][SPLIT] maintenance: hr part
maintenance is not dependant on hr anymore. A new module hr_maintenance is
added that adds hr-related fields (employee owner, ...). This way maintenance
is a stand alone application.
2016-07-04 16:22:37 +02:00
Thibault Delavallée 12a35ec1a9 [MOV] hr_equipment to maintenance
hr_equipment module is renamed to maintenance. No change is performed to the
module itself. It prepares further changes, mainly splitting maintenance from
hr_maintenance.
2016-07-04 16:22:37 +02:00
Thibault Delavallée 71aee8e166 [TESTS] procurement: yml yo new API unit tests 2016-07-04 16:22:36 +02:00
mtr-odoo e924881f7c [MIGR] procurement 2016-07-04 16:22:36 +02:00
mtr-odoo c458756f0a [MOV] procurement: move and split 2016-07-04 16:22:36 +02:00
Thibault Delavallée aca18782a3 [TESTS] mrp_repair: yml to new API unit tests 2016-07-04 16:22:36 +02:00
Mitali Patel 653d63153e [MIGR] mrp_repair 2016-07-04 16:22:36 +02:00
Mitali Patel c3f23afb61 [MOV] mrp_repair: move and split 2016-07-04 16:22:36 +02:00
Thibault Delavallée 1027754d70 [TESTS] mrp_byproduct: yml to new API unit tests 2016-07-04 16:22:36 +02:00
Mitali Patel 0ea69f1afc [MIGR] mrp_byproduct: new API 2016-07-04 16:22:36 +02:00
Mitali Patel 58ee9b99c3 [MOV] mr_byproduct: move and split 2016-07-04 16:22:36 +02:00
Thibault Delavallée ab9335fa92 [TESTS] mrp: yml to new API unit tests 2016-07-04 16:22:35 +02:00
Dhaval Panchal 30850f99f8 [MIGR] mrp: new API except mrp_production
MRP module is migrated to the new API. It excludes mrp models that will change
quit a lot during the new MRP conversion. Actually most of the code is not
migrated, but at least side models and their methods are already migrated.
This should lessen the diff when writing the new MRP.
2016-07-04 16:22:35 +02:00
Dhaval Panchal c8a39e734f [MOV] mrp: move and split
Split files and move them according to the new API guidelines. Containing

 - mrp splitted into its main models and files
 - stock code moved into its own models and files
 - various renaming
2016-07-04 16:22:35 +02:00
Josse Colpaert ba7274dc01 [IMP] resource, misc: time_efficiency on 100 scale 2016-07-04 16:22:35 +02:00
Josse Colpaert abf967b9ad [IMP] product: name_get for product
Product use code instead of template default_code in the name_get. Incredible.
2016-07-04 16:22:35 +02:00
Thibault Delavallée d80d6f3960 [FIX] sale: sale_warn default value 2016-07-04 16:22:35 +02:00
Thibault Delavallée 91371c6dbe [IMP] stock: warehouses configuration
See it in multi warehouse or in technical group, to be able to configure it
even in mono warehouse mode.
2016-07-04 16:22:35 +02:00
Jeremy Kersten 68b95fb264 [FIX] website_sale_delivery: Adapt website_sale_delivery module to the new checkout 2016-07-04 15:48:15 +02:00