Commit Graph

88748 Commits

Author SHA1 Message Date
Thibault Delavallée e55fd50cb5 [FIX] product_email_template: fixed a bug preventing from sending emails and therefore from validating invoices when having templates without attachments linnked to a product. 2014-06-13 16:32:08 +02:00
Martin Trigaux cd95dc1a8f Merge pull request #522 from odoo-dev/saas-5-opw-609008-dhr
[FIX] event_sale: avoid traceback when remove product in onchange view
2014-06-13 16:12:27 +02:00
dhr-odoo 05c007df00 Resolved the traceback in Events > Ticket Type tab, when the product is removed 2014-06-13 18:01:57 +05:30
Olivier Dony f15cbd6520 [MERGE] Forward-port saas-4 bugfixes up to ad4c6ca 2014-06-12 18:54:36 +02:00
Thibault Delavallée 88205e292a [FIX] [IMP] website_forum: usability fix: moved answers / votes column below the text on mobile displays, because it takes too much place and restrict the place left for the text. By the way some custom css has been removed, replaced by bootstrap css. 2014-06-12 15:01:41 +02:00
Olivier Dony ad4c6caecf [MERGE] Forward-port of saas-3 bugfixes up to 9f0ecb3 2014-06-12 13:52:35 +02:00
Olivier Dony 9f0ecb3572 [MERGE] Forward-port of 7.0 bugfixes up to 4d3a5df 2014-06-12 13:49:32 +02:00
Jeremy Kersten 05ed1d1399 [FIX] Account, l10nbe - Respect name_search operator for account.account, so = really work as expected.
Also fix data file in l10nbe which was relying on the old implementation.
2014-06-12 13:29:41 +02:00
Jeremy Kersten 7d47271a02 [FIX] l10n-be data - Be more accurate in the belgium data. All accounts have by default a right padding of 0 to be on 6 char, so the csv need to have the accounts on 6 char since with have removed the default replacement of "=" by "=like" to allow the manual import 2014-06-12 13:29:41 +02:00
Jeremy Kersten 5a95d00f33 [FIX] Import - Use the right comparator to allow import with accounts_ids 2014-06-12 13:29:40 +02:00
Denis Ledoux 4d3a5df001 [FIX] sale_order: set state field track_visibility
sale_order module override state field of sale.oder (sale.sale.py) and forgot to reset the track_visibility, therefore sale orders state changes are no longer tracked once this module installed.
2014-06-12 12:37:11 +02:00
Olivier Dony 5ccfeaaeda [FIX] base_action_rule: automatic commit during background processing of rules
This will make sure already processed rules are persisted
in case a timeout occurs while processing the next ones,
ensuring that *some* progress can be made in most cases.
2014-06-11 18:42:18 +02:00
Olivier Dony cf0be50f04 [FIX] base_action_rule: prevent recursive rule trigger also when processing time-based rules
A safety guard already in place prevents the recursive
trigger of rules while another rule is being executed,
as a simple measure to prevent endless loops.
This guard was missing when processing time-based rules.
2014-06-11 18:42:18 +02:00
Olivier Dony d4356263f2 [FIX] base_action_rule: do not repeatedly trigger already-executed rules based on time condition
A programming error introduced at rco@openerp.com-20121220142445-emzzvhlw400q37c9
fails to properly check when a rule has already been executed in the past.
Time-based rules should only be executed if the trigger date is in the past and:
 - either they never executed before
 - or the last execution date is older than the trigger date
2014-06-11 18:42:18 +02:00
Olivier Dony ff8b843b18 [FIX] base_action_rule: do not force registry reload when writing on a rule unless really needed
Executing a rule always updates the `last_run` value, which would
always force a useless registry reload to occur. Only signal the
change if the rule applies to a model that was not previoulsy
monitored for base action rules.
2014-06-11 18:42:18 +02:00
odony 5d77de54e5 Merge pull request #417 from gurneyalex/7.0-fix_1311004_account_move_line_index-afe
[IMP] account.move.line: extra index on (date, id) corresponding to the default _order, courtesy of @gurneyalex.

 Fixes https://bugs.launchpad.net/openobject-addons/+bug/1311004
