Jeremy Kersten [Mon, 8 Dec 2014 15:25:18 +0000 (16:25 +0100)]
[IMP] ir_ui_view: pep8 + log catched exception when view_id cannot be found.
Thibault Delavallée [Mon, 8 Dec 2014 11:12:39 +0000 (12:12 +0100)]
[FIX] web_kanban: fixed issues when having no column to display in kanban
view.
Amit Vora [Mon, 1 Dec 2014 10:53:50 +0000 (16:23 +0530)]
[IMP] website: correct page hierarchy for comparison snippet
Bhavik Bagdiya [Tue, 18 Nov 2014 09:00:22 +0000 (14:30 +0530)]
[IMP] account, account_analytic_analysis: fix labelling incoherences
- account: this change aims to keep the same labels on form and list views
- account_analytic_anlysis: correct search field
Hitesh Trivedi [Wed, 1 Oct 2014 10:47:43 +0000 (16:17 +0530)]
[ADD] pad: new etherpad plugin to remove autofocus
In the form views where the pads are used, Etherpad-lite automatically
focus on the pad content, even if the user has already started to type
into another field.
This behavior is quite annoying for "quick changes", so we provide a
(very tiny) plugin for Etherpad-lite that will prevent this autofocus.
Detailed installation instructions are also included.
Bhavik Bagdiya [Fri, 5 Dec 2014 05:45:52 +0000 (11:15 +0530)]
[FIX] mail_tip: prevent blank webclient
Géry Debongnie [Thu, 4 Dec 2014 13:11:56 +0000 (14:11 +0100)]
[FIX] web: fix view manager header height form view
in form view, the header height was higher than in other views (4 extra
pixels). This was caused by the floating buttons in
.oe-view-manager-buttons. This commit forces the column to take exactly
30 px regardless of its content. (it is not a problem even if the
content takes extra lines)
Arthur Maniet [Tue, 18 Nov 2014 10:41:44 +0000 (11:41 +0100)]
[FIX] account: adapted reconciliation widget to bootstrap buttons and web client API changes
Christophe Simonis [Wed, 3 Dec 2014 14:18:36 +0000 (15:18 +0100)]
[MERGE] forward port of branch 8.0 up to 2e092ac
Christophe Simonis [Wed, 3 Dec 2014 13:48:54 +0000 (14:48 +0100)]
[FIX] must manage() Environment before loading test file
Xavier Morel [Wed, 3 Dec 2014 13:20:51 +0000 (14:20 +0100)]
[FIX] doc: remaining instances of ruby-style interpolation in templates
fixes #3157
Raphael Collet [Wed, 3 Dec 2014 09:44:05 +0000 (10:44 +0100)]
[FIX] models: exists() should not consider record with id 0 as existing
Yajo [Tue, 2 Dec 2014 17:58:57 +0000 (18:58 +0100)]
[FIX] packaging: redhat dependencies
Install psycogreen from easy_install (not in EPEL), required for openerp-gevent
Grover Menacho [Thu, 27 Nov 2014 14:08:43 +0000 (10:08 -0400)]
[FIX] action_confirm was not asking for purchase pricelist, otherwise it was asking for sale pricelist
Josse Colpaert [Tue, 2 Dec 2014 17:15:43 +0000 (18:15 +0100)]
[IMP] Manufacture should be by default in all warehouses
Raphael Collet [Tue, 2 Dec 2014 13:54:24 +0000 (14:54 +0100)]
[IMP] models: add check for common conversion error in field definitions
Géry Debongnie [Wed, 3 Dec 2014 08:46:21 +0000 (09:46 +0100)]
[FIX] display pager in listview after ungrouping (web)
list view hide the pager when it is grouped, but it should show it again
after it is ungrouped.
Fabien Pinckaers [Tue, 2 Dec 2014 20:24:02 +0000 (21:24 +0100)]
[IMP] icons according to question
Fabien Pinckaers [Tue, 2 Dec 2014 19:53:39 +0000 (20:53 +0100)]
Merge branch 'odoo-dev-master-forum-statistic-report-jsh'
Fabien Pinckaers [Tue, 2 Dec 2014 19:53:23 +0000 (20:53 +0100)]
[MERGE] merging stats on forum
Josse Colpaert [Tue, 2 Dec 2014 16:24:26 +0000 (17:24 +0100)]
[FIX] Avoid endless loop when doing a return picking
Mack [Tue, 11 Nov 2014 14:26:33 +0000 (22:26 +0800)]
[FIX] http.py: no traceback for SessionExpiredException
Rebase and close #3618
Christophe Simonis [Tue, 2 Dec 2014 16:00:44 +0000 (17:00 +0100)]
[FIX] product: force empty view_id for action `product_variant_action`
Christophe Simonis [Tue, 2 Dec 2014 15:46:29 +0000 (16:46 +0100)]
[FIX] base: deleting a view must not delete linked actions
Christophe Simonis [Tue, 2 Dec 2014 16:45:10 +0000 (17:45 +0100)]
[FIX] web: correct invalid instruction introduced during previous forward-port
Mario Arias Badila [Sun, 5 Oct 2014 20:25:08 +0000 (14:25 -0600)]
[ADD] pyeval: date.replace method
Needed to create filters like "previous month"
It was just defined for "datetime", but is also needed for "date"
closes #2915
Abhishek Jaiswal [Tue, 23 Sep 2014 04:53:53 +0000 (10:23 +0530)]
[ADD] document @default_order in list views
closes #2623
Christophe Simonis [Tue, 2 Dec 2014 15:55:10 +0000 (16:55 +0100)]
[FIX] website_forum: correct syntax error left during previous forward-port
Denis Ledoux [Tue, 2 Dec 2014 15:50:15 +0000 (16:50 +0100)]
[FIX] mail: model can be None or uninstalled
This is related to rev.
83b28737e9277d0612211900d49f539bb631dfb6
Josse Colpaert [Mon, 17 Nov 2014 08:55:46 +0000 (09:55 +0100)]
[IMP] Query should pass through orm and as such the refreshes can be removed in the code, which will go faster as it is done automatically by the new api
Christophe Simonis [Tue, 2 Dec 2014 15:32:20 +0000 (16:32 +0100)]
[FIX] website_forum: correct syntax error left during previous forward-port
Nicolas Lempereur [Mon, 1 Dec 2014 08:10:16 +0000 (09:10 +0100)]
[FIX] doc: typos and code samples from howtos
* The dashboard from the backend howto doesn't specify "name" field
which causes non-null constraint violation.
* Some useful examples uses idea.idea" model which isn't available in
8.0 so I replaced them with "note.note".
closes #3993
Christophe Simonis [Tue, 2 Dec 2014 15:18:08 +0000 (16:18 +0100)]
[MERGE] forward port of branch 8.0 up to 591e329
Denis Ledoux [Tue, 2 Dec 2014 15:01:38 +0000 (16:01 +0100)]
[FIX] mail: no_auto_thread default True if the model has no mail.thread
Josse Colpaert [Tue, 2 Dec 2014 13:28:54 +0000 (14:28 +0100)]
[IMP] Add a method half-up for uom conversion in case we want to convert from default UoM to something else + remaining_qty round + default factor on UoM
Josse Colpaert [Mon, 1 Dec 2014 15:05:07 +0000 (16:05 +0100)]
[FIX] When creating a procurement from a move, respect the right UoM conversions
Josse Colpaert [Fri, 28 Nov 2014 12:14:08 +0000 (13:14 +0100)]
[IMP] When preparing pack operations, use the smallest UoM of the moves if they are smaller than the default UoM. Otherwise use default UoM.
The same is done when extra moves are generated. It is going to check if the UoM of the operation is smaller if it has one.
Throw an error when a key can not be found in action_done because there were links on a move
that was not supposed to be done (e.g. 0.5 Dozen when Dozen is rounded at 1)
[IMP] Throw an error when a key can not be found because of UoMs/picking + extra float_compare
[IMP] Integrate remarks qdp
Josse Colpaert [Fri, 21 Nov 2014 14:19:53 +0000 (15:19 +0100)]
[IMP] Rounding of the UoM should have an unlimited precision
Josse Colpaert [Thu, 20 Nov 2014 10:59:29 +0000 (11:59 +0100)]
[IMP] Rounding should be done on move immediately to default UoM and quants should be rounded to the default UoM + remaining_qty
[FIX] Remaining qty should each time be in the default UoM of the product
Even with different UoM we want a consistent matching between moves and pack operations.
When calculating the remaining qty on move/pack operation we always start by converting the
qty on the move/operation to the default UoM and afterwards we subtract the links between them
which will also be in the default UoM of the product.
In order to create backorders / extra moves these quantities are used.
Josse Colpaert [Tue, 18 Nov 2014 15:38:21 +0000 (16:38 +0100)]
[FIX] Propate propagated_from_id when reconciling negative quants to the quant that loses it
When a negative quant is created but the positive quant counterpart is reconciling
a negative quant that of course also has a positive counterpart, the latter should eventually
let its field propagated_from_id tell that it originated from the very first negative quant as the
second negative quant will have disappeared through reconciliation.
Josse Colpaert [Fri, 14 Nov 2014 11:18:07 +0000 (12:18 +0100)]
[IMP] No digits_compute on product_qty of move + rounding on qty_available fields + add float_compare
Martin Trigaux [Tue, 2 Dec 2014 14:02:02 +0000 (15:02 +0100)]
[FIX] account_voucher: period selection in on_change
The find method returns a list of ids while the on_chage expects an int
Raphael Collet [Tue, 2 Dec 2014 13:20:52 +0000 (14:20 +0100)]
[FIX] fields: inherited fields get their attribute 'state' from their base field
Fabien Pinckaers [Tue, 2 Dec 2014 13:56:19 +0000 (14:56 +0100)]
[FIX] website_forum_doc fixes
Fabien Pinckaers [Tue, 2 Dec 2014 13:48:13 +0000 (14:48 +0100)]
[FIX] links and threads
Xavier Morel [Tue, 2 Dec 2014 08:43:19 +0000 (09:43 +0100)]
[FIX] doc: fetch font over https
Xavier Morel [Mon, 1 Dec 2014 13:24:41 +0000 (14:24 +0100)]
[FIX] ws doc: copy button in columned version
Fabien Pinckaers [Tue, 2 Dec 2014 13:07:51 +0000 (14:07 +0100)]
[IMP] karma retag checks
Fabien Pinckaers [Tue, 2 Dec 2014 13:04:28 +0000 (14:04 +0100)]
[IMP] Tags on discussions and links
Fabien Pinckaers [Tue, 2 Dec 2014 12:58:25 +0000 (13:58 +0100)]
[IMP] css forum
Fabien Pinckaers [Tue, 2 Dec 2014 12:56:55 +0000 (13:56 +0100)]
[IMP] default demo data forum
Fabien Pinckaers [Tue, 2 Dec 2014 12:47:31 +0000 (13:47 +0100)]
[IMP] Layout of forum
Jeremy Kersten [Tue, 2 Dec 2014 09:28:18 +0000 (10:28 +0100)]
[FIX] website_blog: Show tag by blog. No interest to display all tag, anyway the search by tag is done for the current blog
Géry Debongnie [Mon, 1 Dec 2014 15:28:09 +0000 (16:28 +0100)]
[FIX] fix reloading problem (crash) in web client
The previous viewmanager (before its refactoring in sept/oct 2014) was
ignoring some promises in its do_load_state method. The refactoring
actually fixed that, but of course, some other code was dependent on
the broken implementation. This commit removes the use of promises in
do_load_state, which is functionally equivalent to the previous code.
As a result, it relies on some subtle timing of the creation and
initialization of various views. It is somewhat fragile, but it is
actually what the former code did, only in a more explicit way.
Raphael Collet [Tue, 2 Dec 2014 09:12:38 +0000 (10:12 +0100)]
Merge pull request #3144 from odoo-dev/8.0-translations-export-xmo
Translation docs + code improvements and fixes
Raphael Collet [Thu, 27 Nov 2014 10:07:09 +0000 (11:07 +0100)]
[IMP] translate: small, non-breaking code improvements
Raphael Collet [Thu, 27 Nov 2014 09:35:07 +0000 (10:35 +0100)]
[IMP] doc: move translations to reference documentation
Raphael Collet [Wed, 26 Nov 2014 16:36:42 +0000 (17:36 +0100)]
[IMP] translate: improve management of targets in POT file
Xavier Morel [Fri, 10 Oct 2014 15:29:39 +0000 (17:29 +0200)]
[IMP] various tentative improvements to translation code
Xavier Morel [Fri, 10 Oct 2014 15:29:09 +0000 (17:29 +0200)]
[ADD] doc: basic translations guide
Xavier Morel [Fri, 10 Oct 2014 15:28:45 +0000 (17:28 +0200)]
[FIX] web_diagram: can't mark empty strings for translations, gettext does not like empty msgids
Xavier Morel [Fri, 10 Oct 2014 15:27:32 +0000 (17:27 +0200)]
[FIX] base: incorrect translation mark
Xavier Morel [Fri, 10 Oct 2014 13:12:47 +0000 (15:12 +0200)]
[FIX] translations: don't skip first line of translations when extracting module names
Used to be the first line was the CSV headers, the slice was left over after
these were removed from the source data. It probably didn't hurt (only issue
would be if the first module — alphabetically — has a single translatable
term), but it's just as clean not to have that.
Also removed now-unused variable (probably leftover of the CSV thing as well)
Xavier Morel [Fri, 10 Oct 2014 12:23:56 +0000 (14:23 +0200)]
[IMP] translations: simplify condition in qweb terms extraction
Xavier Morel [Fri, 10 Oct 2014 12:20:25 +0000 (14:20 +0200)]
[IMP] translations: parse views iteratively instead of recursively
also fix a pair of docstrings
Xavier Morel [Fri, 10 Oct 2014 11:50:59 +0000 (13:50 +0200)]
[FIX] base: export PO template files as pot
was already done when exporting to tgz, but not for po
Xavier Morel [Fri, 10 Oct 2014 11:45:59 +0000 (13:45 +0200)]
[IMP] base: language export wizard
* move stuff around
* call write() from browse, correctly pass context to browse
* remove useless default to file name
* use contextlib with stringio
Anthony Muschang [Wed, 26 Nov 2014 11:20:51 +0000 (12:20 +0100)]
[FIX] account_analytic_plans: take analytic distribution into account when creating a move line from bank statement reconciliation
Jeremy Kersten [Mon, 1 Dec 2014 16:27:50 +0000 (17:27 +0100)]
[FIX] website_forum: use other attr than value to init select2
The backend would otherwise fail because the value has been already processed
Jeremy Kersten [Mon, 1 Dec 2014 14:20:40 +0000 (15:20 +0100)]
[FIX] website_forum: fix error 500 when editing an answer
Was caused by missing tags.
Also fix also backwards-compatibility for textext selection method.
Jeremy Kersten [Mon, 1 Dec 2014 14:00:43 +0000 (15:00 +0100)]
[FIX] website_forum: restore bind to onclick because CKE Editor uses it, so on('click', fun) breaks things.
Fixes bugs with z-index error on some popups (image selector for example...)
Olivier Dony [Mon, 1 Dec 2014 18:30:57 +0000 (19:30 +0100)]
[FIX] website_forum: allow moderators to see misbehaving user profiles
This is to help forum moderators to fight against
spammers. It was previously difficult as the spammer
profile became unreachable as soon as their karma
went below 1, even if they had other questions
or answers still published.
Denis Ledoux [Mon, 1 Dec 2014 17:23:34 +0000 (18:23 +0100)]
[FIX] website: responsive images in table for Firefox only
It looks there is a bug in Firefox concerning responsive images in table. See bugzilla https://bugzilla.mozilla.org/show_bug.cgi?id=975632
Bootstrap advises to use width: 100% for .img-responsive as workaround were needed.
The @moz-document is to apply this for Mozilla only.
opw-617582
opw-618659
Antoine Huvelle [Mon, 1 Dec 2014 13:43:04 +0000 (14:43 +0100)]
[FIX] analytic_user_function: inherit conflict on account type
The field account_id was inherited with position="replace" meaning we erased
future changes made into hr_timesheet_sheet (41f2eba missed "type in []" and
65f31b9 missed use_timesheets).
Replace by position="attributes" to only change what matters: the on_change.
Fixes #3974
Martin Trigaux [Mon, 1 Dec 2014 15:38:39 +0000 (16:38 +0100)]
[FIX] website: can not change website name
The website name is by default "localhost" (used in the page title in the format
"Current Page | Website Name") but there were no way to change it.
Fixes #3493
Frédéric Van der Essen [Mon, 1 Dec 2014 14:55:17 +0000 (15:55 +0100)]
Merge pull request #3009 from initOS/8.0-fix_escpos_with_non_rgba_image
Bug: Exception when printing POS receipt via hardware proxy
Frédéric van der Essen [Mon, 1 Dec 2014 14:46:29 +0000 (15:46 +0100)]
[FIX] point_of_sale: correctly handle various xmlrpc errors that appear in offline mode
Christophe Simonis [Mon, 1 Dec 2014 14:42:51 +0000 (15:42 +0100)]
[MERGE] forward port of branch saas-3 up to e1e7dc0
Christophe Simonis [Mon, 1 Dec 2014 14:33:48 +0000 (15:33 +0100)]
[MERGE] forward port of branch 7.0 up to 419d934
Denis Ledoux [Mon, 1 Dec 2014 14:28:00 +0000 (15:28 +0100)]
[FIX] account: There is no sale_refund nor purchase_refund analytic journal
During rev. cbe2dbb, type2journal was refactored, and set as a global variable in the top of the file, as it was use everywhere accross the file.
But, in this specific method _get_journal_analytic, this type2journal dict wasn't the same as everywhere else, as you can see at rev. d2ff95f for example. We must therefore set a specific type2journal dict for this specific method.
Eddy Ernesto del Valle Pino [Thu, 20 Nov 2014 18:38:40 +0000 (13:38 -0500)]
[FIX] base_calendar: meetings email notification recipients
Reminder emails are generated based on the list of attendees.
The email_to field used to be a string with a list of emails separated by spaces
while the comma is the valid separator (RFC2822).
Fixes #3933 #3784 #2033
Ravi Gohil [Mon, 1 Dec 2014 07:34:37 +0000 (13:04 +0530)]
[IMP] website_mail: mailing editor buttons
Button "Save and continue" was wrongly named as it worked only once the template
is not in edit mode (so already saved).
Hide the button to only get it in readonly mode and rename it for better
understanding of its purpose. (opw 614563)
Jacques-Etienne Baudoux [Fri, 28 Nov 2014 13:22:56 +0000 (14:22 +0100)]
[FIX] base: oe_subtotal_footer_separator width
Make sure a too long value in the subtotal will not overlap the form sheet
Fixes #3698
Géry Debongnie [Mon, 1 Dec 2014 09:29:00 +0000 (10:29 +0100)]
[FIX] fix editing one2many in some cases (web)
See issue #3964 for more detail. Main problem was caused by commit
f0e331e005d8. It set the key name+'__display' to false when reloading
a record for all field types, but it was only concerned with many2many.
Loïc Bellier [Fri, 31 Oct 2014 14:07:08 +0000 (15:07 +0100)]
[FIX] stock: Never hide the invoice control on pickings
Invoice control field was invisible, and we cannot change value if none selected or copy picking in.
Fixes #3636
Aaron Bohy [Fri, 28 Nov 2014 15:19:58 +0000 (16:19 +0100)]
[FIX] Packaging: RedHat: (post-)install shell shebang
Simon Lejeune [Thu, 27 Nov 2014 13:29:43 +0000 (14:29 +0100)]
[FIX] Packaging: batch the signing procedure
Simon Lejeune [Wed, 26 Nov 2014 20:42:24 +0000 (21:42 +0100)]
[FIX] Packaging: lib name from openerp to odoo
It's about time
Simon Lejeune [Wed, 26 Nov 2014 20:40:12 +0000 (21:40 +0100)]
[FIX] Packaging: MANIFEST.in: include relevant files
As opposed to before, the source package includes requirements.txt,
LICENCE and the README.md. Note: avoiding to chip openerp.egg-info
leads to weird issues so let's just keep it at the moment.
Aaron Bohy [Wed, 26 Nov 2014 16:45:39 +0000 (17:45 +0100)]
[IMP] Packaging: RedHat: sign packages with gpg key
Simon Lejeune [Wed, 26 Nov 2014 14:53:36 +0000 (15:53 +0100)]
[FIX] Packaging: RedHat: dependencies management
PyChart is now in the EPEL repo so we now list it as required in
setup.cfg. The other mandatory lib not provided by EPEL are
pyPdf, vatnumber and pydot and are now installed by easy_install
during the post install.
Simon Lejeune [Wed, 26 Nov 2014 13:08:05 +0000 (14:08 +0100)]
[FIX] Packaging: RedHat: install in /usr and add systemd unit file
By default, the package was installed in /usr/local/lib/python2.7 in CentOS7.
It is problematic because most of other python packages are installed in /usr/lib
and also because /usr/local/lib is not in the default PYTHONPATH. It's fixed by
overriding the install script and forcing prefix to be /usr.
Added a minimal systemd unitfile.
Adapted tests accordingly.
Simon Lejeune [Tue, 25 Nov 2014 11:25:01 +0000 (12:25 +0100)]
[FIX] Packaging: better filename handling
Allow to
1) avoid a special case for debian packages in _publish function
2) publish debian packages with correct filename (ie keeping _amd64, _all)
Aaron Bohy [Mon, 24 Nov 2014 15:24:46 +0000 (16:24 +0100)]
[IMP] Packaging: Debian: sign packages with gpg key
Aaron Bohy [Fri, 21 Nov 2014 12:40:17 +0000 (13:40 +0100)]
[FIX] Packaging: allow publishing releases in --no-testing
Géry Debongnie [Fri, 28 Nov 2014 13:34:56 +0000 (14:34 +0100)]
[FIX] fix a crash when editing dashboard title (web)
fix is very simple. no further comment required I think.
sve-openerp [Fri, 14 Nov 2014 14:13:03 +0000 (15:13 +0100)]
[IMP] product: usability improvement in pricelist
Explicitly specifiy that quantities are in product uom
Cedric Snauwaert [Fri, 28 Nov 2014 14:20:30 +0000 (15:20 +0100)]
[FIX] mail: remove deprecation warning when converting a non Date object into moment
Christophe Simonis [Fri, 28 Nov 2014 14:16:38 +0000 (15:16 +0100)]
[MERGE] forward port of branch 7.0 up to de07c64
Amit Vora [Wed, 8 Oct 2014 05:52:51 +0000 (11:22 +0530)]
[IMP] [FIX] website_blog: better follow mechanism. Now people following
a blog will receive notifications only for published posts. They
will not receive all comments of all posts anymore.
When commenting a post users will receive the answers.
Added tests to try to test this behavior.