Commit Graph
102197 Commits
Author SHA1 Message Date
eLBati 16fda32a0e [FIX] l10n_it: tax code for Iva al 10% indetraibile
The tax code of `Iva al 10% indetraibile (D)`
is `template_ivacode_pagata_10ind`, like its
sibbling `Iva al 10% indetraibile (I)`.

The fact it wasn't is due to a typo.

Something similar is done with the taxes
`Iva al 20% indetraibile (D)`
and
`Iva al 20% indetraibile (I)`
with the tax code `template_ivacode_pagata_20ind`

opw-649557
Closes #8047
2015-09-21 17:35:01 +02:00
Ruchir Shukla 61300ee7f1 [FIX] stock_landed_costs: modify quants as admin
Nobody has write access to stock.quants so only the admin was able to execute
this method.
Fix it by using SUPERUSER_ID
Closes #8544
2015-09-21 16:40:34 +02:00
Ruchir Shukla 516d723cd4 [CLA] signature for BizzAppDev 2015-09-21 16:40:34 +02:00
qsm-odoo 3807733be6 [FIX] web: field radio empty value
The get_value method of field radio returned sometines an undefined
value (while it is expected to return false is there is no value).

This caused traceback for siblings fields trying to access the value
of an empty field radio (onchange, ...).
2015-09-21 16:21:14 +02:00
odoo-tac a88fae84e4 [FIX] point_of_sale : Virtual keyboard and product search fixed.
The pos search uses keypress instead of keydown event. The virtual keyboard has thus been fixed to trigger the same kind of event.
Using keypress instead of keyup also made the search behaviour erratic. This is fixed with the appropriate use of a timeout.
Finally a keydown listener is added to update the search after a backspace or delete.
2015-09-21 16:07:24 +02:00
Denis Ledoux a3648fd23a [MERGE] forward port of branch 8.0 up to aabbdc7 2015-09-21 16:01:58 +02:00
Martin Trigaux 6a752daaae [IMP] account: cleaning labels on fields
account: add missing or unclear labels
POS: remove useless surcharge changing the label
l10n_be_invoice_bba: unify label name with account
2015-09-21 15:55:43 +02:00
Denis Ledoux aabbdc7339 [FIX] web: Safari, download of attachments with accents
The structure `filename*=UTF-8` works in Safari, from
release 6.2 (which is set as version 537 in the user_agent version).

This structure has the advantage to handle the UTF-8 encoding,
and therefore special characters, such as accents.

Therefore, from this Safari release, we use the same format
than other browser. For older releases, we use the format
`filename=`, without UTF-8, ASCII encoded, replacing
special characters by `?`.

opw-649863
2015-09-21 15:30:05 +02:00
Joren Van Onder 29ced971c6 [IMP] point_of_sale: make demo user a pos user 2015-09-21 15:02:52 +02:00
Adrien Peiffer (ACSONE) 0b4bd7a6d1 [FIX] mail: allow to delete mail alias all employees
It was allowed for all employees to read, create and edit
mail aliases. Only the deletion was prevented.
Nevertheless, giving the possibility to rename a mail alias
is allmost seen as a deletion, as you can rename it to something
that just won't be used anymore. Therefore, we can consider
to give any employees the rights to delete mail aliases.

Besides, not allowing the unlink leads to issues when the
mail alias is associated to a record the user wants to delete.
He was able to create the record, and its mail aliases, but
he could not remove the record, as he was not allowed to remove
the mail alias.
For instance, an HR officer was able to create a job position,
with its mail alias, but couldn't remove the job position he created.

