Commit Graph
97488 Commits
Author SHA1 Message Date
Nicolas Martinelli e021a08b30 [IMP] hr*: adaptation due to the new Sale module
Major changes:
- No use of UoS anymore
- No journal since invoicing is managed in Sale
- No invoicing from timesheet

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
2015-08-27 18:10:18 +02:00
Nicolas Martinelli 868e7c6a6e [IMP] event_sale: adaptation due to the new Sale module
Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
2015-08-27 18:10:18 +02:00
Nicolas Martinelli 2188733338 [IMP] delivery: adaptation due to the new Sale module
Major changes:
- No use of UoS anymore
- No invoice policy anymore

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
2015-08-27 18:10:18 +02:00
Nicolas Martinelli 0dfb1a0695 [DEL] analytic_user_function: deprecated module
Reason: complete rewrite of the Sale module. Analytic has been simplified.

Responsible: fp, dbo, nim
2015-08-27 18:10:18 +02:00
Nicolas Martinelli eb495d764d [DEL] analytic_contract_hr_expense: deprecated module
Reason: complete rewrite of the Sale module. Invoicing is now managed
completely from the Sale module.

Responsible: fp, dbo, nim
2015-08-27 18:10:18 +02:00
Nicolas Martinelli 1dbccc8215 [IMP] analytic: adaptation due to the new Sale module
Major changes:
- Remove reports
- Simplify models

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
2015-08-27 18:10:18 +02:00
Nicolas Martinelli cd51c03fe6 [IMP] account_voucher: adaptation due to the new Sale module
Major changes:
- No use of UoS anymore
- No analytic account journal on account journal

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
2015-08-27 18:10:18 +02:00
Nicolas Martinelli 233142b7cb [DEL] account_analytic_plans: deprecated module
Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
2015-08-27 18:10:18 +02:00
Nicolas Martinelli 5cb2943cca [IMP] account*: adaptation due to the new Sale module
Major changes:
- No use of UoS anymore
- No analytic journal (journal_id) on account move lines

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
2015-08-27 18:10:18 +02:00
Nicolas Martinelli 0320523a8e [DEL] stock_invoice_directly: deprecated module
Reason: complete rewrite of the Sale module. Invoicing is now managed
completely from the Sale module.
2015-08-27 18:10:18 +02:00
Nicolas Martinelli 758cca3899 [DEL] Remove deprecated translations
Reason: complete rewrite of the Sale module
2015-08-27 18:10:17 +02:00
Joren Van Onder dbb77c5f50 [FIX] point_of_sale: take quantity into account when calculating taxes
Fixes a bug introduced in 5a8a0d252c.
Before this, creating an order with two of the same products would
result in a total price to pay which would only include the tax of one
product. This would cause point of sale orders in the backend which
weren't fully paid.
2015-08-27 17:11:07 +02:00
Thibault Delavallée 65dbf8f117 [IMP] crm, hr, project, sales_team: mail-related fixes
- hr, project, sales_team: no subscribe on create

For header records like sales steam, project, jobs and department, do not
subscribe the creator. Indeed those objects allow to automatically follow
child records (opportunities, tasks, issues, applicants). However those
records are often created by IT / technical / administrators that should
not be followers of all child records. Therefore the no subscribe key
is added in context.

- crm: new lead subtype

The 'new' stage is based on the sequence only, not the probability. Indeed
a new lead does not have a probability of 0; otherwise it is already lost.
2015-08-27 17:07:02 +02:00
Thibault Delavallée e755791af8 [FIX] mail: various fixes
- mail_message: fixed internal subtypes

Indeed has_group works only for uid and does not care for any given recordset.
Probably we need a is_in_group method on res.users. Someone smart could code it.

- mail_message: update message before notify

This way in the various notify methods, the message is correclty updated with
needaction and recipients. Also cleaned some comments.

- mail_message: avoid email loops

Do not notify people having the same email as the message / email to propagate.

- mail_message: fix access right issues

When computing recipients and partners to email, use a sudo for some internal
computation to avoid access rights issues. Indeed public user may go through
this method (forum for example).
2015-08-27 17:07:02 +02:00
Thibault Delavallée 09c40cfae8 [FIX] project: task stage access right issue
Employees (base.group_user) can read tasks. However they miss the right to read
task stages (project.task.type). This causes issues when reading the form view
of a task. This commit fixes this issue.
2015-08-27 17:07:02 +02:00
Gaurav Panchal 95cb54b80b [ADD] web: add dynamic widget to toggle boolean button 2015-08-27 16:59:47 +02:00
Gaurav Panchal 40cbf2bea1 [IMP] auth_signup: cleanup of user state (never connected/connected) 2015-08-27 16:45:18 +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
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
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