Commit Graph
99161 Commits
Author SHA1 Message Date
dka-odoo ab1b4cab31 [IMP] web_planner : planner as data module
Planner is like web Tips : a data in a module.
- Rename planner.planner to web.planner
- Rename files according to guidelines
- Remove planner_crm module
- Make CRM depends on web_planner, and add its planner as crm data
- Remove duplicate less style
- Add 'active' boolean field on planner (to disabled them), and create planner backend views
2015-04-23 10:04:31 +02:00
Martin Trigaux ab65c388cd [FIX] crm: list of meetings from opportunity
When opening the list of meetings from an opportunity, show only the meetings
linked to the current opportunity.
Use search_default_ to be able to remove the filter if not needed.
Remove context on meeting button as it's ignored in action_makeMeeting (and
there is no field attendee_id linked to a crm.lead anyway)
opw 614039
2015-04-23 10:00:01 +02:00
Damien Bouvy 241717b4f1 [FIX] hr_timesheet: onchange_invoice_on_timesheets result is now properly formatted and applies as it should 2015-04-23 09:30:57 +02:00
Damien Bouvy ccc20eb8c5 [FIX] website_quote: wouldn't it be nice if the print button we took so long to design was actually available to the customer? 2015-04-23 09:30:57 +02:00
Nicolas Lempereur a8c122cd31 [FIX] ir.values: clear defaults cache when user company changes
The defaults of ir.values depends on the user company, but there is no
cache invalidation when the company of a user change.

This fix adds the clearing of the default's cache in this case.

Closes #6339
opw-629979
2015-04-22 18:50:43 +02:00
Olivier Dony d90776454c [MERGE] Forward-port 8.0 bugfixes up to 0d591ca6df 2015-04-22 18:43:45 +02:00
Denis Ledoux 8c40bdd410 [FIX] account_cancel: reload whole bank statement on transaction canceling
When canceling a bank.statement.line of a bank.statement
ready to be closed
(all lines reconciled,
reconcile button hidden and close button visible)

The form wasn't reloaded, and the reconcile button
was not displayed after having cancel the statement line

opw-632063
2015-04-22 18:22:51 +02:00
Denis Ledoux 84e10ad03b [FIX] web: translation of default M2O values in search bar
When a many2one field of a searchview was selected
by default, through a default_*_id within the context,
the many2one value name wasn't translated.

e.g. with Spanish loaded (and l10n_multilang installed),
translate a project.project name in Spanish.
Then, while being in Spanish, in the project.project kanban,
click on the Tasks link of a project (tareas),
then, notice the value of the project name in the
search bar.

opw-632818
2015-04-22 17:53:35 +02:00
Jamin Shah 7a24514f82 [IMP]sale_stock: Transfer stat button will display all pickings 2015-04-22 17:41:44 +02:00
Yannick Tivisse 85da6b9991 [IMP] 'Trying to reconnect' banner : removed blur effect 2015-04-22 16:53:21 +02:00
Damien Bouvy 0d591ca6df [FIX] website_quote: accept button wasn't shown if no expiration date was set on the sale order 2015-04-22 16:47:47 +02:00
Damien Bouvy 88260a3f2c [FIX] analytic_contract_hr_expense: incorrect function signature no longer perturbates API wrappers (on_change returned result in list when expecting a dict when called from new api) 2015-04-22 16:47:47 +02:00
Damien Bouvy 128c2c92fc [FIX] sale_analytic_plans: remove faulty view 2015-04-22 16:47:47 +02:00
Damien Bouvy e4d8246c81 [FIX] website_sale: fix unnecessary permanent update of pricelist on checkout 2015-04-22 16:47:47 +02:00
sha-odoo 6de4eb04b3 [IMP] website_quote: print options on report_saleorder 2015-04-22 16:41:49 +02:00
Martin Trigaux d84b5d35ac [FIX] product: pricelist on product to apply on template
If a product as only one variant, using the product.product or the
product.template in the pricelist configuration should have the same effect.
This is particulary important for the ecommerce where template without variants
do not show the product. Having a pricelist for that product had no effect on
the price used in the e-commerce.

