Christophe Simonis
517162ce14
[FIX] orm: do not recompute m2o stored function field at read.
...
The get() method of m2o function fields is used for 2 different things:
- call the function defining the m2o
- get the name_get representation of the value
Until this pathc, only the first case was handled, resulting to a useless
recomputation of the field when reading it.
2014-06-06 10:53:42 +02:00
Christophe Matthieu
5f43d87a33
[IMP] website_sale: display image function of the selected product variant
2014-06-06 10:40:50 +02:00
Christophe Matthieu
36a2615965
Merge pull request #360 from odoo-dev/master-sortable-kanban-sequence-chm
...
[IMP] website: Kanban is sortable for one column if the field sequence is available inside the kanban view (or one2many kanban view).
2014-06-06 10:07:32 +02:00
Christophe Matthieu
afc495a99e
[FIX] website_crm: when there is an error in required field, user_id=False in the controller overwrite the user_id browse record to display the contact form template.
2014-06-06 09:56:40 +02:00
Christophe Matthieu
5e05c028f4
[IMP] website: Kanban is sortable for one column if the field sequence is available inside the kanban view (or one2many kanban view).
2014-06-06 09:12:11 +02:00
Nicolas Bessi
9a8cdf49b0
Move setup.py in previous root in order not to break community tools based on it.
...
It should not causes any trouble as it is not used in odoo.py
2014-06-06 09:08:03 +02:00
Sandy Carter
666ea5f98a
[FIX] pep8 errors generated by odoo.py scaffold
...
Signed-off-by: Sandy Carter <sandy.carter@savoirfairelinux.com >
2014-06-06 09:03:10 +02:00
sve-odoo
132f1ee986
[FIX] Account analytic plan line name..
...
..should not be called plan itself.
2014-06-06 08:45:02 +02:00
odony
585d38c0a9
Merge pull request #357 from WizKeeD/mrp_subproduct_unlink_fix
...
[FIX] Added cascade on subproduct so they get removed with parent bom
2014-06-06 00:01:39 +02:00
Oliver Laurent
306d5c89a0
[FIX] orm: do not resize unlimited char fields
2014-06-05 19:05:36 +02:00
Laurent Mignon
6788edcdd0
[FIX] ir_cron: use the same search criteria as when listing job to excecyte when acquiring the ock on the job before its execution to prevent running already executed job
...
Backport of fix made in trunk
2014-06-05 18:59:03 +02:00
Denis Ledoux
4b884ed100
[FIX] website: on adding a slide to slider, new slide is last on save
...
Before, the new slide was set as first slide
Moreover, the indicators were not correct neither
2014-06-05 18:58:01 +02:00
Martin Trigaux
81ae6cdeeb
[IMP] stock: when checking the state of the product, do not recompute the quantity on every move but only the one currently browsing (optiomisation)
2014-06-05 18:38:19 +02:00
Denis Ledoux
4b3cec8ecf
[FIX] website_event_track: remove trailing comma in speakers name in event tracks
2014-06-05 17:50:15 +02:00
Xavier Morel
a9a83d00c9
[REM] python-qweb support for as-less foreach
2014-06-05 17:49:08 +02:00
Christophe Simonis
bd51bf1e35
Merge pull request #358 from ajite/master-fix-nowww
...
[IMP] Db filter %h
2014-06-05 16:32:32 +02:00
Augustin Cisterne-Kaas
1dfa3946b5
[IMP] Db filter %h
...
Db filter %h skips www subdomain.
2014-06-05 16:09:04 +02:00
Xavier Morel
e5560a2785
[REM] test for removed 'feature' of refusing always -> disabled writes on views
2014-06-05 16:08:42 +02:00
xmo-odoo
254c65b0c4
Merge pull request #352 from xmo-odoo/command-shebang
...
[FIX] shebang on odoo.py
2014-06-05 15:53:49 +02:00
Denis Ledoux
7129ec957a
[FIX] document_page: allow other users than administrator to create menu to a static page
...
User should be at least have Configuration settings group to be allowed to create actions. Basic document page users do not have this rights, therefore we temporary give superuser_id to create the action
This is related to rev 133c5033a0
2014-06-05 15:53:28 +02:00
Holger Brunn
d66c96ffa9
[FIX] project_timesheet: don't trigger write if there is nothing to write
...
Triggering an empty write could break constraint (can not update past timesheet) (opw 606963)
2014-06-05 15:44:18 +02:00
Martin Trigaux
b64256d56a
Merge pull request #348 from sve-odoo/patch-2
...
[ADD] Default value for product_supplierinfo.min_qty
2014-06-05 15:37:21 +02:00
Christophe Simonis
ab9ac783db
[FIX] web: many2many field handle "no_create" option
2014-06-05 13:46:53 +02:00
Xavier Morel
767cb9afa1
[FIX] shebang on Python
2014-06-05 13:20:07 +02:00
Xavier Morel
fcb82dc5f1
[IMP] add XID to view name in Ace editor dropdown
...
When looking for template bit to override or alter (in-core) through the Ace
editor, displaying only the name is a pain:
- the name generally sucks diseased donkey balls
- having to go through the code to find out what the template's XID is is a
waste of time
2014-06-05 13:10:48 +02:00
Martin Trigaux
426993e06d
uninstall: avoid errors during uninstall
...
When uninstalling a module, remove the ir.model.constraint after removing the non-model records and before fields and model definition.
Without this fix, some constraint would be removed too early allowing to have broken relations and data left from removed module.
2014-06-05 12:52:11 +02:00
Xavier Morel
08b1107413
[IMP] add kwargs to scaffolded controller so ?debug does not blow up by default
2014-06-05 12:32:12 +02:00
Xavier Morel
b973e27da5
[IMP] views: don't prevent always -> disabled writes in views, is confusing and not very useful
2014-06-05 12:22:37 +02:00
Xavier Morel
0de6710c3c
[IMP] guard for None enum, remove 1 level of indent
2014-06-05 12:05:24 +02:00
Xavier Morel
7f0db3c257
[IMP] use Sized for iterable size and remove support for count
2014-06-05 12:03:16 +02:00
Xavier Morel
03b75477ec
[IMP] use enumerate instead of explicit index thing
2014-06-05 12:01:44 +02:00
Xavier Morel
0b3abaf4ce
[FIX] _even/_odd were reversed, also some reformatting thing
2014-06-05 12:01:04 +02:00
Xavier Morel
34097b4f88
[IMP] mandate a variable name in foreach
2014-06-05 11:46:56 +02:00
Denis Ledoux
76d909bb46
[FIX] account_analytic_analysis: Only allow to select sale pricelist for contracts
2014-06-05 10:45:14 +02:00
Denis Ledoux
9c9cacd1d0
[FIX] account_analytic_analysis: Recurring invoice lines price if pricelist does not match
...
If the price according to price list is False, use default sale price in the recurring invoice lines
2014-06-05 10:42:02 +02:00
Olivier Dony
d1b0d2586b
[FIX] ir.qweb: rendering non-string attributes could cause unicode errors (Issue #282 )
...
This occurs because werkzeug.utils.escape() auto-casts
non-basestring values to unicode, while we expect to be
working with bytestrings only.
So when evaluating attribute values, make sure we always
return bytestring values, never int, bool or unicode.
2014-06-05 10:11:23 +02:00
sve-odoo
b33bf57832
[ADD] Default value for supplierinfo.min_qty
...
And remove default value for function field "qty"
2014-06-05 09:55:30 +02:00
Paul Catinean
d82779684d
[FIX] Added cascade on subproduct so they get removed once the parent boms are removed
2014-06-04 22:17:02 +02:00
Christophe Simonis
0eb602dd61
[MERGE] forward port of branch saas-5 up to 651e5ac
2014-06-04 19:25:40 +02:00
Christophe Simonis
651e5acd5d
Merge pull request #344 from odoo-dev/saas-5-fix-mrp.bom-wrong-bom_find-check-chm
...
[FIX] mrp.bom: wrong check for bom_find.
If the user defined a bom line type phantom to a product without bom the check is wrong to display the error message.
2014-06-04 19:22:31 +02:00
Thibault Delavallée
1dc7d4d3d8
[FIX] mass_mailing: fixed computation of mailing domain when having more than 1 mailing list added in the recipients. A bit longer, but less buggy.
2014-06-04 18:54:20 +02:00
Christophe Matthieu
fabbcf508f
[FIX] mrp.bom: wrong check for bom_find. If the user defined a bom line type phantom to a product without bom the check is wrong to display the error message.
2014-06-04 18:44:02 +02:00
Thibault Delavallée
00b8f5b001
[FIX] mass_mailing: mailing form view: better display of action buttons, avoiding having several 'red action buttons' at the same time.
2014-06-04 18:20:55 +02:00
Denis Ledoux
9bcda15b97
[FIX] website: prevent to split google analytics script
2014-06-04 16:15:16 +02:00
Martin Trigaux
de2f57435e
[MERGE] l10n_es: Complete refactoring of l10n_es, courtesy of @pedrobaeza
...
See also:
- https://code.launchpad.net/~pedro.baeza/openobject-addons/7.0-l10n_es-refactorized/+merge/196809
- http://serviciosbaeza.com/blog/43-refactorizacion-de-l10n-es-para-openerp-v7
2014-06-04 15:53:28 +02:00
Martin Trigaux
25292ef0a5
[FIX] point_of_sale: correct call to default value
...
The default value should be called with a lambda otherwise the payment_date is set to the date the server was started (opw 606715)
2014-06-04 15:19:57 +02:00
Martin Trigaux
7b31b082a1
[FIX] kanban: avoid wrong placement of button on ie9
...
On ie9, the 'read more' button in kanban view was placed in the middle of the window instead of the bottom
2014-06-04 15:06:53 +02:00
Denis Ledoux
489742873d
[FIX] website_sale: backport commit 3cc4785ba6 of master
...
This fix aimed saas-5, not master.
original Commit message:
display accessory field in form view and display the good accessory product inside ecommerce
This is related to previous rev 86055fb8cd
2014-06-04 11:25:51 +02:00
Denis Ledoux
86055fb8cd
[FIX] website_sale: accessory_product_ids are product.product, not product.template
...
This many2many field should actually have product.template as relation
But, in a stable release, we cannot alter the database
Therefore, when displaying accessory products in the card, it display the product_tmpl_id of the product.product, not itself
This relation should be changed in trunk
+ Actually displaying this field in the backend
2014-06-04 10:44:56 +02:00
Martin Trigaux
841e47a46a
[FIX] stock: use correct vals in grouped invoice (opw 606535)
...
When creating a grouped invoice, the invoice_vals value is used to create the invoice line.
The value was not reset for grouped invoice and we reused the values of previous line.
2014-06-04 10:42:43 +02:00