Commit Graph
93444 Commits
Author SHA1 Message Date
Christophe Matthieu f6b987356c [IMP] website editor: add doc for o_not_editable 2015-01-23 12:14:14 +01:00
Christophe Matthieu db81c72dfd [IMP] website editor: 'active' link when click to allow the edition of the last and first char 2015-01-23 12:14:14 +01:00
Christophe Matthieu 5bec4b8996 [FIX] website editor: backspace does not merge like delete 2015-01-23 12:14:14 +01:00
Christophe Matthieu 7b38e1dd62 [FIX] website editor: triple click and link edition destroy or remove tag when triple click 2015-01-23 12:14:14 +01:00
Yannick Tivisse 38085a51a5 [IMP] project : remove oe_e class 2015-01-23 11:53:45 +01:00
qdp-odoo ed19463056 [FIX] account: renaming a the 'close_method' field on account.account.type. Fixes #779 2015-01-23 09:34:47 +01:00
Géry Debongnie 0521c8b83f [FIX] web: fix various bugs in FieldCharDomain
now, the FieldCharDomain widget should
* correctly display the selected records instead of the whole list
* allow the removal of the current selection in edit mode (by adding
  a facet in the searchview)
* allow the selection of a full group when the list view is grouped

also, it correctly now uses the ReinitializeFieldMixin instead of
reimplementing half of it in a buggy way.
2015-01-22 20:45:08 +01:00
Christophe Simonis 21c1686f06 [FIX] purchase: since 2aeb1e5, minimum_planned_date is a datetime field. Adapt test 2015-01-22 19:24:30 +01:00
Christophe Simonis 6f841038f3 [MERGE] forward port of branch 8.0 up to 3735394 2015-01-22 18:47:13 +01:00
Christophe Simonis 373539425e [MERGE] forward port of branch saas-3 up to c339fcc 2015-01-22 18:43:06 +01:00
Christophe Simonis c339fcc603 [MERGE] forward port of branch 7.0 up to d5c7234 2015-01-22 18:42:26 +01:00
Christophe Simonis 99024240f5 [IMP] base: avoid useless call to time.strftime()
This will also ease next forward-port 8.0 -> master
2015-01-22 18:27:08 +01:00
Christophe Simonis c75b61d3e7 [FIX] account_voucher: now that currency rates created at installation does not use current year (be33101), tests must create their own rates instead of trying to change default one 2015-01-22 17:19:56 +01:00
Jaysinh Shukla 5f987f8745 [IMP] website_forum: added social sharing on questions.
A widget based on website share widget has been added that allows to share
questions and answers on social networks. Old posts can also be bumped
through sharing.

New fields have been added on forum model allowing to disable the old
question bump and social sharing modals.

Courtesy of RD India: Ajay Patel (apa@odoo.com), Jaysinh Shukla
(jsh@odoo.com)
Courtesy of use Merge: Damien Bouvy (dbo@odoo.com)
2015-01-22 17:02:17 +01:00
Jaysinh Shukla 1c91e27c8c [IMP] website: added social share widget
A new widget has been developed that allows to share content on social networks.
It is displayed like a simple share link in a popover for four social networks
(facebook, twitter, linkedin, google+ (really ?)).

Courtesy of RD India: Ajay Patel (apa@odoo.com), Jaysinh Shukla (jsh@odoo.com)
Courtesy of use Merge: Damien Bouvy (dbo@odoo.com)
2015-01-22 17:02:17 +01:00
Christophe Simonis be33101903 [FIX] base: correct currency rates.
- Do not force creation of rates.
- Using rates of 2010 and storing them as beeing from 2015 is not a good idea.
2015-01-22 16:23:42 +01:00
Martin Trigaux 88a9a45cf2 [FIX] warning: missing parameter in super call
Complete patch made at 06187405
2015-01-22 16:22:44 +01:00
Olivier Dony f69034ee09 [FIX] ir.ui.view: allow importing views without arch_fs, for base_import_module
Data-only modules imported via base_import_module
do not have fs-backed source files, so the arch_fs
field for views should always be NULL, and the arch_db
version is always used.
Avoid crashing at arch_fs detection during import
via base_import_module.
2015-01-22 16:12:06 +01:00
Denis Ledoux d5c7234474 [FIX] point_of_sale: share is not a dependence of point_of_sale
This reverts commit d970cc40f8.

