Commit Graph

91826 Commits

Author SHA1 Message Date
Simon Lejeune 56b61da163 [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.
2014-11-28 16:40:55 +01:00
Simon Lejeune be96dd8595 [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.
2014-11-28 16:40:55 +01:00
Simon Lejeune 50a4da99f0 [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)
2014-11-28 16:40:55 +01:00
Aaron Bohy 1c41f36993 [IMP] Packaging: Debian: sign packages with gpg key 2014-11-28 16:40:55 +01:00
Aaron Bohy cc11331733 [FIX] Packaging: allow publishing releases in --no-testing 2014-11-28 16:40:55 +01:00
sve-openerp b747b3d30b [IMP] product: usability improvement in pricelist
Explicitly specifiy that quantities are in product uom
2014-11-28 15:50:57 +01:00
Amit Vora 4bf9dc4078 [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.
2014-11-28 15:12:14 +01:00
Commandant Custo d3b680e7b2 [FIX] ir_ui_view: Missing separator in search view 2014-11-28 15:09:57 +01:00
Goffin Simon ae294f6222 [FIX] base: QWeb monetary field rounding
QWeb monetary widget uses the precision of the currency to know the number of
digits to display on a price. The number of digits is based on log10(rounding).
For currency with rounding different than 10^x (e.g. in Switzerland 0.05
to allow 5 cents coins only), the number of displayed digits should be rounded
up. e.g. log10(0.05) is -1.3, rounded up to 2 digits.

Fixes #3233
2014-11-28 15:00:59 +01:00
Géry Debongnie 3078cfbbd1 [FIX] remove filter for new leads/opportunity (crm)
requested by fp. the filter is wrong and not very useful from a
functional viewpoint.
2014-11-28 14:26:25 +01:00
Denis Ledoux 45551cf78c [FIX] web: use mutex to wait for onchanges
This fix is related to c12a2e1d16

Mutex allow to wait sequentially for mutex
Besides, if one of the onchanges deferreds fails, it does not resolve the mutex until all deferreds of the mutex are resolved.

Besides, we now wait for the onchanges mutex between each field commited value (line 596) in case the commited value leaded to a new onchanges, that we should wait for before commiting the rest of the values.
2014-11-28 13:39:47 +01:00
Xavier Morel 479d94ea14 [IMP] wording and ordering of documentation index 2014-11-28 12:36:04 +01:00
Xavier Morel cb9ff8c630 [ADD] doc: debug flag 2014-11-28 12:14:22 +01:00
Denis Ledoux 5ccbfdd5ec [IMP] res: partner form replace widget selection by option no_create 2014-11-28 11:31:36 +01:00
Antony Lesuisse e2cfe6cbd1 [FIX] Customers remove action domain customer=1 use the context default.
Closes #3902
2014-11-28 10:54:09 +01:00
Akash Balar d4027e6182 [IMP] account: account.statement.operation.template model
- better many2one ondelete strategies
- domain set on fields, not views
- added domain on analytic_account_id field
2014-11-28 08:42:01 +01:00
Xavier Morel fd6dde7ca0 [FIX] enable --debug for non-xmlrpc contexts
fixes #3102
2014-11-28 08:35:14 +01:00
Arthur Maniet d7a46b4d84 [FIX] account: floating point comparisons in get_reconciliation_proposition 2014-11-28 05:20:09 +01:00
Denis Ledoux 1cbf48417e [FIX] translate: lang detection fallback actually falls back
For instance, when a context was passed to a method, but no lang was defined in the context, it did not tried to fallback to other places where we could have find the user language.
2014-11-27 17:18:46 +01:00
Christophe Simonis de27e19794 [FIX] fields.py: in many2one convert_to_cache, value can be int but long as well 2014-11-27 17:06:48 +01:00
Christophe Simonis 5f47fc84e9 [FIX] web: m2o search facet do no set `default_*` context key for "name_search" values 2014-11-27 17:06:48 +01:00
Christophe Simonis 9b670049b6 [FIX] fields.py: Many2one fields only put valid values in cache 2014-11-27 17:06:48 +01:00
Xavier Morel 8e9c23235a [IMP] ws doc: affix language switcher to page top 2014-11-27 16:37:27 +01:00
Xavier Morel 39d77f9e85 [FIX] doc: viewport meta missing 2014-11-27 16:37:27 +01:00
Xavier Morel 2cfd7182cc [CHG] ws doc: set right section against a dark background 2014-11-27 16:37:26 +01:00
Denis Ledoux 15d87a1732 [FIX] web_graph: pass context to fields_get for translation
In graph views, fields from the pivot table were not translated in the user language
We pass the context, containing the user language, to fields_get in order to get the translation
This is also done by the search view, in search.js line 1978 at this rev.

opw-616713
2014-11-27 16:06:05 +01:00
Denis Ledoux 62bc63e44f [FIX] web: force company_logo change on company change
In multi company environment, the company logo was not updated on company change in the user preferences
This disrupted the end user, as he might think the company change did not happen.
2014-11-27 15:21:25 +01:00
Will Stott c854404a2c [FIX] purchase(_requisition): typo negociation -> negotiation 2014-11-27 10:36:55 +01:00
David Monjoie f1c70d4cc9 [FIX] openerp: don't ignore active field on new views when updating a module
Without this fix, if you have a new view in a module with active=False, the active tag will be ignore when upgrading the module because of 'update' mode, and the view will be activated by default !
2014-11-27 09:52:17 +01:00
Olivier Dony 9bc712b075 [REV] product: rev. 42f5114 needs further review
Incorrect use of stock.move in product module + needs review.

This reverts commit 42f511405a4efe88e3903a4b4040ec9d83e462e2:
"[IMP] When no stock moves, change whatever you want, otherwise no change at all for UoM.  #3440 Enhancement request richard-willowit"
2014-11-26 18:20:28 +01:00
Josse Colpaert 42f511405a [IMP] When no stock moves, change whatever you want, otherwise no change at all for UoM. #3440 Enhancement request richard-willowit
The default UoM can only be changed when there are no stock moves (or only cancelled ones), but to any category.
The purchase UoM can be changed whenever you want, but has to be in the same category as the default UoM.

Closes #3440

[IMP] When no stock moves, change whatever you want, otherwise no change at all for UoM.  #3440 Enhancement request richard-willowit

[FIX] Remove line

[FIX] Constraint should be applied when UoM or PO UoM is changed
2014-11-26 18:01:00 +01:00
Jeremy Kersten 0313218123 [FIX] website_forum: Forum, use old API in v8. forum was not a browse record, so we need to re-browse. Tags: Force to delete tag. Before old tag deleted was not removed from relation, Now we use a 6 to force the update, followed by 0 to create. 2014-11-26 17:44:52 +01:00
Denis Ledoux 2b0a8363d9 [FIX] sale_layout: set 0 as default value for categ_sequence
Otherwise, in some cases, the categ_sequence can be set to null, which is not ordered the same way than 0, and you won't be able to sort lines with null and 0 as categ_sequence between each others
2014-11-26 17:03:42 +01:00
Maria G fde2046d5e [FIX] hr_attendance: use float division for worked_hours field
Used to be rounded to integer while the field is a float.
Fixes #3526
2014-11-26 16:46:26 +01:00
Frédéric Van der Essen 94aded554c Merge pull request #3803 from TheCloneMaster/patch-7
POS is loading all partners, not only customers
2014-11-26 16:38:44 +01:00
Mario Arias Badila d349723271 [point_of_sale] Domain functions to literals
Replaced domain functions with literals where there are only constants
2014-11-26 08:32:33 -06:00
Edy Kendengis 002664ed79 [IMP] stock: display company in location tree view 2014-11-26 15:32:25 +01:00
Christophe Matthieu d3c562d4e8 [FIX] product: keep attribute on a variant with only one attribute
When adding informational attribute, with only one possible value, it used to be skipped.
Instead keep it and add it on every variant.

To avoid dropping and recreating product (and lose eventual customisations), the attributes with only one possible value are set on every product.
This makes sure that in following test, these are not considered in variants_inactive variable.

Fixes #3204
2014-11-26 14:35:08 +01:00
Somesh Khare f317fedc4b [Fix] ir_translation: fix the problem of base_field object has no attribute model (Maintenance Case:618054)
Fixes #3859
2014-11-26 12:25:58 +01:00
Tymoteusz Motylewski 856eba1de0 [IMP] website_sale: performance on category page
public_categ_ids field was moved to product.template object
2014-11-26 12:09:37 +01:00
Martin Trigaux 342ec1083e [FIX] sale_service: typo in string Thick -> Tick 2014-11-26 12:07:53 +01:00
happyraul 8a4745f78c [FIX] doc: remove a word that does not make sense
closes #3594
2014-11-26 12:05:37 +01:00
Arthur Maniet a6de1b150c [IMP] account: bank statement reconciliation widget: allow to filter move lines on due date 2014-11-26 11:38:32 +01:00
Holger Brunn 7c070561b3 [FIX] mrp: duplicated xmlid for ir.model.access 2014-11-26 11:28:40 +01:00
Arthur Maniet 43f29b2b13 [FIX] account: bank statement reconciliation widget: correct multicurrency display 2014-11-26 11:27:46 +01:00
Christophe Matthieu 76080efdbc [FIX] website_sale: Discussion not working on product; issue: #3495 2014-11-26 10:38:38 +01:00
Christophe Matthieu 6b3777c2b6 [FIX] website_reseller: Navigation Broken for Partner List on Website issue#3522 2014-11-26 10:28:29 +01:00
Arthur Maniet 0003b7cd28 [FIX] account: bank statement reconciliation widget: disable buttons which trigger RPC calls until done 2014-11-26 09:44:50 +01:00
Paul Chater 463d332e34 [FIX] doc: typo in themes document
closes #3874
2014-11-26 09:38:51 +01:00
hiekmann 2a22a6151f [FIX] payment: docstring typo
closes #3557
2014-11-26 09:38:24 +01:00