Commit Graph
97460 Commits
Author SHA1 Message Date
Simon Lejeune fd01656fb8 Revert "[IMP] Add location_processed in pack operation"
This reverts commit 38ec22ecc9.
2015-08-27 14:36:56 +02:00
Josse Colpaert 38ec22ecc9 [IMP] Add location_processed in pack operation 2015-08-27 14:04:36 +02:00
Arthur Maniet 51c57c7357 [REF] stock: in picking form, remove useless picking_id from X2M 2015-08-27 14:04:36 +02:00
Arthur Maniet ede1071a09 [ADD] product: constraint unique(barcode) 2015-08-27 14:04:36 +02:00
Olivier Dony c889b51f68 [FIX] ir.model.access: leftover renaming of osv_memory field
At 5c0bfaafd1 the osv_memory field
was converted from function field to plain stored boolean field.
Fixes a leftover rename in a domain.
2015-08-27 13:58:04 +02:00
Darshan Kalola 7afe1b0a03 [ADD]stock: added new planner for inventory. 2015-08-27 11:37:07 +02:00
qdp-odoo 16c1ed53e5 [FIX] membership: accounting dependant tests should extend the class AccountingTestCase so that it will be run 'post install' and return True if no chart of account is installed 2015-08-27 10:47:17 +02:00
Ravi Gohil 377a6ecab0 [IMP] account: fiscal positions depending on states and/or zip codes 2015-08-27 10:46:39 +02:00
pvy ebdfab20d2 [IMP] account: ported account.financial.report to v8 api and removed the _get_balance() method (will be integrated in the abstract report model) 2015-08-27 10:16:27 +02:00
Christophe Simonis d61bb94c0f [IMP] base: improved import language wizard
- more user-friendly error
- proper file format check
2015-08-27 10:01:00 +02:00
Jérome Maes b11f1ba70d [IMP] website_sale : add rating into ecommerce
When posting a comment, the user can rate the product using rating star widget. The rating card is display on the product page with average and repartition.
Add a related field 'website_published' on rating in website_sale for performance issue.

Part of this commit could be moved in 'website_rating', if the feature is required in other modules. Since it is only used in ecommerce, the code belong to website_sale.
2015-08-27 09:36:35 +02:00
Jérome Maes 9cc25d1c38 [IMP] website_mail : widgetize the Frontend Chatter. Prepare to include rating feature with posting mail.message 2015-08-27 09:36:35 +02:00
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