Closes #8466
2015-09-21 14:26:37 +02:00
qsm-odoo c673d3250c [IMP] sales_team: main dashboard alignement&focus
* Adapt LESS rules so that the tables are top aligned and respect
correct margins.
* Set td min height so that toggling between edit mode and readonly
mode does not modify the table cells dimensions.
* Before this commit, clicking on a target to edit while one was
already being edited closed the new editable target immediately.
2015-09-21 13:58:15 +02:00
qsm-odoo 85b1021fc7 [FIX] project: dashboard button alignment
Flex 0 0 x% layout is broken if content is larger than x% with nowrap
white-space property. Solution is to change in flex 0 0 auto and force
width to x% thanks to the width property.
Also: was always a problem on firefox windows.
2015-09-21 13:58:15 +02:00
Christophe Matthieu e8b57c1457 [FIX] website: addapt tour rte_translator wait for page load
Next steps executed before the next page loading could cause a test
false positive. Remove hack and use waitFor and WaitNot.
2015-09-21 13:45:36 +02:00
Christophe Matthieu b6c987a2fc [FIX] web: Tour test: remove false positive
re-test (element, waitFor, waitNot) because if click on a link to change page, don't want to click again after
2015-09-21 13:45:36 +02:00
Christophe Matthieu e4866f830e [FIX] mass_mailing: remove the wrong scrollbar in html field
Add "web_editor_inside_iframe" id in web_editor iframe template to apply css style only when the field is in html field.
Remove "content" css media query in iframe editor to remove scrollbar.
2015-09-21 13:45:36 +02:00
Christophe Matthieu a41f915493 [FIX] web_editor: iframe of html widget must be checked before render value
If the iframe is destroyed, detached, hide (eg: click on a record, return into the list view and click on an other record), the render_value method try to resize the iframe but jQery raise an exception because contentWindow doesn't exist.
2015-09-21 13:45:36 +02:00
Damien Bouvy f89e8f9df2 [IMP] payment, website_sale, website_payment: unique reference on payment no longer prevent paying
Payment transactions referenceis have a unique constraint which was problematic when a payment was cancelled from the acquirer's page.
To stick the to DRY principle, I factorized a method that checks for existing references and happens a numerical suffix if necessary.
This was already implemented in website_payment but was moved to payment and used in website_sale.
2015-09-21 13:15:58 +02:00
Mahendra barad 727f7c4175 [FIX] point_of_sale : Prevent a traceback when adding a global discount on an empty pos, allow use of a numeric pad dot (.) in payment screen. 2015-09-21 12:53:32 +02:00
Thibault Delavallée 5492f88126 [FIX] mail: mail_message write right
Notified people should be able to write on the message, for example to be
able to star / unstar, needactionize / unneedactionize (nice word).
2015-09-21 12:44:40 +02:00
Olivier Laurent 85a19db1fe [IMP] base: use 'raise_view_error' when checking the inheritance
The message used in 'valid_inheritance' was not very helpful when the
inheritance validity was not passed.
You only knew that some view was not OK without knowing which one.

We now use the 'raise_view_error' method, which can already display all
the meaningful info (view_id, parent_id, view name, ...)
2015-09-21 12:36:02 +02:00
Martin Trigaux 4c73125931 [FIX] delivery: typo 2015-09-21 12:22:54 +02:00
Darshan Kalola 5327869356 [IMP]point of sale: added fiscal_position_id field in pos config to set fiscal postion on each shop. 2015-09-21 12:10:10 +02:00
Martin Trigaux 991e0cbef7 [IMP] base: less technical label
Courtesy of Lionel Sausin
2015-09-21 11:57:19 +02:00
Denis Ledoux 9975a04e4d [FIX] website_quote: quote creation without default template
onchanges methods are expected to return dicts
opw-649862
2015-09-21 11:46:50 +02:00
Martin Trigaux 1a48daa4ce [I18N] export source terms 2015-09-21 11:46:35 +02:00
Cedric Snauwaert 17a950c432 [REF] module: cleanup of unused function 2015-09-21 11:38:08 +02:00
Cedric Snauwaert f6054e8937 [FIX] module: move the process of loading translation before the post_init_hook and tests phase 2015-09-21 11:38:08 +02:00
Keyur Gajjar b522283ffd [FIX] mass_mailing: mailing list was not created
Add "editable_area" id and remove default html content.
2015-09-21 11:11:11 +02:00
Damien Bouvy 332658c6b6 [IMP] hr_expense: terminology: "More" menu is now "Action" menu; adapt tip 2015-09-21 10:40:22 +02:00
Damien Bouvy 3c5818f6cf [IMP] hr_expense: allow product creation in many2one field 2015-09-21 10:33:41 +02:00
Damien Bouvy a7c379a495 [IMP] sale: better mechanism for expense registration
When a SO is linked to the analytic account: ensure the SO is validated and warn user if not
When there is no SO: simply register the line on the AA; registering expense lines on analytic accounts must not require the use of a sale order
2015-09-21 10:33:41 +02:00
Damien Bouvy ec4203598d [IMP] hr_expense: terminology
analytic accounts are not contracts anymore
2015-09-21 10:33:41 +02:00
Denis Ledoux 06138db78d [FIX] sale_crm: Sales button
The amount displayed in this sales button
is the amount sold for this opporunity,
not for this specific partner, see
See `_get_sale_amount_total`

