Commit Graph
99161 Commits
Author SHA1 Message Date
Gaurav Panchal 40cbf2bea1 [IMP] auth_signup: cleanup of user state (never connected/connected) 2015-08-27 16:45:18 +02:00
Goffin Simon 96be5b404a [FIX] gamification: Refresh Challenge
When clicking on the button "Refresh Challenge" in the "gamification.challenge"
view form, all the "gamification.goal" records linked to this challenge must
be updated.

opw:647983
2015-08-27 16:41:52 +02:00
Martin Geubelle ec0515750c [IMP] sales_team: invoiced are now a computed field
In sales_team, we had 2 fields for invoicing : invoiced_target and invoiced_forecast.
As forecast is useless because someone has to set it manually, we did something different.
The field invoiced_forecast is now invoiced and is computed according to the invoices
associated to the sales team. We can now only set the target.
2015-08-27 16:12:49 +02:00
Martin Trigaux d13b5e59d9 [I18N] all: reexport terms
To benefit from recent changes to minimise the number of exported terms
2015-08-27 16:11:03 +02:00
Martin Trigaux 263673fd43 [FIX] account: account tag untranslatable
Makes no sense as it's technical information
2015-08-27 15:49:38 +02:00
Denis Ledoux ed214a6681 [FIX] website, website_sale: alternative for images
Images should have an alternative
(the "alt" attribute") in order
to be W3C compliant (accessibility).

opw-648135
2015-08-27 15:46:14 +02:00
Martin Trigaux afc9dd61ca [I18N] update Transifex list of modules
Add new website_form module
Spoiler on salepocalypse merge...
2015-08-27 15:25:58 +02:00
Martin Trigaux f12ac47b80 [FIX] account: untranslatable tax name
A tax is not translatable in standard. The translation of tax name is added in
l10n_multilang module but should not be present in base account.
2015-08-27 15:19:04 +02:00
Aaron Bohy 58876e8fef [FIX] web_kanban: records should be 'width: 100%' in mobile
defining directly 'width: 100%' didn't override the o-flex rule defined outside
the media query.
2015-08-28 15:14:12 +02:00
Arthur Maniet ef2890b570 [ADD] stock: name attribute to a view element for extensibility
related to https://github.com/odoo-dev/enterprise-9/commit/9d1327be4940a47769237746bd83a38787fca8ae
2015-08-27 15:05:37 +02:00
Ravi Patel 5c4dfeb190 [IMP] mrp: Removed name field and renamed string of code field in mrp.bom. 2015-08-27 15:03:47 +02:00
pvy 11c12b56b6 [FIX] l10n_it is back, compliant with the new accounting 2015-08-27 15:03:02 +02:00
Christophe Matthieu 0592305126 [REF] web: data.js: refactoring of BufferedDataSet (less code and speed up) 2015-08-27 15:01:09 +02:00
Christophe Matthieu a102a9f3fc [IMP] web: add a test to check the one2many create form and onchange 2015-08-27 15:01:09 +02:00
Denis Ledoux 399cbc7522 [FIX] account: due payments report, missing line returns
The lines breaks in the overdue payments message
(Settings > Companies > ... > Overdue payments)
were not respected.

opw-648133
2015-08-27 14:53:14 +02:00
Simon Lejeune fd01656fb8 Revert "[IMP] Add location_processed in pack operation"
This reverts commit 38ec22ecc9.
2015-08-27 14:36:56 +02:00
Denis Ledoux 13010ed992 [FIX] purchase: timezone aware dates in PO emails
This rev. is related to b3e6065385a7ba5f914c258cd746b028d92801d

opw-647775
2015-08-27 14:34:58 +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
Nicolas Lempereur 411a07a64e [FIX] web: enable default_focus on html field
closes #8244
opw-647578
2015-08-27 13:20:41 +02:00
Goffin Simon 5a224497a9 [FIX] account: proposed invoices
In bank statement reconciliation, when selecting an other partner(with the pencil),
the possible invoices to reconcile must be suggested.

opw:647210, 647885
2015-08-27 13:16:54 +02:00
Nicolas Lempereur e2930e19a0 [FIX] web: glitch with scroll and list editable
On a first edition of a view list editable, scrolling before the first
edition might cause an issue: the editing fields are higher than they
should.

This commit solves this.

This issue stems from jQuery .offset({value}) function which is broken
if the element we want to position:

- is in absolute postionning,
- is inside a scrolled element in non static positionning,
- has not both top and left css property setted,
- has no ancestor element between itself and the scrolled not in static
  positionning.

This issue happens less (and probably not at all) in saas-6 since the
last condition is most often not met thanks to this change:
 https://github.com/odoo/odoo/commit/1ccd87a#diff-27c072074221456684bfc5f150ca0bc9R876

This issue of jquery is solved since jquery 3.0.0-alpha1:
 https://github.com/jquery/jquery/commit/2d71594

( the issue is shown in https://jsfiddle.net/wpjrnggf/ and we can see it
is solved with jQuery 3.0.0-alpha1 https://jsfiddle.net/L6ykpjgy/ )

closes #8251
opw-647622
2015-08-27 13:17:00 +02:00
Nicolas Lempereur 0c4905738e [IMP] web_kanban: enable widget float_time
Enable widget float time in web_kanban which format a float as
hours:minutes (the unit of the float being an hour).

closes #8255
opw-648068
2015-08-27 13:17:00 +02:00
Denis Ledoux 0f03699956 [FIX] auth_signup: login & name readonly if signup with token
In the case of a signup with token, the user login
already exists, and changing of login (email) is
therefore not allowed.

It's the same behavior than in the reset password
view (`auth_signup.reset_password`)

opw-648125
2015-08-27 12:22:21 +02:00
Denis Ledoux 136bd72379 [FIX] sale: in a SO line, changing uom qty must change uos qty
This is a oversight of the forward port
af07b2a075
from 8.0

The revision in 8.0 is
9a9720ac14

Not updating the product uos qty on updating the uom qty
is wrong, and it has multiple side-effect.

The SO line margin not being correctly recomputed
when changing the quantity is one of them.

opw-647810
2015-08-27 11:53:28 +02:00
Darshan Kalola 7afe1b0a03 [ADD]stock: added new planner for inventory. 2015-08-27 11:37:07 +02:00
Pedro M. Baeza 675d09c005 [FIX] fields_view_get super arguments
The context argument needs to be passed as positional argument to avoid issues
when surcharging fields_view_get

Closes #7933
2015-08-27 11:07:11 +02:00
Pedro M. Baeza 6b98819948 [FIX] membership: Don't overwrite invoice lines for membership invoice
The invoice line is already linked to the invoice
as it has the invoice_id field filled in the
invoice line create method just above.

Closes #7971
2015-08-27 10:49:35 +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
Jeremy Kersten 3d496addf5 [IMP] theme_default: add an icon for description in module list 2015-08-26 17:35:50 +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