Denis Ledoux
f9bcd67f5b
[MERGE] forward port of branch saas-3 up to b6e6b57
2014-09-17 16:25:38 +02:00
Denis Ledoux
b6e6b57326
[FIX] orm: typo during forward port 60a82133cc
2014-09-17 16:24:40 +02:00
Olivier Dony
c926b54a49
[MERGE] Forward-port saas-3 up to 09ab2d4
2014-09-17 15:16:30 +02:00
Olivier Dony
09ab2d4109
[MERGE] Forward-port 7.0 up to 938502a
2014-09-17 15:13:42 +02:00
Olivier Dony
938502aa37
[FIX] loading: always process auto-installed modules for new databases
...
If the server was started without -i or -u and
happened to initialize a fresh database,
auto-installed modules that depend
on `base` only would stay in status "to install"
without actually being installed (until the next
installation round was triggered).
This was of little consequence in 7.0, but causes
a crash in 8.0.
Fixes #953
2014-09-17 15:11:01 +02:00
Denis Ledoux
60a82133cc
[MERGE] forward port of branch 7.0 up to f5f7609
2014-09-17 13:39:13 +02:00
Denis Ledoux
f5f76094a7
[FIX] orm write: do not try to store computed & stored fields for relational records deleted by *2many fields
...
opw-613772
2014-09-17 13:32:30 +02:00
Martin Trigaux
e04a87e11f
[IMP] website_sale: do not show transaction on sale order
...
This object is quite technical and has not purpose to be displayed on a sale order.
2014-09-17 12:59:06 +02:00
Martin Trigaux
46efc164d6
Forward port of branch saas-3 up to rev 2ee1843
2014-09-17 12:58:08 +02:00
Martin Trigaux
2ee1843757
[FIX] website_sale: retrieve transactions as superuser
...
Due to additional security rules, the transactions made as public user will have a new partner_id. The transaction needs to be retrieved as admin to be set in the context.
The operations in payment_get_status are made as superuser but the session_id is checked in the assert above to avoid url manipulation.
2014-09-17 12:52:28 +02:00
Martin Trigaux
28a27a9f91
[IMP] payment: simplify rev d99835e
...
The group public is defined in base so no need to add security rule in website_payment module (same as for portal)
2014-09-17 11:05:32 +02:00
Christophe Simonis
f7511e7a6c
[FIX] payment_paypal: paypal account migration: correct search of existing providers
2014-09-16 19:53:14 +02:00
Christophe Simonis
199a8c40f5
[FIX] payment_paypal: create account with at least required fields
2014-09-16 19:50:45 +02:00
Denis Ledoux
0a9c64c17d
[FIX] auth_ldap: avoid to try twice the authentication to the ldap server
...
See #1982
2014-09-16 18:33:42 +02:00
Denis Ledoux
ce84d6107f
[FIX] point_of_sale: set journal as pos payment method on setting journal in the payment methods of a pos config when none is set.
2014-09-16 17:57:03 +02:00
Martin Trigaux
d99835ee9c
[FIX] payment: access rights limitation
...
Do not allow everybody to access account.transactions.
Restrict by default to readonly and even restrict the access with a record rule, give access to salesman.
2014-09-16 16:44:42 +02:00
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
74072441cc
[FIX] sale: backport of rev 709e22c32a
...
[FIX] sale: sale report view, wrong domain
Quotations are sale.order with state draft and sent
Sale orders are sale.order with state other than draft, sent and cancel
2014-09-15 16:57:51 +02:00
Martin Trigaux
32f5168974
[FIX] orm: do not drop foreign keys of transient models
...
During the update of a module, the existing foreign keys are dropped if they have a different ondelete_rule than the one specified on the field.
The foreign keys for many2one transiant -> non-transiant are created with cascade rule by default (see `m2o_add_foreign_key_checked` method) so the check needs to be realised in the same conditions.
2014-09-15 15:24:53 +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