Arthur Maniet
371e96767d
[FIX] account: account.move.line creation with account_tax_id accepts taxes with both base code and tax code or neither. base code xor tax code raises a warning.
...
Fixes #4452
2015-01-05 16:00:58 +01:00
Arthur Maniet
2107896d22
[FIX] account: bank reconciliation widget: a currency amount was not rounded
...
Fixes #4450
2015-01-05 16:00:58 +01:00
Denis Ledoux
be5717434e
[FIX] fields: apply user timezone in display name for models using a datetime as name
...
For models using a datetime field as name (hr.attendance for instance), the user timezone wasn't applied in the display name.
Therefore, in the breadcrumb, the datetime was different than in the form if the user had another timezone than UTC.
This rev. is related to 27d8cb843b , but is for the 8.0 api
We are aware we introduce a tiny change of API (method signature change), which we normally prohibit, but considering the really low level of the method, the fact it is probably not ovveriden by any other modules and the fact there is no cleaner way to correct this, we are making an exception.
2015-01-05 15:48:37 +01:00
Antony Lesuisse
0322534168
[IMP] replace ckeditor by summernote
...
- improve many2one widgets
- add ui tests for editor
- media manager multiupload
- editing samed branded area are now synchronzied
- improve image gallery snippet
- allow undo and redo
2015-01-05 14:41:48 +01:00
Denis Ledoux
00762bbae0
[MERGE] forward port of branch saas-3 up to 643bbcb
2015-01-05 14:25:34 +01:00
Denis Ledoux
643bbcb00b
[MERGE] forward port of branch 7.0 up to 27d8cb8
2015-01-05 13:48:01 +01:00
Christophe Matthieu
6471fa6ddb
[FIX] website_sale: Discussion not working on product and gives '500: Internal Server Error' if public user try to comment on product (without login). Need to redirect to the login page (all user who want to write a comment have already buy the product and can use the portal login)
2015-01-05 13:30:36 +01:00
Martin Trigaux
9a9bf02b1b
[FIX] product: display variant in product label report
...
Following d80c0ff , Fixes #3138
Proper for loop should be done when converting to QWeb report
2015-01-05 12:49:51 +01:00
Denis Ledoux
27d8cb843b
[FIX] fields: apply user timezone in display name for models using a datetime as name
...
For models using a datetime field as name (hr.attendance for instance), the user timezone wasn't applied in the display name.
Therefore, in the breadcrumb, the datetime was different than in the form if the user had another timezone than UTC.
2015-01-05 12:48:38 +01:00
Martin Trigaux
b303613f85
Forward port of branch saas-3 up to 6d41af4
2015-01-05 12:47:51 +01:00
Martin Trigaux
6d41af4432
Forward port of branch 7.0 up to d80c0ff
2015-01-05 12:41:05 +01:00
fka-odoo
d80c0ff647
[FIX] product: Product Label report did not display product
...
The name of the product was stripped from the product label report
Fixes #3138 (only blank entries)
2015-01-05 12:36:36 +01:00
Aaron Bohy
6977c4daac
[FIX] Packaging: debian: .dsc file reference to .tar.gz
...
Renamming logic (odoo_version.timestamp.extension) of published
files moved out of publish function
2015-01-05 12:15:23 +01:00
Yannick Tivisse
e9d83ea39a
[IMP] purchase_requisition: terminology
...
Rename "Call for Bid" into "Call for Tender" when on the buyer's side.
2015-01-05 12:15:15 +01:00
Aaron Bohy
a8a8beb294
[IMP] Packaging: debian: package maintainer/descriptions updated
...
Mainly renaming of OpenERP into Odoo
2015-01-05 12:15:05 +01:00
Yannick Vaucher
5906f10436
[FIX] hr_holidays: Add missing context check
...
Backport of ead3f03
Fixes #4341
2015-01-05 11:37:15 +01:00
Martin Trigaux
fefc13a2db
[IMP] account: better fix than edbd0df for reconciliation test
...
Revert edbd0df
Instead of removing the demo data (demo data is our friend), make the test more
specific, adding a date to match the rate of 1.5289 all year long.
2015-01-05 11:30:49 +01:00
Martin Trigaux
33c8aae8e4
[FIX] orm: do not aggregate non-stored columns
...
Columns defined in the new api as interger, computed and non-stored should not be aggregated in read_group.
Fallback on False if column is None
Fixes #3972 , opw 619536
2015-01-05 11:30:26 +01:00
Christophe Matthieu
1800c07f44
[IMP] summernote lib: save range each time the cuser mouseup or keyup in editable area and restore each time the user active an event.
...
In this case the user can click on an other page area and then click on the option without any error
2015-01-05 10:59:44 +01:00
Christophe Matthieu
30c0e36afa
[IMP] summernote lib: set active/unactive buttons for image edition
...
https://github.com/summernote/summernote/pull/804
2015-01-05 10:59:43 +01:00
Christophe Matthieu
064275d7fb
[FIX] summernote lib: the prevent default for mousedown image to prevent ie and ff default 'features' must set the range because the cursor is used for edition.
...
Modify the code to use the dom range. Warning for picture because the browser can't target the image but the container.
https://github.com/summernote/summernote/pull/803
2015-01-05 10:59:43 +01:00
Christophe Matthieu
5b07a0dc61
[FIX] summernote lib: some browsers raise when select a range to target a node like an image or a br; createFromNode can't select a node withe more or less of one item. For eg: <div>text <span>one</span></div> the range selected is only 'text '
...
https://github.com/summernote/summernote/pull/799
2015-01-05 10:59:43 +01:00
Christophe Matthieu
6bd7084476
[IMP] summernote lib: extend createlink to allow to add a class on a link
2015-01-05 10:59:43 +01:00
Christophe Matthieu
12bbcda4c2
[IMP] summernote lib: check if a plugin add a method before the summernote methods because the plugins may be want to overwrite a default comportment. Key and click call plugins with more arguments (to allow the change and use of the lib) and the same arguments (some plugins can use button and key command for the same method)
...
https://github.com/summernote/summernote/pull/809
2015-01-05 10:59:42 +01:00
Christophe Matthieu
9069d0127c
[IMP] website: use the new summernote editor
2015-01-05 10:59:42 +01:00
David Monjoie
1d64b65103
[FIX] website_sale_options: use field image_medium instead of image like in the modal template
2015-01-05 10:38:51 +01:00
Jeremy Kersten
faee926f1b
[FIX] google_calendar - force to strip client_id and secret key.
...
Fix #4280
Copy Past from google or default value contains some space which need to be trimed.
2015-01-05 10:23:01 +01:00
Christophe Matthieu
ba1144551c
[REM] remove ckeditor
2015-01-05 10:17:11 +01:00
Christophe Matthieu
9f51d7fdfa
[FIX] tour.js to dispatch a real keyup event to simulate keypress with summernote lib
2015-01-05 10:17:10 +01:00
Christophe Matthieu
685d447892
[IMP] summernote: change lib for overwrite method
2015-01-05 10:17:10 +01:00
Christophe Matthieu
1596e45e81
[IMP] website: add summernote lib
2015-01-05 10:17:10 +01:00
Christophe Matthieu
f9a7ed6b94
[IMP] website: add openerp.define.js to load summernote with 'define'
2015-01-05 10:17:10 +01:00
Christophe Matthieu
196ecf17a1
[FIX] website: auto-increment when new page; fix link (key) search page
2015-01-05 10:17:10 +01:00
ppa-odoo
660b13bb78
[IMP] project, project_issue : fix the escalation, usability improvements on views, tooltips and error messages (onboarding).
2015-01-02 17:14:47 +01:00
Martin Trigaux
edbd0df9a0
[FIX] account: test assuming specific currency rate
...
Old demo data hardcoded the currency rate of USD to 1.5289 at the half
of the year, introducting new year red runbot.
Using assertAlmostEquals to avoid values like 32.730000000000004
2015-01-02 14:24:56 +01:00
Simon Lejeune
099ff0b236
[FIX] web: base.sass: jquery.ui widget in bootstrap's modal
...
Apply a z-index of 1051 (bootstrap'smodals are 1050). This fixes
an issue with the many2one hidden in a modal. Also, removed a
reference to a removed file.
2015-01-02 10:57:17 +01:00
Leonardo Donelli
4a0b13ed92
[REF] remove vim modelines and resulting trailing blank lines
...
Let 2015 be a year without modelines!
cf #4174
2014-12-31 15:52:13 +01:00
Frédéric Van der Essen
d1c3ff5127
Merge pull request #4120 from initOS/8.0-escpos_command_presorting
...
[FIX] implement pre-ordering of ESCPOS commands
2014-12-31 15:48:31 +01:00
Frédéric van der Essen
b3cf5382a4
[MERGE] point_of_sale & co. : large js cleanup / refactor.
...
- See the branch's commit messages for details on the work done.
2014-12-31 15:37:47 +01:00
Frédéric van der Essen
b1379c7173
[IMP] point_of_sale: improved code comments.
2014-12-31 15:34:33 +01:00
Frédéric van der Essen
e12b8b7cc0
[FIX] point_of_sale: fix typo
2014-12-31 15:34:33 +01:00
Frédéric van der Essen
dc6cbc2aaa
[IMP] pos_restaurant: do not pollute global namespace with file loading functions
2014-12-31 15:34:32 +01:00
Frédéric van der Essen
34657532d0
[IMP] point_of_sale: removed useless pictures
2014-12-31 15:34:32 +01:00
Frédéric van der Essen
5a8838243d
[WIP] point_of_sale, pos_restaurant: continued refactor
...
- this time it's the restaurant module that has been refactored
- the point of sale extensions points have been reviewed to be more
constistent and allow conditional extensions.
- the chrome subwidgets are instanciated before screens, so that
screens can manipulate them if needed.
2014-12-31 15:34:32 +01:00
Frédéric van der Essen
68ca946577
[WIP] point_of_sale, pos_discount: adapt pos_discount after pos refactor
...
- openerp.point_of_sale.load_models([...]) allow to add models to be
loaded at the start of te pos
- openerp.point_of_sale.load_fields(model,fields) allow to add fields
to be loaded for the models.
2014-12-31 15:34:32 +01:00
Frédéric van der Essen
c1eb6d608c
[WIP] point_of_sale, pos_discount: action buttons + adapt the pos_discount code after pos refactor
2014-12-31 15:34:32 +01:00
Frédéric van der Essen
f56693279c
[WIP] point_of_sale: allow to statically define screens and popups without modifying the Chrome
2014-12-31 15:34:32 +01:00
Frédéric van der Essen
a70f9a3d84
[WIP] point_of_sale: simplify the loading sequence
2014-12-31 15:34:32 +01:00
Frédéric van der Essen
6451a9eb19
[FIX] point_of_sale: load simple keyboard by default
2014-12-31 15:34:31 +01:00
Frédéric van der Essen
6f22645b19
[WIP] point_of_sale: moved the leftpane from the chrome to the product screen
2014-12-31 15:34:31 +01:00