Fixes #2900, opw 615153
2015-04-22 16:27:05 +02:00
Richard Mathot 75f0dc7e68 [FIX] web_tests: missing dependency
New tests introduced at 680a174747 use
code from the module test_new_api which was not listed as a dependency
2015-04-22 15:08:35 +02:00
rsi-odoo 15d8b6298f [IMP] website_quote: 'Quotation Preview' header button becomes stat button 2015-04-22 14:07:27 +02:00
Fabien Pinckaers 0c84526ed4 [IMP] stages of tracks: add refused 2015-04-22 13:15:26 +02:00
dhr-odoo cb5f00f580 [FIX] orm: ordering on >1000 records
When reading over IN_MAX (currently 1000) records, the select is slip into
subsets of IN_MAX records. However the list of ids was split using set() method
which removes order that may have been pass. The subsets are ordered using
_order attribute but the subsets were not ordered between themself.
This is an issue in case of browsing a o2m field with more than 1000 lines as it
will return sorted blocked but the order of the blocks is the order of the
contained ids (e.g. split(2, [5, 4, 3, 2, 1]) -> [[2,1], [4,3], [5]]).

Removes the set() to make sure the order of the given ids is preserved.
opw 616070, linked to #439
2015-04-22 12:14:33 +02:00
Xavier Morel bbe1845727 [FIX] doc: extra underline for document titles when document has no introductory blurb 2015-04-22 11:50:47 +02:00
Nicolas Lempereur 2b90e054bb [FIX] web: keep domain with search field
Currently (since commit e6a2d222d6), the domain of a search view field tag
is dropped.

This previous change was done since some of these domains refers to a
field not available in the javascript.

This fix drop the domain only if it can't be evaluated in the javascript
side.

opw-632030
2015-04-22 10:58:19 +02:00
rsi-odoo 8de4ca04eb [IMP] website_slides : hide the navigation buttons (of the PDF Viewer) if the document has only one page 2015-04-22 09:32:10 +02:00
Yannick Tivisse 581c2f1aa1 [IMP] event: usability improvements
- New filter "not cancelled" for attendees management
- No more readonly nor invisibility on "minimum number of seats"
- Event questions and mail scheduling have been put under an optional
  tab
2015-04-22 09:25:26 +02:00
Rifakat Haradwala ecdaf89469 [FIX] membership: shown customer invoice form instead of supplier
When somebody buys a membership, he is a customer, opw 615986
2015-04-22 09:10:28 +02:00
Denis Ledoux 64fd1dc636 [FIX] netsvc: logs to syslog
When starting the Odoo server with the parameters --syslog,
the logs are supposed to be pushed in the syslog.

This was no longer the case since e9d047e611.
Indeed, if no address is specified ('localhost', 514) is used,
which not always work. We therefore have no choice to define an address
which is '/var/run/log' for MacOSx,
and '/dev/log' for any other linux system.

opw-633074
2015-04-21 18:10:48 +02:00
Ajay javiya 8a6e859c2b [ADD] New payment acquirer Authorize.net. 2015-04-21 17:15:05 +02:00
Yannick Tivisse 01b536b3ce [IMP] account,sale,sale_layout,report_intrastat : do not display discount if equal to 0 2015-04-21 16:48:52 +02:00
Ronak Baxi e66f0eb18e [IMP] res_config: display warning message when trying to install standard apps 2015-04-21 16:26:58 +02:00
Yannick Tivisse 4394d0fb6e [IMP] hr_contract: add filter current employee 2015-04-21 16:13:06 +02:00
Yannick Tivisse 12056caeb3 [IMP] product_expiry: add removal date on quants 2015-04-21 16:05:48 +02:00
Ravi Gohil 40982f5ace [FIX] website: Published/Not Published button now dynamically updates
Prior to this fix, when you clicked on Publish or Not Published, the
effect was immediate, but the button disappeared instead of just
updating itself to the new value.

