Commit Graph
102963 Commits
Author SHA1 Message Date
Géry Debongnie 8ccff7dba8 [IMP] web: remove rpc call to get module list
It is already in the web client page source (or more precisely, in the
assets_backent bundle)
2016-05-30 09:23:08 +02:00
Géry Debongnie fdb250942f [IMP] web: move currency rpc to session_info 2016-05-30 09:23:08 +02:00
Géry Debongnie 9c68bc7482 [REF] point_of_sale,web(site): move session info into page source
This commit introduces a mechanism to add information into the session
from a different module, without having to fetch it manually with a rpc.
This is intended to be used with small pieces of info required at the
start of the web client, such as currency informations.

To add information to the session, one can simply inherit from ir.http
and modify the session_info method.
2016-05-30 09:23:07 +02:00
Géry Debongnie 2a8a17024d [IMP] web: start session service as soon as possible 2016-05-30 09:22:38 +02:00
Vipul Bhatt 3cc6468d55 [IMP] point_of_sale: remove the User's Product report
This particular report was broken for a long time. Instead of fixing it
it was removed because the use case for it is unclear and noone seems to
actually be using it anyway.
2016-05-28 15:22:20 +02:00
Vipul Bhatt f619e5682c [FIX] point_of_sale: remove pos_receipt python code
Oversight of 0650047fd5.
2016-05-28 15:22:20 +02:00
Vipul Bhatt bc0c3579be [IMP] point_of_sale: remove custom account_statement report model
There's no point to it, as we can easily do what we need directly in the
report.
2016-05-28 15:22:20 +02:00
Joren Van Onder 5d9f034b44 [IMP] pos_restaurant: remove pos_order_ids from restaurant.table
Wasn't used anywhere, nor are there any plans for it being used in the
near future.
2016-05-28 12:59:25 +02:00
Joren Van Onder 46d1c229ba [IMP] pos_restaurant: remove background_image from restaurant.floor
Continuation of 267097255e.
2016-05-28 12:55:30 +02:00
Damien Bouvy a3a4660b70 [IMP] sale_timesheet: ondelete has no effect on company-dependent fields 2016-05-27 17:34:12 +02:00
Damien Bouvy 678ea1ebea [IMP] sale_timesheet: project on product template is company_dependent
When using sale_timesheet to create tasks in specific project for certain
products, you should be able to set this setting by company.

Indeed, standard ir_rules prevent you from seeing projects from other
companies; therefore it makes little sense to have this field set to
the same value for all companies.
2016-05-27 17:04:19 +02:00
Parth Mehta b7424d008d [ADD] Product: Product template stat button on product categories
Remove 'sequence' field, and always display alphabetically
2016-05-27 16:53:09 +02:00
Géry Debongnie 4828a00f9e [REF] web: move dom_utils to its own file 2016-05-27 16:08:50 +02:00
Géry Debongnie b107b14e6b [REF] report,web(_editor): services extracted in their own files
session_instance.js moved from framework/ to services/ and renamed into
session.js, which required to change the bundles in report and web_editor
addons.
2016-05-27 16:08:41 +02:00
Dhaval Panchal 20d7f303e4 [IMP] stock: Hide label Packs and Lots in not enabled
Hide the group in the stock_picking_type form view if in configuration setting:
   - Packages: Record packages used on packing is false
   - Lots: Track lots or serial numbers is false
2016-05-27 15:16:43 +02:00
Mansi Gandhi 9ee4b43477 [IMP] hr_recruitment: Remove wrong tooltip
because document_ftp and knowledge management module is doesn't exist anymore.
2016-05-27 14:59:36 +02:00
Mitali Patel d7a4cc47f9 [IMP] hr_holidays: show leave duration on calendar view
name pattern like '<Employee_name> on <holiday_status> : <no_days> days'.
2016-05-27 14:29:24 +02:00
Fabrice Henrion 32ed4c7191 [IMP] README: add Links
Closes #4764
2016-05-27 12:05:58 +02:00
Mansi Gandhi acbe01a1de [IMP] crm:Various improvements,
>In Dashboard/Your pipeline and in Sales/Your Pipeline: Remove the Direct Sales team filter.
	>In the kanban view, if the expected revenu = 0, the "," shouldn't appear.
	>In lead form view, remove the Opportunity header and move Probability under Analysis in Extra Info tab.
	>Rename Your Pipeline into My Pipeline to match the menu entry.
