Commit Graph

91615 Commits

Author SHA1 Message Date
Simon Lejeune 1347163082 [FIX] Packaging: Debian: ignore root Makefile
Commit 388732dfa6 introduced a makefile at the root of the project, and
dh_auto_build is using this file instead of setup.py. Explicitely tell
debhelper to not use the makefile.
2014-11-10 11:49:02 +01:00
Commandant Custo fd59ae55e9 [FIX] stock_picking_wave: Missing _description 2014-11-09 10:01:13 +01:00
Martin Trigaux f3b3776128 [FIX] account: recompute date_due
Add on_change to recompute the due date when the invoice date is modified (it was only done when modified the partner_id field
Fixes #3413
2014-11-07 17:39:57 +01:00
Xavier Morel e7b6d0bda9 [ADD] doc: guide to the new API
Raw API documentation is not sufficient for people to learn the working
principles of the API, especially when they already know the old one. And some
things have changed since the opendays so the presentations don't reflect the
current state of affairs.

Closes #3483
2014-11-07 14:42:33 +01:00
Nick Booker ce0521aa99 [REF] account_anglo_saxon: refactor anglo saxon move lines
So that we can customise the real-time stock journal items made during sale invoice postings for certain companies who account for it slightly differently.
2014-11-07 14:28:39 +01:00
Géry Debongnie 967969d7b4 [FIX] kanban view background is correctly set (web_kanban)
the .oe_background_grey class only changed part of the kanban background
when it was scrolled.  This makes sure that the full table has a grey
background.
2014-11-07 14:21:35 +01:00
Xavier Morel 166ddc98a9 [FIX] allow word wrapping in stripe-style code examples 2014-11-07 14:13:15 +01:00
Xavier Morel 5d79dd80e5 [ADD] ZeroClipboard-based "copy" button on snippets
Also fix ruby setup code, some of its bits were actually Python and didn't
quite work when pasted into irb...
2014-11-07 14:01:32 +01:00
Denis Ledoux c98e5b2d2c [FIX] mail: _fields['type'].selection is a callable
This revert partially the rev. f2e4a10e1a

  File "/home/odoo/src/odoo/8.0/addons/mail/mail_mail.py", line 76, in default_get
      if context and context.get('default_type') and context.get('default_type') not in self._fields['type'].selection:
      TypeError: argument of type 'function' is not iterable
2014-11-07 12:36:10 +01:00
Christophe Matthieu a674512739 [FIX] mrp: The attribute on bom lines is not filtered in function of the selected product template 2014-11-07 12:21:30 +01:00
Christophe Matthieu 7ffbd5c726 [FIX] product: name_get of product.attribute.value
name was confusing for bom and product if the value of the attribute is display without the attribute name
added key in context to keep the previous behaviour (e.g. in product view where the attribute name is present)
2014-11-07 12:03:47 +01:00
Xavier Morel 6f0b1fef4d [IMP] doc-ws: prepend setup code when copying from a snippet 2014-11-07 11:32:43 +01:00
David Monjoie 0c74b9d027 [FIX] product: pricelist shouldn't convert uom when not needed or incompatible uom types
Otherwise the Search More view will crash for example for sale order line because it will fetch the price of all products and then try to convert uoms for pricelist rule application without checking uom compatibility
2014-11-07 09:08:53 +01:00
Martin Trigaux c22ed1390b [FIX] project: access task without project
Allow access to task without a project defined if the user is follower.
Fixes #3450
2014-11-06 18:05:28 +01:00
Raphael Collet b573077be6 [FIX] models: do not copy translations of fields that are not copied
Fixes #3272.
2014-11-06 16:42:41 +01:00
Raphael Collet 54140331f3 [FIX] fields: fix the translations of the labels of inherited fields 2014-11-06 16:42:41 +01:00
Denis Ledoux 2da7b11c36 [MERGE] forward port of branch saas-3 up to c8df9fc 2014-11-06 16:30:33 +01:00
Denis Ledoux c8df9fcc7d [MERGE] forward port of branch 7.0 up to ae99a93 2014-11-06 16:30:00 +01:00
Denis Ledoux ae99a93b88 [FIX] web: many2many_binary widget upload
once widget extended with ReinitializeFieldMixin, the event binding with the binary file input and the on_file_change method can be done in initialize_content instead of start

This fix is related to d36c8b5c9b
2014-11-06 16:26:32 +01:00
Frederic van der Essen 1c1e069f7e [IMP] point_of_sale: add a zero default margin when printing a receipt from the browser. 2014-11-06 16:03:37 +01:00
Martin Trigaux c794562fa6 [FIX] calendar: gantt view argument
There is no 'date' field.
Fixes #3496
2014-11-06 15:34:02 +01:00
Torvald B. Bringsvor 7e73a10712 [FIX] account_voucher: multicompany compatibility
When the company or the journal is changed, change the period accordingly to make sure to always keep coherant values.
2014-11-06 15:24:04 +01:00
Denis Ledoux b7c912ec68 [MERGE] forward port of branch saas-3 up to 22f2728 2014-11-06 15:03:43 +01:00
Denis Ledoux 22f2728d22 [MERGE] forward port of branch 7.0 up to d36c8b5 2014-11-06 14:56:45 +01:00
Denis Ledoux d36c8b5c9b [FIX] web: FieldMany2ManyBinaryMultiFiles must extend ReinitializeFieldMixin
The add attachment button should be displayed while being in edit mode, but not in view mode
As the widget depends on the form actual mode, the widget should be re-rendered each time the actual mode changes

This is the point of the ReinitializeFieldMixin class
2014-11-06 14:51:21 +01:00
celm1990 d039249dd2 [FIX] fix wrong filter in search view (account/sale)
the field section_id is created in addon sale, but used in the account
reporting views.  This commit moves the search view definition
in the correct file.
2014-11-06 14:15:19 +01:00
Julien Legros 150dc66ec0 [FIX] account_asset: moves should use the depreciation line date 2014-11-06 14:06:55 +01:00
Raphael Collet 5cc863245b [IMP] fields: improve _determine_default() and add test for inherited fields 2014-11-06 12:20:39 +01:00
Cedric Snauwaert 2562b1c1ba [FIX] purchase_requisition: field date_start does not exist on purchase_requisition model so we should not use it in filters
fixes #2838
2014-11-06 09:53:04 +01:00
Christophe Simonis c825d0552d [MERGE] forward port of branch saas-3 up to ec27773 2014-11-05 21:46:42 +01:00
Miku Laitinen 87dcaa95f5 [FIX] project: missing translations
The labels for fields 'use_tasks', 'partner_id', 'date_start' had no valid string (autogenerated or unrelated).
Make the selections of the field privacy_visibility translatable.
Fixes #3435
2014-11-05 21:29:17 +01:00
Frederic van der Essen 0ffa605e37 [IMP] point_of_sale: add product description and product sale description to the search engine 2014-11-05 21:20:17 +01:00
Christophe Simonis ec277732fe [MERGE] forward port of branch 7.0 up to 3e3e35e 2014-11-05 21:10:15 +01:00
Christophe Simonis 3e3e35ed7e [FIX] web,web_kanban: correct radial-gradient usage 2014-11-05 20:57:59 +01:00
Christophe Simonis 491372e865 [MERGE] forward port of branch saas-3 up to d36eee9 2014-11-05 20:26:36 +01:00
Frederic van der Essen 8b69395561 [FIX] point_of_sale: the order should not be displayed in the print screen, and the order should not reprint itself automatically after the first time we go on the print screen 2014-11-05 20:02:49 +01:00
Christophe Simonis d36eee98fb [MERGE] forward port of branch 7.0 up to 65d92da 2014-11-05 19:34:18 +01:00
Christophe Simonis 388732dfa6 [IMP] *: one Makefile to rules them all.
Create one unique generic Makefile to compile sass files.
2014-11-05 19:30:28 +01:00
Olivier Dony 65d92dadf4 [FIX] base: incorrect code and locale for Bosnian
Stems from prebiblical commit f083aa2.

Fixes #3480
2014-11-05 19:09:23 +01:00
Christophe Simonis 6239cf5c49 [MERGE] forward port of branch saas-3 up to 48ffbb6 2014-11-05 19:00:51 +01:00
Christophe Simonis 48ffbb68fb [MERGE] forward port of branch 7.0 up to cb91966 2014-11-05 18:58:07 +01:00
Julien Legros cb91966b11 [REVERT] 056c06570c and a5cf719739 2014-11-05 18:26:34 +01:00
Christophe Simonis fbd3041c55 [FIX] website: correct padding of footer 2014-11-05 17:44:34 +01:00
Lionel Sausin (Numérigraphe) 3b69d40a80 [IMP] sale_order_dates: quotation views (backport of b5e9e11)
Add the same fields on the quotation tree view than on the sale order tree view.
2014-11-05 17:42:21 +01:00
Julien Legros 056c06570c [FIX] account_asset: asset depreciation should use the correct dates
fix a5cf719739
2014-11-05 17:38:50 +01:00
Antony Lesuisse c2bff2afae [IMP] safe_eval allow math 2014-11-05 17:25:41 +01:00
Xavier Morel 06a75d0e95 [FIX] doc: typo missed when merging contribution 2014-11-05 17:12:46 +01:00
Olivier Dony 71247cebb6 [FIX] longpolling/gevent: automatically restart worker when killed
Whenever the longpolling/gevent worker dies, it
should be automatically restarted by the prefork
server, just like it happens for HTTP workers.
2014-11-05 17:09:10 +01:00
Olivier Dony 1719e6b922 [FIX] longpolling/gevent: log errors occurring in main loop 2014-11-05 17:09:10 +01:00
Olivier Dony 6c55dab261 [FIX] forum: closing spam/offensive questions should give author karma penalty
This is a partial patch for issue #3460, pending more
improvements and refinements in master.

Currently the karma penalty is hardcoded to 5*downvote penalty,
which may or may not be sufficient to prevent posting, depending
on the other karma levels.
2014-11-05 17:09:10 +01:00