Commit Graph
99161 Commits
Author SHA1 Message Date
Nicolas Martinelli de423ba138 [IMP] sale_service: adaptation due to the new Sale module
Major changes:
- Link with account analytic lines

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
2015-08-27 19:21:36 +02:00
Nicolas Martinelli 4258fc4c71 [IMP] sale_order_dates: adaptation due to the new Sale module
Major changes:
- Recalculate date planned

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
2015-08-27 19:21:36 +02:00
Nicolas Martinelli 54a22b4f20 [IMP] sale_mrp: adaptation due to the new Sale module
Major changes:
- No use of UoS anymore
- Manage delivery of kits

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nimproduct_id_change_margin
2015-08-27 19:21:36 +02:00
Nicolas Martinelli b18e78ef1c [IMP] sale_margin: adaptation due to the new Sale module
Major changes:
- No use of UoS anymore
- Rewrite product_id_change_margin

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
2015-08-27 19:21:36 +02:00
Nicolas Martinelli de130ae44c [IMP] sale_layout: adaptation due to the new Sale module
Major changes:
- No use of UoS anymore

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
2015-08-27 19:21:36 +02:00
Nicolas Martinelli 2b0eb7e7b5 [DEL] sale_journal: deprecated module
Reason: complete rewrite of the Sale module. Invoicing is now managed through
Sale.

Responsible: fp, dbo, nim
2015-08-27 19:21:35 +02:00
Nicolas Martinelli 60723d1047 [ADD] sale_expense: adaptation due to the new Sale module
Links expenses and sale modules.

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
2015-08-27 19:21:35 +02:00
Nicolas Martinelli b19f4ae00c [DEL] sale_contract: move to Enterprise 2015-08-27 19:21:35 +02:00
Nicolas Martinelli b468ebc6b7 [DEL] sale_analytic_plans: deprecated module
Reason: complete rewrite of the Sale module. Invoicing is now managed through
Sale.

Responsible: fp, dbo, nim
2015-08-27 19:21:35 +02:00
Nicolas Martinelli 94716a3f14 [IMP] sale: adaptation due to the new Sale module
Invoicing is now completely handled from the SO.
cf. documentation

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
2015-08-27 19:19:36 +02:00
Christophe Simonis 6d85a9a4b9 [MERGE] forward port of branch 8.0 up to d744923 2015-08-27 18:30:46 +02:00
Nicolas Martinelli 67ec9694d9 [IMP] report_intrastat: adaptation due to the new Sale module
Major changes:
- No use of UoS anymore

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
2015-08-27 18:15:24 +02:00
Nicolas Martinelli 7c9c0f1732 [DEL] purchase_analytic_plans: deprecated module
Reason: complete rewrite of the Sale module. Invoicing is now managed through
Sale.

Responsible: fp, dbo, nim
2015-08-27 18:15:24 +02:00
Nicolas Martinelli 699f95a8c7 [IMP] purchase: adaptation due to the new Sale module
Major changes:
- No use of UoS anymore

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
2015-08-27 18:15:24 +02:00
Nicolas Martinelli 908f416573 [IMP] project*: adaptation due to the new Sale module
Major changes:
- New start and expiration dates
- Remove field Contract Status
- Simplified because use of sale_timesheet

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
2015-08-27 18:15:24 +02:00
Jeremy Kersten 436daf0c4f [FIX] tools: lxml.etree.XMLSyntaxError if html is empty
Don't try to parse html as xml if html is empty
2015-08-27 18:13:11 +02:00
Nicolas Martinelli 6e38729449 [ADD] product_uos: adaptation due to the new Sale module
New module to centralize UoS management.

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
2015-08-27 18:10:19 +02:00
Nicolas Martinelli d152106b1b [IMP] product*: adaptation due to the new Sale module
Major changes:
- No use of UoS anymore
- Partial migration to new api

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
2015-08-27 18:10:19 +02:00
Nicolas Martinelli 39351ce205 [IMP] procurement*: adaptation due to the new Sale module
Major changes:
- No use of UoS anymore

Reason: complete rewrite of the Sale module.

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

Reason: complete rewrite of the Sale module.

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

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
2015-08-27 18:10:19 +02:00
Nicolas Martinelli 3d9e2a6cb7 [IMP] mrp*: adaptation due to the new Sale module
Major changes:
- No use of UoS anymore

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
2015-08-27 18:10:19 +02:00
Nicolas Martinelli 6c7c81bd07 [IMP] l10n*: adaptation due to the new Sale module
Major changes:
- No use of UoS anymore
- No use of Journal Name

Reason: complete rewrite of the Sale module.

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

Reason: complete rewrite of the Sale module.

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

Responsible: fp, dbo, nim
2015-08-27 18:10:18 +02:00
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
Christophe Matthieu 46de6789c6 [FIX] website: computeFonts when mediaEditor is called 2015-08-27 18:09:39 +02:00
Christophe Matthieu 877f38e2be [FIX] website: history buttons "undo", "redo" for embedded editor
* use summernote base history when not editing the website,
* fix the history buttons "undo", "redo" for embedded editor,
2015-08-27 18:09:39 +02:00
Christophe Matthieu a1194b2bb8 [FIX] website: use and improve ctrl-z/v in forum
* fix erroneous paste edge case,
* improve selection and pasting
* delete and backspace with hr

opw-646222
2015-08-27 18:09:39 +02:00
Christophe Simonis d744923b63 [MERGE] forward port of branch saas-3 up to 1783a7d 2015-08-27 18:01:52 +02:00
Christophe Simonis 1783a7d005 [MERGE] forward port of branch 7.0 up to 411a07a 2015-08-27 18:01:14 +02:00
Colin Newell 84857a3f4f [FIX] currency: simple quote in currency symbols
Escape the currency symbol to prevent javascript errors,
for instance when reconciling a bank statement
(with the special reconciliation widget)

Closes #8216
2015-08-27 17:45:59 +02:00
Pedro M. Baeza 617ef49959 [IMP] purchase: Hook for the base price of a purchase line
To be able to change the logic without copying large chunk of code
Closes #1468
2015-08-27 17:42:20 +02:00
Pedro M. Baeza cbe85f42d0 [IMP] sale: hooks for the base price and the quantity
To make it easier to override without rewritting the full method
Closes #1470
2015-08-27 17:42:20 +02:00
Nicolas Lempereur 8c77c711ee [FIX] website: escaping saved html content
Escape text nodes changed via the web editor before sending the content
it to the server controller.

It is done since the content is unescaped one time when being displayed,
and it is not done for inline style and script tags (which may be
injected by dropping a snippet) since that would break them.

replacing the solution in cdb900044.
2015-08-27 17:27:39 +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