Commit Graph
97448 Commits
Author SHA1 Message Date
Jérome Maes a960eb9ff5 [IMP] rating : add generic star widget
- star widget and rating card to post and display rating
- Linked rating.rating to mail.message
- method to extract more statistics about the rating of an object.
2015-08-27 09:36:35 +02:00
Antony Lesuisse 97cc5b4dc5 [FIX] hr: more hr.config.settings removal
hr.config.settings was still inherited in python by hr_timesheet_sheet
2015-08-26 22:03:45 +02:00
Antony Lesuisse 2fbb0fe5d8 [REM] hr_evaluation: deprecated by hr_appraisal 2015-08-26 17:51:14 +02:00
Antony Lesuisse 37053a407c [REM] hr: unused and deprecated res.config 2015-08-26 17:49:07 +02:00
Raphael Collet 3ec52a3cfc [FIX] sale: unremove boring, old-fashioned onchange method on pricelist_id 2015-08-26 17:22:48 +02:00
Xavier Morel f5a1693f06 [ADD] base_import: support for XLS and ODS files
* added intermediate ``_read_file`` step dispatching between CSV, ODS
  and XLS(X) parsing
  - primary dispatch on mime type, secondary on file extension:
    + OS may not provide a relevant mime type if no software locally
      installed for the filetype (e.g. Windows sends excel files as
      application/octet-stream if excel is not installed, and ODS files as
      zip if OpenOffice/LibreOffice isn't installed)
    + applications may re-register extensions to non-standard mimetypes
      breaking the dispatcher

    So if the mimetype is found trust it, otherwise try with the
    filename's extension (if any)
  - all readers skip lines with only empty cells in their output
  - ODS and XLS content are "CSVified", rows are converted to arrays of
    unicode strings
* UI altered to not assume CSV files everywhere, and avoid returning
  garbage preview data for non-CSV imports

Various:
* added a ``can_import`` utility function to tests.common, can be used
  to skip tests if an optional Python dependency is not installed (but
  one would like tests to run if the dependency is available)
* fixed datetime issue in ir_fields
* added converter for monetary fields (iso float)
* spreadsheet don't have integers, twiddling required to ensure integral
  values won't be serialized as floats (breaking conversion back to
  Python)
* improved some tests by asserting no error is generated (bonus: logs
  the error message if there is one, rather than just saying the result
  is blown)
* because some systems only provide elderly versions of
  XLRD (e.g. current debian stable provides 0.9.2 from April 2013)
  - keep using xldate_as_tuple instead of 0.9.3's xldate_as_datetime,
    workaround is simple
  - check for xlrd.xlsx in case of pre-0.8 XLRD

Authorship:
Ronak Baxi <rba@odoo.com>
Mohammed Shekha <msh@openerp.com>

