Commit Graph

82646 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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 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 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
Denis Ledoux a587e1bc17 [MERGE] forward port of branch 7.0 up to 5872c24 2014-09-04 12:31:14 +02:00
Denis Ledoux 5872c2485d [FIX] stock: on partial picking, do no open a new window action if not needed
This is related to rev. dd4d72d

Not opening a new window action allows to keep the current list of stock picking being threated, and to use the next an previous arrow of the forom view of the web client.
2014-09-04 12:28:16 +02:00
Martin Trigaux e1e928ef86 [IMP] crm_partner_assign: remove inexistant onchange
This field is readonly so a onchange is useless anyway (opw 612593)
2014-09-04 10:17:18 +02:00
Denis Ledoux ff0f92acfa [MERGE] forward port of branch 7.0 up to 7307227 2014-09-03 18:26:53 +02:00
Denis Ledoux 73072272de [FIX] mrp: do not reset back stock moves to confirm
For instance, setting a BOM Phantom with:
Finished product: stockable, MTO Manufacture
Components: stockable, MTS, Buy. Inventory set to 1000
Stock moves of components are directly set to assigned once the procurement confirmed thanks to JIT
The stock moves should not be set back to confirmed after they have been assigned
2014-09-03 18:25:19 +02:00
Denis Ledoux 00ea919699 [FIX] payment_paypal: avoid json decode error
with post.pop('custom', '{}'), if the key 'custom' is not there, it will return '{}', but if the key is there, but the value is equivalent to False, the json decode will fail.
2014-09-03 15:19:26 +02:00
Olivier Dony c0d838ddb3 [IMP] web: extra comments to explain commit 57b4860
Added some cryptic comments so we remember a bit
why we have a complicated dance with on_close.
Basically we do not want to reload the
original form view until the last popup is closed,
in the case where several wizard (steps) are opened
one after the other.
2014-09-02 19:44:21 +02:00
Denis Ledoux c77c3f934c [FIX] account_payment: lin2bank correct fallback condition 2014-09-02 18:43:22 +02:00
Stéphane Wirtel 1ff7ed2758 [IMP] Optimize the schedulers of the calendar, fetchmail and base_action_rules modules
Disable the the crons when they'd have nothing to do, re-enable them when a
task is (probably) introduced
2014-09-02 18:32:27 +02:00
Denis Ledoux 57b48602fb [FIX] web: chain close action on wizard confirm
If a wizard has several steps, or laucnh a second wizard, the view from where has been loaded the initial wizard is finally reloaded
2014-09-02 17:32:37 +02:00
Denis Ledoux c3f52899dd [FIX] web: no_create, if loose focus do not open quick_create 2014-09-01 16:10:40 +02:00