point_of_sale does not depends on share. This domain can therefore not be applied.
It works for new databases as the module share is auto installed.
But as soon as the module share is uninstalled, this domain will lead to a crash
There is no way to "solve" this issue, other than by a view customization
if the issue is critical for the customer.

I did not pay enough attention when I reviewed the PR.
2015-01-22 15:32:29 +01:00
Raphael Collet 8cd2cc8910 [FIX] models: recompute fields with user admin to prevent access rights issues 2015-01-22 15:32:18 +01:00
Martin Trigaux 06187405c1 [FIX] purchase: do not erase description when change quantity
Add a flag to replace or not the previous product description.
Apply the same logic than in sale. Change the description field on a purchase
line only when the product is changed. opw 620093

Clean the views and replace wrong parameter in warning
2015-01-22 15:01:44 +01:00
Denis Ledoux e9d1d7aac0 [MERGE] forward port of branch saas-3 up to c5775e5 2015-01-22 14:45:16 +01:00
Denis Ledoux c5775e56d3 [MERGE] forward port of branch 7.0 up to 25f5329 2015-01-22 14:43:06 +01:00
Martin Trigaux 8598231763 [FIX] purchase: maximum recursion when write on minimum_planned_date
Do not write on the function field when you are writing on the function field.

- Now you do know what orders is right?
- I think I know...
- Orders is orders.
- I guess no one ever taught you not to use the word you're defining in the definition.
   ~~Lucky Number Slevin
2015-01-22 14:37:53 +01:00
Richard Mathot 1c76527ae5 [FIX] website_event_sale: missing # in formatted attribute 2015-01-22 14:30:05 +01:00
Denis Ledoux 25f5329deb [FIX] report: break lines and splitted words with reportlab > 3.0
From reportlab 3.0, empty plaintext paragraphs do not lead to a break line anymore.
Before release 3.0, paragraphs having tags but no plaintext leaded to a break line.
This patch aims to recover the behavior of reportlab releases < 3.0, as
<para><font color="white"> </font></para> is used in allmost all rml reports
The current patch is not considered as clean, but we did not find any better solution.
If someone find a parameter to pass to reportlab in order to bring back the old behavior of reportlab
he is welcome to provide the better patch.

Besides, in reportlab 3.0, splitlongwords has been introduced as parameter,
to allow to break long words. The default value is True.
This parameter seems to break the columns headers
(it splits the text within the column header)
We therefore take the choice to not activate it, as it was not present anyway in reportlab < 3.0

To test the good behavior of this patch:
While having reportlab < 3.0 (2.5 for instance), print a draft invoice
Then, upgrade to reportlab > 3.0 (3.1.8 for instance), print the same draft invoice.
The generated pdf must be (allmost) identical, in particular concerning spaces.
Specifically, the space between the partner address and his phone.
2015-01-22 14:23:38 +01:00
Martin Trigaux 9f8731ca27 [FIX] base: backport of 152c5c2 to 7.0
[IMP] base: safer locking at user login

When a users connects, a lock is taken on the res_user table to modify the last login date. If another running transaction uses a foreign key to res.users (e.g. write_uid column), postgres may detect the update as a concurrent update and rollback the transaction.
In pg 9.3, the lock_strength parameter 'NO KEY' allows a weaker lock which is less likely to break another transaction.
Fixes #552
2015-01-22 13:34:19 +01:00
Richard Mathot 7153f3731a [IMP] website_event: Odooize demo data 2015-01-22 12:12:04 +01:00
Denis Ledoux dcfd94cbf5 [FIX] orm: Revert 332154444d && acd7d84da4
These revs. introduced an API change in the _name_search method.

Indeed, the 'operator' attribute used to have 'ilike' as default value.
This cannot be changed, as every modules overriding this method
overrided it using the signature with operator='ilike'

For instance, _name_search method of addons/base/ir/ir_model.py
expects having 'ilike' as operator.
As it was not anymore the case,
it leaded to a crash when performing a name_search call on the model ir.model,
like when adding a new custom field to a model, from the web client.