Task 10792
Closes #7285
2015-08-26 16:50:09 +02:00
qsm-odoo aa6ee3fddf [IMP] mail: design for template use in mail dialog 2015-08-26 16:41:56 +02:00
qsm-odoo 09d7250ab6 [IMP] web_tip: Convert CSS to LESS
This was needed so that the border radius of tips was set
correctly in both community and enterprise versions.
2015-08-26 16:41:56 +02:00
qsm-odoo 6d439ec6df [IMP] web: backport of utils.less file
Add mixins for transition, animation and text-overflow.
2015-08-26 16:41:56 +02:00
Martin Trigaux 40efdccc3d [IMP] tools: skip small html elements
Small one letter terms are ignored when pushing the translations.
If these are included inside xml tags (e.g. <strong>#1</strong>, the term should
also be ignored.
Strip xml eventual tags when checking the length of a term.
2015-08-26 16:11:51 +02:00
David Monjoie b322536aa6 [FIX] web_editor: fixed typos introduced by 88c0ce0
It seems this.BuildingBlock was changed to this.buildingBlock
by 8c559044a5. Care should be
taken when forward porting code using this.BuildingBlock.
2015-08-26 16:01:19 +02:00
David Monjoie a77f5cf42f [ADD] website_form: generic form controller
Contains a new ajax post function that comes from mdo's
original code and that I was not able to get rid of.
2015-08-26 16:01:19 +02:00
Jeremy Kersten 57c4787d09 [FIX] tests: use 127.0.0.1 instead of localhost
Cookies can't be set on 'localhost' using werkzeug set_cookie.
2015-08-26 16:01:18 +02:00
Christophe Matthieu 8eb8a982f9 [FIX] web_editor: clean_for_save all dirty options
Clean for save was only called on o_dirty nodes but o_dirty is added only on o_editable nodes.
Could use a simple jQuery selector '.o_dirty, .o_dirty *' but need to improve speed for user experience.
2015-08-26 16:01:18 +02:00
Darshan Kalola ea26a62712 [IMP]crm planner: general improvement in crm planner. 2015-08-26 15:19:44 +02:00
Divyesh Makwana 6e5db46626 [IMP] account: payment terms usability improvement 2015-08-26 15:08:48 +02:00
aso-odoo 43d1bc3fda [ADD]account: added new planner for account. 2015-08-26 15:06:29 +02:00
Simon Lejeune 5e3396d4c7 [FIX] crm: typos in planner data 2015-08-26 14:53:00 +02:00
Simon Lejeune 5c374313f6 [REF] planner: back again in a modal
fp's request
2015-08-26 14:53:00 +02:00
Martin Geubelle 1e4e1644a9 [FIX] web: add a default value for progressbar
Remove the value in the input leaded to a traceback.
2015-08-26 14:29:20 +02:00
qdp-odoo 66d97cb7e4 [REF] l10n_us: removing deprecated files as l10n_us is now an alias for the generic chart of account 2015-08-26 13:59:26 +02:00
Yannick Tivisse 98d8210042 [FIX] New res_partner in orderpoint_calendar.yml instead of res_patner_2
The res_partner squash has added several information to the res_partner_2
Now the is a purchase order for which he's the supplier. In that case, the
planned date on the purchase order line is influenced by the planned date
of the other purchase orders where this partner is the supplier.

Here we create a new res_partner for this test who has no purchase orders related
In that case, the planned date will always the date planned in the calendar at the
basis, which is 3.
2015-08-26 12:40:29 +02:00
Yannick Tivisse d2f0dba64c [REM] Remove unused image files 2015-08-25 19:27:24 +02:00
Yannick Tivisse 82acdbaa49 [FIX] Several fixed due to some of the demo data removal
NB : Some tests have been modified.
One assert statement in orderpoint_calendar.yml has been modified,
but the change is legit has no python method has been modified at all
2015-08-25 19:27:24 +02:00
Yannick Tivisse a42d45e1e3 [REM] point_of_sale : remove demo data 2015-08-25 19:27:24 +02:00
Yannick Tivisse c3a24af6a0 [REM] Remove res_partner_9, replace him by res_partner_12 2015-08-25 19:27:24 +02:00
Yannick Tivisse 53847c3d35 [REM] Remove res_partner_26, replace him by res_partner_1 2015-08-25 19:27:24 +02:00
Yannick Tivisse 1af24e71af [REM] Remove res_partner_25, replace him by res_partner_2 2015-08-25 19:27:23 +02:00
Yannick Tivisse 523cef6183 [REM] Remove res_partner_24, replace him by res_partner_10 2015-08-25 19:27:23 +02:00
Yannick Tivisse e35c166ea4 [REM] Remove res_partner_23, replace him by res_partner_12 2015-08-25 19:27:23 +02:00
Yannick Tivisse 0f3f8dec9b [REM] Remove res_partner_22, replace him by res_partner_1 2015-08-25 19:27:23 +02:00
Yannick Tivisse 1d75b68a2b [REM] Remove res_partner_21, replace him by res_partner_4 2015-08-25 19:27:23 +02:00
Yannick Tivisse dd12eb4fd8 [REM] Remove res_partner_20 2015-08-25 19:27:23 +02:00
Yannick Tivisse a0c82f9450 [REM] Remove res_partner_19, replace him by res_partner_2 2015-08-25 19:27:22 +02:00
Yannick Tivisse 706255eec1 [REM] Remove res_partner_17, replace him by res_partner_12 2015-08-25 19:27:22 +02:00
Yannick Tivisse bc80026f48 [REM] Remove res_partner_16, replace him by res_partner_1 2015-08-25 19:27:22 +02:00
Yannick Tivisse 2fa4e7c6a3 [REM] Remove res_partner_15, replace him by res_partner_3 2015-08-25 19:27:22 +02:00
Yannick Tivisse bdfc1a56b8 [REM] Remove res_partner_14, replace him by res_partner_4 2015-08-25 19:27:22 +02:00
Yannick Tivisse dfbc51135c [REM] Remove res_partner_13, replace him by res_partner_2 2015-08-25 19:27:21 +02:00
Yannick Tivisse f9dd6d70b9 [REM] Remove res_partner_11, replace him by res_partner_3 2015-08-25 19:27:21 +02:00
Yannick Tivisse 259f0c88bd [REM] Remove res_partner_8, replace him by res_partner_12 2015-08-25 19:27:21 +02:00
Yannick Tivisse 9c71ef9e90 [REM] Remove res_partner_7, replace him by res_partner_4 2015-08-25 19:27:21 +02:00
Yannick Tivisse 8b4a3e9ca4 [REM] Remove res_partner_6, replace him by res_partner_1 2015-08-25 19:27:21 +02:00
Yannick Tivisse ed97a70b10 [REM] Remove res_partner_5, replace him by res_partner_3 2015-08-25 19:27:21 +02:00
Thibault Delavallée 681adaba4f [FIX] hr, hr_*: form view clean / fix
HR settings tab of the employee form view was quite ugly. The inherits were causing
a strange layout. It is now fixed. Some items have been relocalized to ease
the readability of the form view.
2015-08-25 17:42:24 +02:00
Thibault Delavallée 87a270b9ec [FIX] hr_recruitment: method on wrong record
broadcast_welcome method was defined on hr.applicant, but called on hr.employee
records.
2015-08-25 17:30:36 +02:00
Thibault Delavallée f86ff40aff [REM] hr_recruitment: new applicant message
Currently each new applicant creates a message on the job. This creates
a lot of noise. The 'New application from ..' messages is therefore
removed. The related subtype is also removed because not used
anymore.
2015-08-25 17:21:27 +02:00
Thibault Delavallée cbb21421a3 [CLEAN] mail, hr_recruitment: unused imports 2015-08-25 17:17:30 +02:00
Thibault Delavallée 0e09cb02b4 [FIX] base action rule: unlink call / variable 2015-08-25 17:14:05 +02:00
Martin Geubelle 77117d2dda Revert "[IMP] project: remove displayed_image_id on project"
This reverts commit 00adbd36ff.
2015-08-25 15:54:17 +02:00