2016-05-27 12:03:35 +02:00
Fabrice Henrion 15a0f1acdd [IMP] stock_account: Usability stock accounting settings
It sounds better to call the "Accounting" section of the Inventory app settings
"Stock Accounting" considering it only concerns stock accounting and nothing else.

Closes #8095
2016-05-27 11:55:14 +02:00
Fabrice Henrion 753c679c94 [MIP stock: wording
This sentence was turned in a way that was making the user reluctant to click on
Apply while this is a normal flow to follow most of the time.

Closes #11763
2016-05-27 11:50:39 +02:00
Fabrice Henrion 5548bbe961 [IMP] account: consistent terminology
Closes #11663
2016-05-27 11:37:28 +02:00
Fabrice Henrion dd8ba8924f [IMP] payment_transfer: term
Closes #11764
2016-05-27 11:36:08 +02:00
Fabrice Henrion 520c42bd93 [IMP] product: wording
Closes #11977
2016-05-27 11:35:03 +02:00
Fabrice Henrion 6a96c838f8 [IMP] website_forum: wording
Closes #12124
2016-05-27 11:33:27 +02:00
Vipul Bhatt 4dfbcecfdb [IMP] website_{portal,portal_sale,project_issue,quote} : add pager for customer documents
This commit adds controller to list documents of customer, with pager and archive
widget to sort documents. Impacted documents are : quotations, sale order,
invoices, and issues.

Portal breadcrumd is improved too : add the home icon, and keep the query
params when using archive widget.

Some editable zones were added to templates, allowing people to customize
their frontend portal.
2016-05-27 10:50:34 +02:00
Ravi Gadhia a999969f81 [REM] fleet: Remove unused code 2016-05-27 10:39:22 +02:00
Ravi Gadhia e513af0bb0 [IMP] fleet: migrate to new api (fleet.py). my eye is paining 2016-05-27 10:39:22 +02:00
Ravi Gadhia 288568f486 [IMP] fleet: change directory structure according to new api 2016-05-27 10:33:28 +02:00
Srushti Patel 516ee0fda2 [REM] product_uos: remove module product_uos it is no longer supported (group_uom manage this by default) 2016-05-27 10:13:22 +02:00
Mohammed Shekha da3d2fb1dc [IMP] report: Printed Report names customization
PURPOSE
=======

I've seen this new improvement regarding the naming of the printed reports:
https://www.odoo.com/web?#id=10870&view_type=form&model=project.task&menu_id=3942&action=327

This makes the report have the pdf name being the name instead of the report_name of
the ir.actions.report.xml, which is already an improvement.

But why don't we allow the users to have their own naming conventions?
I mean, we could allow our client to create and name their pdf the way they want, as
they do regarding the attachment.

Not only when it's about saving it as an attachment on the record, but also when downloading
directly the pdf, such that the modification in the previous screenshot, would give the following
result when downloaded:

People need to have their pdf named automatically according to a convention. When you print 10 sales
order during an hour, you don't want to get lost in having the following:
Devis / Commande.pdf
Devis / Commande(1).pdf
Devis / Commande(2).pdf
Devis / Commande(3).pdf
Devis / Commande(4).pdf
Devis / Commande(5).pdf
Devis / Commande(6).pdf
Devis / Commande(7).pdf

especially when those are for different partners.
2016-05-27 09:44:01 +02:00
Christophe Simonis 0b52d097ea [MERGE] forward port of branch saas-11 up to 5e4f1f5 2016-05-26 18:52:45 +02:00
Christophe Simonis 5e4f1f5ab3 [FIX] stock_account: use new api to call method get_price_unit 2016-05-26 17:38:50 +02:00
Christophe Simonis 7046c2fbe6 [MERGE] forward port of branch saas-11 up to e4500d0 2016-05-26 16:58:37 +02:00
Christophe Simonis e4500d06fc [MERGE] forward port of branch saas-10 up to 57944db 2016-05-26 16:55:37 +02:00
Christophe Simonis 57944db19a [MERGE] forward port of branch saas-9 up to b7fce22 2016-05-26 16:48:33 +02:00
Christophe Simonis b7fce227cc [MERGE] forward port of branch 9.0 up to 9bd223f 2016-05-26 16:47:37 +02:00
Julien Legros 9bd223f50d [FIX] website: robust attribute checking
When installing website or one of its dependencies directly, the website
attribute is not defined on request. If the installation triggers qweb
rendering [1], we need to correctly check the presence of the website
attribute, which this commit does.

[1]: This is the case in website_blog since
4a132e2afb
2016-05-26 16:44:01 +02:00
Adrien Dieudonne 8002da27d6 [FIX] mail: multiple read more - better heuristic
- wildcard selector for stopSpelling
- <br> tags must not split read more/read less
2016-05-26 14:17:08 +02:00
Christophe Simonis 44fd6a55f3 [MERGE] forward port of branch saas-9 up to 413ba94 2016-05-26 14:10:55 +02:00
Martin Trigaux a93b6e8de0 Revert "[FIX] translate: don't translate DOCTYPE tag"
This reverts commit 44e8b92beb.

The condition is wrong as a view starting with DOCTYPE as top element will be
excluded, including its child (the whole page them).

Re-add the translatable title that was excluded by the condition.
2016-05-26 14:08:35 +02:00
Christophe Simonis 413ba9445c [MERGE] forward port of branch 9.0 up to 24eebbd 2016-05-26 14:06:36 +02:00
Christophe Simonis 24eebbd25c [MERGE] forward port of branch saas-6 up to 6c6a9f3 2016-05-26 13:56:16 +02:00
Martin Trigaux f92939e75c [I18N] im_livechat: export source terms 2016-05-26 13:34:11 +02:00
Christophe Simonis 6c6a9f3d60 [FIX] *: replace uses of except_osv with UserError that have been forgotten during previous forward-ports 2016-05-26 13:05:46 +02:00
Christophe Simonis aa220a5e03 [MERGE] forward port of branch 8.0 up to 6622196 2016-05-26 12:27:56 +02:00
Martin Trigaux 66221968b8 [FIX] crm_partner_assign: minimum access rights to employee
Give the same as access rights to the employee as for the public user.
This patch is needed to allow a user to access the partner form.
Same for portal.
The list of grades in not a confidential information.

Fixes #7719
2016-05-26 11:56:24 +02:00
Damien Bouvy 4ffd2fdd81 [FIX] sale: multi-company tax filtering
When the admin creates a SO, he has access to all taxes (since ir.rules
do not apply to him); therefore in some cases, the SO could be created
with SO lines that have taxes from other companies. This usually does
not make sense.

From this revision on, only taxes that are in the same company as the
SO are applied to the lines. If no company is set, then no filtering
is done.
2016-05-26 11:22:03 +02:00
Ondřej Kuzník dbdc8e1cef [FIX] server: Do not listen when --no-xmlrpc is set
This is a fix for f04f409943, which only
prevented the workers from being spawned in Prefork mode, while the
socket was still being bound to - this is a problem when starting a
worker-only server as it cannot coexist with the XMLRPC server on the
same machine.

Closes #1828
2016-05-26 11:01:42 +02:00
Keyur Gajjar c760e17019 [IMP] hr_recruitment: specific search view for ir_attachments
- Quick search on index_content field.
- Removed unnecessary filters(My Document(s), url, binary)
- Inherited ir.attachment's search view for that and bind
  it to actions of hr_recruitment.
2016-05-26 10:39:09 +02:00