opw-626161
2015-01-21 18:33:36 +01:00
Martin Trigaux 2c99ddc612 [FIX] tools: exec_command_pipe parameters
args is a tuple, do not popen it as it's concatanated with another tuple
in _exec_pipe. This made the "print workflow" method crash.
2015-01-21 18:33:04 +01:00
Martin Trigaux cbd9b46129 [FIX] tools: return data from exec_command_pipe call
Rendering of workflow uses it, returns the pdf data
2015-01-21 18:33:04 +01:00
Martin Trigaux adc041e4d4 [IMP] website_version: remove dupplicated menu
two menu had the id menu_website_view for the action
2015-01-21 17:21:37 +01:00
Denis Ledoux 34de1c0f78 [FIX] web: display error message when export fail. 2015-01-21 17:05:55 +01:00
Denis Ledoux 560f2359a0 [FIX] web: correctly retrieve exception from @serialize_exception
and _serialize_exception as well.
2015-01-21 17:03:54 +01:00
Xavier Morel 5065d5f5b0 [FIX] pointless boms in python files 2015-01-21 16:32:37 +01:00
Yannick Tivisse 9207c4645a [IMP] Replace all oe_e class by fontawesome + remove entyporegular library 2015-01-21 16:11:26 +01:00
Martin Trigaux 4f14290670 [FIX] web: rounding of fields
round_precision expects a decimal (e.g. 0.01) while digits contains the number
of digits (e.g. 2)
replace by round_decimals
2015-01-21 16:04:29 +01:00
dka-odoo b960874960 [IMP] crm, sales_team : usability onboarding. Improvements in kanban and form views mainly. 2015-01-21 18:03:04 +03:00
Goffin Simon d970cc40f8 [FIX] point_of_sale: exclude share users from sale details wizard
opw-621749
2015-01-21 15:39:31 +01:00
Olivier Dony 495ec92251 [I18N] Update translations from Launchpad 8.0 branches 2015-01-21 15:36:54 +01:00
Olivier Dony 39f00b3637 [I18N] Update translation templates with latest terms
Total new terms: 270
Total deleted terms: 82
Total identical terms: 19653
Old total number of terms: 19735
New total number of terms: 19923
2015-01-21 15:31:22 +01:00
Jeremy Kersten 656993edb3 [IMP] website_crm_score: add a first version for widget filter - need improvments 2015-01-21 15:23:45 +01:00
Simon Lejeune 59d6ce7b30 [REM] stock: remove stock level forecast report 2015-01-21 15:22:29 +01:00
Simon Lejeune 07849e43fc [REM] mrp: remove workcenter load report 2015-01-21 15:22:23 +01:00
Jeremy Kersten d7ea12c7ca [FIX] website_crm_score: remove default value for user_id, sql replace False by null value. 2015-01-21 14:42:41 +01:00
jir 2ad01aa2d1 [ADD] stock: "Stock Forecast" analysis view
Code courtesy of Jignesh Rathod <jir@odoo.com> and Josse Colpaert
<jco@odoo.com>.
2015-01-21 14:28:55 +01:00
Jeremy Kersten d653380782 [FIX] website_crm_score: fix bug in salesteam kanban 'ownerDocument' + misc.
Fix kanban:
    Move invisible user_id field outside the kanban-box.
    Since jQuery migration (1.8 -> 1.11), the function append has not the same behavior.
    $([undefined]).append() will crash, so when Odoo whas trying to render the user_ids m2m field in kanban, that crashs.
    Anyway, moving the code outside this kanban-box, will avoid to render an invisible m2m_tag.

Misc:
    Escape html
    concat with %s
2015-01-21 13:26:05 +01:00
Martin Trigaux 8e9ac21c69 [FIX] gamification: missing data in commit 2acad60
damn you git add...
2015-01-21 13:02:19 +01:00
Olivier Dony 8ea6ebede1 [IMP] fields: reduce verbosity of debug log for registry loading
This log line is only useful when debugging registry
loading, a limited use case now that Odoo 8 is stable.
It makes the debug log more difficult to read and causes
a small performance penalty when debug[_rpc] is on.
(+0.2s i.e. 10% extra time for loading a registry with 47
modules on a core i5-4200U machine)
2015-01-21 12:53:26 +01:00
Ravi Gohil 2acad60391 [FIX] gamification: translatable email notification
This requires a manual update/migration for existing template. opw 619786
2015-01-21 12:30:34 +01:00