2014-06-11 16:41:29 +02:00
Martin Trigaux 67d127de83 Merge pull request #413 from gurneyalex/7.0-fix_lp1025703-afe
[FIX] delivery: add missing information in chained pickings
2014-06-11 15:22:47 +02:00
Martin Trigaux 882ebbbd40 Merge pull request #411 from acsone/lp-1200611_lga
[FIX] hr_timesheet_sheet: correctly set the employee on the attendance
2014-06-11 15:13:06 +02:00
Martin Trigaux b38a129d71 [FIX] account: move translatable tag
The field note on account.fiscal.position and account.fiscal.position.template should not be translatable in classic modules.
The l10n_multilang module is intendend to make chart of accounts multilang and is the place to set translate=True
2014-06-11 14:53:59 +02:00
Thibault Delavallée 907862655a [FIX] website_forum: people having enough karma can accepts answers on every question, not just their own. Fixed the condition computation. 2014-06-11 13:56:23 +02:00
Richard Mathot 89d7e78aad [FIX] survey: pagination result didn't load properly at page loading 2014-06-11 12:10:26 +02:00
Richard Mathot 2809314045 [FIX] survey: security rules mess with xmlids 2014-06-11 11:47:55 +02:00
Christophe Simonis 7bee9447c4 [MERGE] forward port of branch saas-3 up to 3c7a54a 2014-06-11 11:06:04 +02:00
Christophe Simonis 3c7a54a76c [MERGE] forward port of branch 7.0 up to 100eba8 2014-06-11 10:58:43 +02:00
Richard Mathot 194049df99 [FIX] survey: user-friendly message when login is required 2014-06-11 10:57:03 +02:00
Jeremy Kersten 100eba8eaf [FIX] fields.py - avoid dict comprehension inside a dict comprehension 2014-06-11 10:30:00 +02:00
Olivier Dony 6b85d80f23 [FIX] Wrap werkzeug.utils.escape() to accomodate signature change in 0.9
We always want to escape quotes (") as part of the process of
generating HTML output. This option (quote=True) turned into
an implicit flag with a DeprecationWarning in werkzeug 0.9.0
It is likely to disappear in a future release of werkzeug too.
A wrapper avoids this warning without loss of compatibility
2014-06-10 18:46:40 +02:00
Jonathan Nemry de9654deec [FIX] website_mail: default could be None 2014-06-10 16:57:54 +02:00
Martin Trigaux ddaac15f48 [FIX] website_mail: backport of master fix a54caabbcb 2014-06-10 16:48:19 +02:00
Christophe Simonis eedb831c0d [FIX] logging PostgreSQLHandler: mute sql_db logger to avoid logging loop if db connection or query failed 2014-06-10 16:11:11 +02:00
Martin Trigaux 505b31a2b3 Merge pull request #415 from gurneyalex/7.0-fix_lp1192115-595240-opw-skh
[FIX] delivery: do not remove the delivery method on the sale.order when adding it as an order line (useful information)
2014-06-10 16:02:10 +02:00
Martin Trigaux fdd00fe635 [FIX] account_voucher: better pay invoice wizard
If the writeoff_amount is above 0, the fields writeoff_acc_id can be displayed and is required depending of the payment option. If the writeoff_amount is reset to 0, this field should no longer be required.
2014-06-10 13:41:27 +02:00
Christophe Simonis a7c2125735 [MERGE] forward port of branch saas-4 up to 6b8e972 2014-06-10 13:15:46 +02:00
Christophe Simonis 6b8e9727e5 [MERGE] forward port of branch saas-3 up to 4601d85 2014-06-10 12:29:47 +02:00
Martin Trigaux 387093a34a gamification: when changing the domain on a goal definition give a simple check to avoid getting a traceback when the challenge is reloaded 2014-06-10 12:03:32 +02:00
Christophe Simonis 4601d85944 [MERGE] forward port of branch 7.0 up to 6fdb783 2014-06-10 11:49:14 +02:00
Christophe Simonis 6eacf91671 [FIX] logging PostgreSQLHandler: do not insert {create,write}_uid
As logs can be stored in any database, we can't insert create_uid and write_uid as it
refer to the current database not the logging one, where FK may not match
2014-06-10 11:15:52 +02:00
Martin Trigaux 6fdb783a37 Merge pull request #56 from yvaucher/7.0-fix-1319109
[FIX] report_webkit: avoid sharing parser instance globally and make it thread safe
2014-06-10 09:38:48 +02:00
Alexandre Fayolle 0ceee2a120 [IMP] add an index on account_move_line(date, id)
fixes https://launchpad.net/bugs/1311004
2014-06-06 14:47:33 +02:00
Somesh Khare(OpenERP) 81a3a4fcbb [FIX]Delivery: carrier information not propagated from sale order to pickings (Case: ref 595240)
closes lp:1192115
2014-06-06 14:34:23 +02:00
Alexandre Fayolle ac117ac220 [FIX] delivery: propagate additional fields in chained pickings
closes #367
2014-06-06 14:18:37 +02:00
Martin Trigaux 548c8e6675 Merge pull request #404 from odoo-dev/7.0-norecomputestoredm2ofuncfields-chs
[FIX] orm: do not recompute m2o stored function field at read.
2014-06-06 13:55:59 +02:00
Laetitia Gangloff 905617b530 hr_timesheet_sheet: for attendance, set default value for employee_id in the context 2014-06-06 12:55:22 +02:00
Christophe Matthieu 286ced7183 Merge pull request #405 from odoo-dev/saas-5-fix-website-contact-form-chm
[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 12:40:44 +02:00
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 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
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