Therefore, forcing the `search_default_partner_id`
was wrong, as the sale orders could be on other partners
(for instance, the partner parent/`commercial_partner_id`)
The domain `"[('opportunity_id', 'in', [active_id])]"`
is already applied on the window action anyway.
See `sale_action_quotations`

opw-649712
2015-09-21 10:27:06 +02:00
Richard Mathot ec7fb80775 [REM] delivery: unused field for now, should not have been merged in a223111b92 2015-09-21 10:20:03 +02:00
Prashant Panchal f41575238b [REM] crm,point_of_sale,sale_crm: unused imports 2015-09-21 09:14:11 +02:00
Yannick Tivisse 44a3e55a8d [FIX] hr_equipment: typo in module description 2015-09-21 09:10:35 +02:00
Nicolas Martinelli 59a2e876b7 [FIX] sale: raise error if no order found
When creating a SO line, make sure we found an appropriate SO.
2015-09-20 20:36:21 +02:00
Nicolas Martinelli 198164dd04 [IMP] sale: better docstrings 2015-09-20 20:36:21 +02:00
Fabien Pinckaers 0ec19af59c [IMP] Workding: less horz space for all buttons picking form 2015-09-20 18:10:32 +02:00
Fabien Pinckaers 98dcba2365 [IMP] CRM Opportunity: add group by expected closing
[IMP] Wording: word center operations --> routing
[IMP] Dialog messages when validating picking lists
[IMP] Workenter & routing form views improved layout
[IMP] edit picking lines (only if multi-locations as nobody understand
this)
[IMP] Editing picking line: product & done qties readonly (otherwise, it
may fail on SO Lines delivered quantities
[IMP] Product form, hide incoming / outgoing quantities: users don't
understand this.
2015-09-20 18:06:23 +02:00
Odoo Translation Bot b85dd39814 [I18N] Update translation terms from Transifex 2015-09-20 03:04:41 +02:00
Jeremy Kersten fc29dc80cb [FIX] base: ir_ui_view fix dev mode
Fix traceback when a view had %()d or %()s
Now we replace it by the related id.

fix #8193
2015-09-19 19:06:41 +02:00
Fabien Pinckaers ec949ad59e [FIX] delivered quantities successfully updated if > ordered ones 2015-09-19 09:54:13 +02:00
Wolfgang Taferner 4f41c3327c [FIX] website_sale: make checkout fields customizable
[FIX] Valuable checkout hooks for website_sale
[FIX] Values might need to be changed for different field mappings
[FIX] Make definition of form fields inheritable within a function
[FIX] Make shipping_info values available for inherited module manipulation

Close #8490
2015-09-18 21:17:51 +02:00
Olivier Dony dbddc8246a [FIX] payment_ogone: move debug logging to the level it belongs to (may include sensitive data) 2015-09-18 19:52:26 +02:00
Raphael Collet 2ae06e36f2 [IMP] base: remove useless ormcache decorator in ir.translation 2015-09-18 18:12:23 +02:00
Raphael Collet 000dac032a [IMP] base: avoid double translation of qweb views
Since the new translation process for views, their arch is translated upon
reading the views, before applying inheritance.  Remove the useless translation
that was done after this process.
2015-09-18 18:12:23 +02:00
Raphael Collet 3d6eef46c5 [FIX] translate: remove tags of elements that should not be translated inline
Specifically: audio, canvas, datalist, embed, iframe, map, object, select, svg,
template, textarea, video.
2015-09-18 18:12:23 +02:00
Raphael Collet 3a1483635e [IMP] fields: avoid search when recomputing a field on the same records
This avoids a few dumb queries.
2015-09-18 18:12:23 +02:00
Raphael Collet 7d558a9a86 [IMP] models: improve code to enable field prefetching in onchange mode
Enable the prefetching of several fields while evaluating an onchange.  Special
care is taken to not prefetch computed fields or fields already in cache.  The
latter is necessary to avoid "cleaning up" dirty fields by accident.
2015-09-18 18:12:23 +02:00