Fixes opw 614561.
2015-04-21 15:34:35 +02:00
Yannick Tivisse f3946f1082 [IMP] crm: add a filter followup: next action date <= today 2015-04-21 15:29:17 +02:00
David Monjoie 8f90636686 [IMP] crm: Opportunities Analysis menu visible to Sale Manager
Before this commit, it was only visible by the admin user.

I used the crm.phonecall.report rules as an example, but I don't
think either of those or the opportunities ones are actually
used in the case of group_sale_salesman, because the submenu
Sales of the Reporting menu is only visible to the Sale Manager.

Fixes opw 615048.
2015-04-21 15:26:57 +02:00
Nicolas Lempereur 86116fd082 [FIX] sale: set company sales team for quotation
If there is not a dedicated salesteam for the current user, this fix sets the
sales team to the one dedicated to a customer if there is one.

opw-633134
2015-04-21 15:06:03 +02:00
Amit Vora da3ec245f8 [IMP] stock: add outgoing_qty field in product view 2015-04-21 14:51:12 +02:00
Bhumi Patel 90f3af6d2e [FIX] web: form views in popups were looking for the edit button (that is not showed in a popup), and crashed
exempli gratia: In calendar, open an existing meetings from the calendar view and then click somewhere in the view.
2015-04-21 14:26:14 +02:00
Thibault Delavallée a985480bb3 [FIX] hr_recruitment: typo in message_get_reply_to 2015-04-21 13:36:01 +02:00
Denis Ledoux 2a77889fb0 [FIX] website_crm_score: track page only applies to ir.ui.view
opw-633438
2015-04-21 11:59:57 +02:00
sha-odoo 252c50f110 [FIX] website*: correct placement of various tooltips 2015-04-21 11:23:50 +02:00
rsi-odoo b09fddfa25 [FIX] mrp: allow MRP manager to create workcenters 2015-04-21 11:14:56 +02:00
Denis Ledoux 329225a713 [FIX] website: seo description save
The description area of the promote tool
for SEO was no longer saved.

It is due to a incompatibility with the new JQuery
lib branded with saas-6

opw-633438
2015-04-21 10:55:05 +02:00
Gaurav Panchal 3200a2cad8 [FIX] stock: warehouse form view tabs should be clickable even in read mode 2015-04-21 10:19:12 +02:00
Goffin Simon 6f679678f6 [FIX] account: duplicate tax
the duplication of a tax must duplicate the child_ids.

opw:630510
2015-04-21 10:09:56 +02:00
Jusab Sida 6047b88b5c [FIX] web: remove search tools from form view 2015-04-21 10:09:37 +02:00
Vincent Vinet 3cc3ab6252 [FIX] document: polynomial time reordering of document ids
Triggered every time on list views as the list view uses a
search_count (filtered but unlimited) to display pagination.

closes #6397
2015-04-21 09:49:47 +02:00
David Monjoie f4e1974d67 [FIX] web_calendar: fixed counting of days when selection spans multiple weeks
As event_obj._length doesn't return the number of days when the selection spans
multiple weeks, the test was wrong when the selection ended on the first day of
a subsequent week.

This fix was originaly written by rha-odoo at 95d344b, but I rewrote it a little.
I would have liked a cleaner way of finding how many days there were between the
two dates, but I couldn't find anything better, considering I didn't want to
create new objects just for that test.
Fixes opw 614703.
2015-04-21 09:37:50 +02:00
Goffin Simon 7b923b57ba [FIX] sale_stock: supplier invoice
During the creation of an invoice, the partner returned by "_get_master_data" depends on inv_type.
inv_type = "out_invoice" is for customer invoice
inv_type = "in_invoice" is for supplier invoice

opw:632392, 632583
2015-04-21 08:47:06 +02:00
Martin Trigaux 0b2bc27adc [FIX] stock: use unit of measure for manual receptions
When using the manual reception wizard, if a quantity in a different unit of
measure was set, the unit was ignored. opw 617336
2015-04-20 17:16:22 +02:00
Luc De Meyer f8a2a64ade [FIX] web: onchange on field binary
If a onchange is set on a binary field, the name of the file (filename attribute
defined in the view) is still the name of the previous file.
Fixes #2427, opw 617109
2015-04-20 16:42:15 +02:00