Olivier Dony
2af03e1b6e
[MERGE] Forward-port latest 7.0 bugfixes, up to f8671cb
2014-05-22 16:44:33 +02:00
Olivier Dony
02035b27b8
[RESTORE] Restore *.sxw files, skipped during bzr-to-git conversion to discard older binary blobs
2014-05-22 14:07:15 +02:00
Martin Trigaux
35a07975de
[FIX] website_sale: add the parameter _mail_post_access on product.template
...
This parameter gives the possibility to post messages en product.template to
people having a read access. The website_sale giving the possibility to post
comments, people not belonging to the 'Sale Manager' group were not able to
post messages.
2014-05-22 12:15:45 +02:00
Martin Trigaux
1ae8c980c3
Merge pull request #55 from yvaucher/7.0-fix-1319095
...
report_webkit: use safer and non-deprecated methods to handle temporary files
2014-05-22 12:05:05 +02:00
Martin Trigaux
a096ae0080
[FIX] http: force rolleback for failed http request
...
1st issue:
When an exception was raised, it was badly handled by the website in case of
website_enabled key. The response page was generated without calling super.
The WebRequest object being responsible to rollback the transaction in case
of errors.
2sd issue:
The _failed attribute is required to rollback the transaction in an WebRequest
object. Previously it was only set in the JsonRequest object (which inherit
from WebRequest), replace by call to super. The attribute _failed is now set
in the WebRequest object.
2014-05-21 19:12:37 +02:00
Martin Trigaux
91d61212e1
Merge pull request #14 from savoirfairelinux/7.0-crossovered_unicode_1292245
...
[FIX] Fix account_budget name unicode error (7.0 lp:1292245)
2014-05-21 16:51:34 +02:00
Martin Trigaux
abe5c803a0
[IMP] account: support for partial reconciliation in aged partner balance
...
When computing the aged partner balance, the partial reconciliation was not
handled correctly. The reconciled amount should be removed from the original
remaining amount instead of displaying two entries in the journal.
eg: if invocie of 1000 in period 1 and payment of 300 in period 2, should only
display +700 in period 1 instead of two entries
2014-05-21 15:48:35 +02:00
Denis Ledoux
6958d47694
[FIX] account_analytic_analysis: recurring invoices prepare and product_id_change
...
product_id_change set the description with the same behavior as sale orders
product_id_change set the price unit according to the pricelist
_prepare_invoice is split into two sub methods, _prepare_invoice_data and _prepare_invoice_line
_prepare_invoice actually prepare the invoice values instead of directly creating the invoice
2014-05-21 12:57:28 +02:00
Christophe Simonis
38abc8a006
[MERGE] forward port of branch 7.0 up to revid b09b6a0
2014-05-20 18:57:04 +02:00
Martin Trigaux
d88ecfa970
[FIX] sale: in paypal, the encoding of the url should be done with werkzeug instead of urllib for better handeling of unicode (opw 607866)
2014-05-20 10:16:17 +02:00
Denis Ledoux
44dca825e0
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 10056 revid:dle@openerp.com-20140519133339-uxb01aik1z8wu1sy
2014-05-19 15:36:48 +02:00
Denis Ledoux
a8a085eabb
[FIX] point_of_sale: opw-607551, mark the pos order as paid before trying to create the picking, so in case the picking could not be created for one reason or another, the pos order workflow process continue.
...
This commit partially reverts rev. 6036 revid:fp@tinyerp.com-20111219220053-tn5gc1lmc13fjpyf, the second part of this commit already has been revert in a previous revision.
2014-05-19 15:33:39 +02:00
Martin Trigaux
de802a9c1a
[FIX] auditrail: fix read rules to record the current state (opw 606956)
2014-05-19 15:13:07 +02:00
Dharti Ratani (Open ERP)
428e292300
[IMP]Improved as per the comment
2014-05-19 17:39:24 +05:30
Denis Ledoux
87a8e5dc9c
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 10054 revid:dle@openerp.com-20140519103020-bcqz4rssbqsvn9m7
2014-05-19 12:39:42 +02:00
Denis Ledoux
571e23f3d5
[FIX] marketing_campaign: server actions always return None or False, and the return value of method _process_wi_action should return True whatever what the server action returns
...
If the server actions returned None instead of False, the next activity was not triggered, while it should
2014-05-19 12:30:20 +02:00
Denis Ledoux
7f0a167cf7
[REVERT] revid:jke@openerp.com-20140507120144-m177kqxa3fbfl37r: create_picking checks if the order is in state draft before doing anything. Writing the state 'paid' just before calling this method is then not a good idea
2014-05-18 13:25:23 +02:00
Launchpad Translations on behalf of openerp
c2584c8cb0
Launchpad automatic translations update.
2014-05-18 05:53:48 +00:00
Launchpad Translations on behalf of openerp
6ab0f645bc
Launchpad automatic translations update.
2014-05-17 07:10:37 +00:00
Sandy Carter
5597c25acf
[FIX] Fix account_budget name unicode error
...
Fix bug https://bugs.launchpad.net/openobject-addons/+bug/1292245 :
Invoice budget's warning when crossovered budget lines are not related
to any account will cause a UnicodeEncodeError if the account has
unicode-only characters such as é.
Make sure that the budget name is a unicode to avoid UnicodeEncodeError
which happens when budget name contains UTF-8 characters.
Signed-off-by: Sandy Carter <sandy.carter@savoirfairelinux.com>
2014-05-16 16:46:39 -04:00
Martin Trigaux
e30aae5044
[FIX] website_quote: message_post expects the attachments to be NOT in base64 format (opw 607477)
2014-05-16 16:47:29 +02:00
Denis Ledoux
3c033c76d4
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 10050 revid:dle@openerp.com-20140516110134-oadkw3xt5bhky781
2014-05-16 14:54:00 +02:00
Martin Trigaux
0fb14cbe0a
[FIX] point_of_sale: add product variant in the displayed name (opw 607456)
2014-05-16 14:06:17 +02:00
Denis Ledoux
97fd0d8ed8
[FIX] auth_oauth: Replace OpenERP.com provider by Odoo.com provider
2014-05-16 13:01:34 +02:00
Launchpad Translations on behalf of openerp
e813067041
Launchpad automatic translations update.
2014-05-16 06:43:51 +00:00
Launchpad Translations on behalf of openerp
10db161454
Launchpad automatic translations update.
2014-05-15 06:10:52 +00:00
Yannick Vaucher
4ed343455c
Fix incompatibility with Windows using tempfile.
2014-05-14 13:22:42 +02:00
Martin Trigaux
29565d96fe
[MERGE] [FIX] account: when computing a tax with include_base_amount enabled, include the child tax amounts into the sum for the next tax
2014-05-14 13:02:01 +02:00
Martin Trigaux
3ff7b48a81
[FIX] gamification: make sure than a cron running more than once a day will not report the progress more than once
2014-05-14 10:59:20 +02:00
Martin Trigaux
8ea4f581ed
Forward-port of latest 7.0, up to rev. 10046 (rev-id: launchpad_translations_on_behalf_of_openerp-20140514062049-vjclnuxlkbto0tsj)
2014-05-14 10:04:16 +02:00
Launchpad Translations on behalf of openerp
0159a72661
Launchpad automatic translations update.
2014-05-14 06:20:49 +00:00
Yannick Vaucher
494f1686c3
Use NamedTemporaryFile instead of file and of deprecated mktemp. That way we ensure 2 files created at the exact same time will have a unique name
2014-05-13 17:56:10 +02:00
Martin Trigaux
7dbfcede36
[FIX] sale_stock: when checkign the available quantity, do not include uom as it is already present in the context and will be included in the computation of product_obj.virtual_available (opw 607150)
...
fixing error message that does not match chosen units when not enough stock
2014-05-13 17:02:13 +02:00
Anael Closson
5bc76f63e9
[FIX] sale_stock: error message does not match chosen units when not enough stock.
2014-05-13 14:19:45 +02:00
Anael Closson
11a9c2d409
[FIX] sale_stock: new product uom is done twice in sale order line on change - opw 607150
...
[FIX] sale_stock: comparing stock and sale order line qty is always done with default uom rounding precision
2014-05-13 14:00:06 +02:00
Denis Ledoux
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-05-13 10:15:01 +02:00
Launchpad Translations on behalf of openerp
f173d926c8
Launchpad automatic translations update.
2014-05-13 06:28:52 +00:00
Martin Trigaux
55ac64258f
[FIX] gamification: correct name of ir.rule fixing bad copy-paste
...
bzr revid: mat@openerp.com-20140512085041-b0euexzgxgvb30oe
2014-05-12 10:50:41 +02:00
Denis Ledoux
d2716e2db9
[ADD] hw_escpos: TM-T20II printer added in supported device list
...
bzr revid: dle@openerp.com-20140512074150-9wepj7andgwrgj7x
2014-05-12 09:41:50 +02:00
Launchpad Translations on behalf of openerp
1397b7aa34
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140510075539-empsrh7k5l6q44ln
bzr revid: launchpad_translations_on_behalf_of_openerp-20140510075505-nu0zmfg57i2352lz
bzr revid: launchpad_translations_on_behalf_of_openerp-20140511070820-8xp1e2jxonp4i750
bzr revid: launchpad_translations_on_behalf_of_openerp-20140503064840-v6n2wyrm1l162bh4
bzr revid: launchpad_translations_on_behalf_of_openerp-20140504062728-9tmsk2r01vvs3avi
bzr revid: launchpad_translations_on_behalf_of_openerp-20140506072722-8xpshoxb4um6ef30
bzr revid: launchpad_translations_on_behalf_of_openerp-20140511070841-lboiasc73m8h3fb2
2014-05-11 07:08:41 +00:00
Martin Trigaux
3691ee0ca7
[FIX] gamification: avoid challenge to be initialised at the target limit (e.g. set your company data goal has a target of 0) and make sure we will compute the goal at least once
...
bzr revid: mat@openerp.com-20140509131839-lm5zt696sif1krvx
2014-05-09 15:18:39 +02:00
Martin Trigaux
3a0b63942e
[FIX] analytic: should not set mutable objects in method declaration (python gotcha)
...
bzr revid: mat@openerp.com-20140509093304-ao8ttky1trgz22ao
2014-05-09 11:33:04 +02:00
Martin Trigaux
8f43b749f4
[FIX] product: when duplicating a product, keep the language in the context
...
At the time of the context_wo_lang patch (7.0 revision 6577), the orm did not keep the language in copy_data, this patch intended to be more consistent.
Since server revision 5146 7.0, the new behaviour is to use the translated version in copy_data. Removign this change will be more consistent with the orm.
The expected behaviour is now the following:
In user lang: translated product name + translated '(copy)'
In other lang: same as original product
lp bug: https://launchpad.net/bugs/1159913 fixed
bzr revid: mat@openerp.com-20140508134937-7cbja3vsv311z5j4
2014-05-08 15:49:37 +02:00
Martin Trigaux
c636fb9dd9
[FIX] hr_holidays: better display of leave counter (opw 605016)
...
The number of leave requests left is based on the employee_id key in the context, when displaying the status of an hr.holidays we don't have the information in the name_get of the hr.holidays.status.
The fallback on the number of employees is done with the uid but we can not rely on it as well as the name_get on m2o field is done with superuser_id.
bzr revid: mat@openerp.com-20140508124946-ttyr84iajg9q6l0y
2014-05-08 14:49:46 +02:00
Martin Trigaux
133c5033a0
[MERGE] [FIX] document_page: allow other users than administrator to create menu to a static page
...
Due to a global rule on ir.values (which is created when creating a ir.ui.menu), we need to execute the action as super user.
bzr revid: mat@openerp.com-20140508093129-tzkqpizpwr7vv0zu
2014-05-08 11:31:29 +02:00
Launchpad Translations on behalf of openerp
5f1bd401f8
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140508063251-ztdomqygi2izm2o3
2014-05-08 06:32:51 +00:00
Kersten Jeremy
13d18d2bdb
[FIX] Graph - Add context in fields_get to have the right translation in col_header and other places where terms was not translate.
...
lp bug: https://launchpad.net/bugs/1317079 fixed
bzr revid: jke@openerp.com-20140507154758-0vkq9rywjyl55f5w
2014-05-07 17:47:58 +02:00
Christophe Simonis
1953aa442f
[MERGE] forward port of branch 7.0 up to revid 10037 mat@openerp.com-20140507133552-v4qsdp7qdp9iwewi
...
bzr revid: chs@openerp.com-20140507153348-g2qw61dkxvps13br
2014-05-07 17:33:48 +02:00
Martin Trigaux
e0fb0a6434
[FIX] account: when creating partial reconcilation after unreconciliating one invoice, make sure we create this partial reconcilation only if we have at least two lines
...
bzr revid: mat@openerp.com-20140507133552-v4qsdp7qdp9iwewi
2014-05-07 15:35:52 +02:00
Ravi Gohil (OpenERP)
da4333360e
[FIX] document_page: Menu for document page can only be created by superuser. (Maintenance Case: 607160)
...
lp bug: https://launchpad.net/bugs/1312665 fixed
bzr revid: rgo@tinyerp.com-20140507133222-qql3j1ttqk33une5
2014-05-07 19:02:22 +05:30