Martin Trigaux
67eb6894b8
[FIX] portal_sale: security rules matching the one of public user
...
The portal users had no access to the attributes objects (while the public user does) and was not allowed to render the shop page.
Fixes #1961
2014-09-16 14:30:16 +02:00
Denis Ledoux
9699f62b31
[MERGE] forward port of branch saas-3 up to 685fa26
2014-09-15 15:24:19 +02:00
Denis Ledoux
685fa26e83
[FIX] web: do not check if db in session match filter if no db
2014-09-15 15:22:04 +02:00
Denis Ledoux
163d7f5a53
[MERGE] forward port of branch saas-3 up to b5b7dcc
2014-09-15 14:23:58 +02:00
Martin Trigaux
b5b7dccd52
Forward port of 7.0 up to revision 42680c9
...
Well actually it's an empty forward port to avoid forward porting last 7.0 commit in saas...
2014-09-15 12:54:40 +02:00
Denis Ledoux
42680c9906
[FIX] web: backport of ebb826a
and 2372d30
...
Fixing breadcrumb not being displayed after some action button (e.g. validate invoice, opw 612763)
2014-09-15 12:38:35 +02:00
Christophe Simonis
7eab880660
[FIX] orm: correct read_group() on models with `_group_by_full` (introduced by previous forward-port)
...
also add tests of `_group_by_full` functionality
2014-09-15 12:09:35 +02:00
Denis Ledoux
782fec88ca
[MERGE] forward port of branch 7.0 up to b601015
2014-09-15 11:58:10 +02:00
Denis Ledoux
b601015800
[FIX] tools: restrict available attributes
2014-09-15 11:55:53 +02:00
Christophe Simonis
a3cf66def1
[FIX] website_event_sale: remove invalid code chunk introduced during previous forward-port (56f2b7ae0f6)
2014-09-13 17:00:51 +02:00
Christophe Simonis
56f2b7ae0f
[MERGE] forward port of branch saas-3 up to fdc6271
2014-09-12 18:53:48 +02:00
Olivier Dony
ddc78626e1
[IMP] ir.model:.fields allow setting ondelete=restrict foncustom fields
2014-09-12 17:51:56 +02:00
Christophe Simonis
fdc62713a5
[MERGE] forward port of branch 7.0 up to 9b1cdea
2014-09-12 17:28:55 +02:00
Denis Ledoux
9b1cdea223
[FIX] mrp_repair: invoice the actual invoice partner id
2014-09-12 16:25:48 +02:00
Fekete Mihai
5f9682c353
[FIX] l10n_ro: backport of fix done in res_partner.py from aa76885
...
PR #720
2014-09-12 16:06:58 +02:00
Denis Ledoux
abba7aa212
[FIX] product: can be sold as default filter for templates
2014-09-11 17:54:58 +02:00
fka-odoo
875d7ed38e
[FIX] web: sort with undefined value
...
In this awesome programming language called javascript, undefined is neither bigger nor smaller than a string. Previous code was then considering undefined values equal to any string.
This fix allows to sort in a column of a o2m field and group the undefined values together. opw 607704
2014-09-11 17:38:40 +02:00
Denis Ledoux
8c39241651
[FIX] stock: return picking, pass serial number value when returning
2014-09-11 17:21:12 +02:00
Dharti Ratani
386174cf0e
[FIX] survey: access rights error when editing
...
The wizard 'Edit Survey' > 'Add Question' was trowing an access rights error as the id was passed as a string instead of a real id. opw 607854
2014-09-11 17:01:10 +02:00
Denis Ledoux
3911468d72
[FIX] web_graph: pivot_table, use _.isEmpty to check if value_lookup is False
2014-09-11 17:00:45 +02:00
Martin Trigaux
bf9a3723c0
[FIX] hr_expense: tax amount computation
...
The tax_amount field should contain the basic amount (without tax) for base tax code. (opw 613470)
2014-09-11 13:50:16 +02:00
Denis Ledoux
948c554a83
[FIX] web: *.openerp.com to *.odoo.com
2014-09-11 09:59:21 +02:00
Martin Trigaux
f2cf6ced17
[FIX] mail: encoding of sender name with unicode
...
When sending an email, both formats 'Name <email>' or '"Name" <email>' can be used for fields 'From', 'To' and others. If the name contains unicode characters, a regex only matching '"Name" <email>' was used to encode the name with RFC2047. That meant that the name was not encoded and eventually dropped, using only the email part.
Instead of using a limited regex, use the parseaddr method from email library.
Fixes lp:1272610, opw 607683
2014-09-10 17:36:00 +02:00
Denis Ledoux
2684b7de4c
[FIX] mail: alias domain should be fetch as superuser
...
as ir.config.parameter has limited access
2014-09-10 17:26:39 +02:00
Denis Ledoux
d3ba8a840d
[FIX] website_sale: the order of the attribute list doesn't matter
2014-09-10 15:08:34 +02:00
Frederic van der Essen
c3c8276b0f
[FIX] point_of_sale: chrome was dropping the cookie when loading the company logo, resulting in an incorrect logo in multi-db setups.
2014-09-10 14:56:24 +02:00
Frederic van der Essen
3f5f76f246
[FIX] point_of_sale: fix some image chaching issues with the receipt logo. Using a random url at each fetch ensures that we don't get cached results
2014-09-10 14:56:24 +02:00
Denis Ledoux
2459cd5dd1
[FIX] ir_attachment: attachements removed on record unlink
2014-09-10 12:18:14 +02:00
Bhavik Bagdiya
8ef044616a
[FIX] web: stages positioned properly when there is no sheet
...
Fixes #271
Closes #2004
2014-09-10 12:13:05 +02:00
Denis Ledoux
0aa92fdb03
[FIX] email_template: a tag link rendering, do not process if no href
2014-09-09 19:17:23 +02:00
Denis Ledoux
36d3979e0d
[FIX] website_event_sale: take taxes from product_id_change into account
2014-09-09 19:00:58 +02:00
Denis Ledoux
b1f4a61705
[MERGE] forward port of branch 7.0 up to 8dff247
2014-09-09 18:23:32 +02:00
Simon Lejeune
2266a96420
[FIX] ir_qweb: contact widget: properly pass the context when browsing the contact
...
As the context was not transferred, it was never translated.
2014-09-09 18:16:21 +02:00
Denis Ledoux
e447a46ec8
[MERGE] forward port of branch 7.0 up to 33e0910
2014-09-09 18:02:30 +02:00
Denis Ledoux
8dff247096
[FIX] orm, read_group: read_group_fill_results handle no_leaf
2014-09-09 16:47:40 +02:00
Martin Trigaux
33e0910841
[FIX] hr_expense: tax included computation
...
When a tax included has a several childs, the source line should not be duplicated for each tax.
Without the patch, the actual product price (without taxes) would be (total - tax amount) for the last tax only (and not the sum of each tax). (opw 609104)
2014-09-09 15:57:35 +02:00
Simon Lejeune
a210420582
[FIX] web: missing backport of rev df3c6b7502
...
[FIX] web: do not try to close a destroyed dialog. trigger "closing" signal on close by top-right "X" button
2014-09-09 11:52:44 +02:00
Niels Huylebroeck
9ce08b78ce
[FIX] stock_account: Preserve action_done return value
...
stock_account module override the action_done method of stock.move but does not return the same value
This causes problems when calling this function from xmlrpc because the resulting value is now None and that is not allowed to be marshaled by default.
2014-09-08 14:34:02 +02:00
Denis Ledoux
1e374b4ad7
[FIX] ir_attachment: ignore if model uninstalled
...
if the model of an attachement no longer exists (the according module have been uninstalled, for instance), ignore the security check
2014-09-08 10:51:46 +02:00
Mohammed Shekha
25e4cd20ee
[IMP] css: width of readonly list view field
...
readonly float fields in list view were not correctly placed when the focus was on the line (seen espacially if field was large, e.g. nb_register on registration)
2014-09-05 16:39:06 +02:00
Fabien Meghazi
c981d068ab
[FIX] Restore /login redirection on SessionExpired
...
The feature was broken due to an incompatibility
when forward porting 624f256
and a78e27f
2014-09-05 16:24:59 +02:00
Loïc Bellier
31d2476c86
[FIX] stock: show the UoS quantity on picking lines
...
The pickings already show the UoS, but not the associated quantity, which makes it useless.
2014-09-05 16:18:32 +02:00
Denis Ledoux
fc5c53ca47
[FIX] point_of_sale: field type on bank statement line no longer exists
2014-09-05 15:59:43 +02:00
Denis Ledoux
085ad7fcc4
[FIX] web: do not allow to access a database if not matching db-filter
2014-09-05 14:57:59 +02:00
Rifakathusen Haradwala
f51dac038e
[FIX] mail: translate tracked fields name in chatter
...
Status tracking messages are not translated into user's language while updating any document with tracked fields (opw 612847)
2014-09-05 13:53:25 +02:00
Denis Ledoux
d824769b3c
[FIX] tools,mail: improve parsing of references from rev. 0bee015dd6
...
Backport of 8.0 fix was not enough for 7.0, because it still fails for the legacy reference match (model+res_id), which is not used in 8.0
2014-09-05 11:44:20 +02:00
Christophe Simonis
9363bc9182
[MERGE] forward port of branch saas-3 up to 3d80dc2
2014-09-04 17:51:42 +02:00
Christophe Simonis
3d80dc2bbf
[MERGE] forward port of branch 7.0 up to 59b76ee
2014-09-04 17:46:51 +02:00
Your Name
59b76ee927
[FIX] sale: keep page when confirming a sale order
...
To keep the pager and view changer after confirmation of a sale order, do not reload the view (quotation and sale order view are the same anyway)
Fixes #250
2014-09-04 17:34:46 +02:00
Somesh Khare
cce70fd4c9
[FIX] document: display Attachment(s) menu only on form view
...
The attachment menu (list and add) has no effect in tree view (not supporting multi-items upload and display), the menu should then only be displayed in these view (opw 612534)
2014-09-04 14:47:06 +02:00