Thibault Delavallée [Thu, 14 Aug 2014 09:29:00 +0000 (11:29 +0200)]
[FIX] mail, mass_mailing: do not add a link to access the document
when the email is not a notification, or not an email usign the automatic
threading. This means that when doing mass mailing with a fixed reply_to
there won't be any link to access the original document, which is what
we want. Otherwise when mailing partners, they have a link to access
their own partner profile, which does not make sense.
Olivier Dony [Wed, 13 Aug 2014 18:56:32 +0000 (20:56 +0200)]
[MERGE] Forward-port of saas-5 up to 6189c44
Olivier Dony [Wed, 13 Aug 2014 18:55:53 +0000 (20:55 +0200)]
[MERGE] Forward-port of saas-4 up to 65b6b81
Olivier Dony [Wed, 13 Aug 2014 18:54:49 +0000 (20:54 +0200)]
[MERGE] Forward-port of saas-3 up to 303d2e0
Olivier Dony [Wed, 13 Aug 2014 18:54:27 +0000 (20:54 +0200)]
[FIX] portal_sale: access rights: sale.shop was removed at cf6595b
Fixes error in forward-port b9275da
Olivier Dony [Wed, 13 Aug 2014 18:46:47 +0000 (20:46 +0200)]
[MERGE] Forward-port of saas-5 up to 20cc18d
Olivier Dony [Wed, 13 Aug 2014 15:51:17 +0000 (17:51 +0200)]
[MERGE] Forward-port saas-4 up to 847c7c8
Olivier Dony [Wed, 13 Aug 2014 15:50:03 +0000 (17:50 +0200)]
[MERGE] Forward-port saas-3 up to daaef17
Olivier Dony [Wed, 13 Aug 2014 15:49:40 +0000 (17:49 +0200)]
[FIX] portal_sale: missing closing tag in b9275da during forward-port
Olivier Dony [Wed, 13 Aug 2014 15:33:34 +0000 (17:33 +0200)]
[MERGE] Forward-port saas-4 up to 2694ed1
Olivier Dony [Wed, 13 Aug 2014 15:33:12 +0000 (17:33 +0200)]
[MERGE] Forward-port saas-3 up to b9275da
Olivier Dony [Wed, 13 Aug 2014 15:30:06 +0000 (17:30 +0200)]
[MERGE] Forward-port 7.0 up to 23cffab
Olivier Dony [Wed, 13 Aug 2014 15:20:49 +0000 (17:20 +0200)]
[FIX] portal_sale: remove more access rights, add pricelist access
Pricelist access is necessary for being able to read
the unit price of sale order lines, and does not
pose major security risks, as it does not permit
reading the actual pricelist definition.
Olivier Dony [Wed, 13 Aug 2014 13:15:29 +0000 (15:15 +0200)]
[FIX] portal_sale: remove un-necessary access rights, improve rules
Portal access rights need to be associated with
security rules, or not granted at all, as soon
as they grant access to non-trivial data.
Thibault Delavallée [Wed, 13 Aug 2014 14:45:52 +0000 (16:45 +0200)]
[CLEAN] mail_message: removed an unused import
Thibault Delavallée [Wed, 13 Aug 2014 14:45:36 +0000 (16:45 +0200)]
[FIX] mass_mailing: fixed label of ab testing not displayed in mailing
form view when not using campaigns; however this option should be displayed.
Thibault Delavallée [Wed, 13 Aug 2014 12:47:35 +0000 (14:47 +0200)]
[FIX] mail: posting on the user should be redirect to its partner, not nowhere.
Thibault Delavallée [Wed, 13 Aug 2014 12:35:25 +0000 (14:35 +0200)]
[FIX] mail: when having only mail installed, do not show any 'share with my followers' compose box. This comes only with hr, for the inbox. This was probably forgotten when updating the mailboxes hr-goal and hr-related gamification / chatter stuff.
Denis Ledoux [Wed, 13 Aug 2014 14:14:56 +0000 (16:14 +0200)]
[FIX] purchase: add purchase_order_count in kanban for purchase users only
No need to set account.group_account_manager for the field supplier_invoice_count, as account.group_account_manager implies account.group_account_user
Martin Trigaux [Wed, 13 Aug 2014 12:59:37 +0000 (14:59 +0200)]
[FIX] base: revert 19e401a for title on res.partner form
The title of the partner is restricted with a context that will change in the onchange_type. Having twice the same field will not work well.
Remove the invisible attribute as the domain is handled by the domain.
Samus CTO [Wed, 13 Aug 2014 12:45:38 +0000 (14:45 +0200)]
[IMP] calculating nextcall datetime of a cron SHOULD use the cron's user
Samus CTO [Wed, 13 Aug 2014 12:43:53 +0000 (14:43 +0200)]
[FIX] context_timestamp MUST return a "timezone aware" timestamp
Denis Ledoux [Wed, 13 Aug 2014 12:52:01 +0000 (14:52 +0200)]
[FIX] export: add the context in the export
In some cases, the data dispalyed in a list depends on the context
This context needs to be passed to the export method, so the exported data reflects correctly the data from the list view
Olivier Dony [Wed, 13 Aug 2014 11:26:22 +0000 (13:26 +0200)]
[FIX] gamification: prohibitive record rule processing with many users/goals
Due to the multi-company record rule on gamification.goal,
each access to the Goals menu and each opening of the
Messaging menu (thus calling get_serialised_gamification_summary())
is extremely slow (with several thousands goals/users).
Adding auto_join to the user_id FK on goals makes it much
faster. However it causes crashes when reading the table
because the _order of gamification.goal uses `create_date`,
which becomes ambiguous after the auto_join with res_users.
Solving this can be done by re-implementing _read_flat()
in the ORM using the internal Query object, as in search(),
which takes care of fully-qualifying all column names.
Until this is fixed, a simple workaround is to use
start_date in the _order instead of collision-prone `create_date`.
Thibault Delavallée [Wed, 13 Aug 2014 10:22:51 +0000 (12:22 +0200)]
[FIX] mail, email_template: prevent user from creating
templates in the templat_idm2o field on the wizard; prevent users from
creating models in the model_id m2o field on the template form view.
Olivier Dony [Wed, 13 Aug 2014 10:38:38 +0000 (12:38 +0200)]
[FIX] account.invoice: payments can never be shown to portal users, but residual might be needed
The residual amount is typically needed to render the
online payment forms (payment acquirers).
Payments on the other hand rely on account.move.line,
something that portal users should never be allowed to read.
Removing the field from the view by setting a model-level
group permission ensures they will not see an error.
Denis Ledoux [Wed, 13 Aug 2014 10:00:38 +0000 (12:00 +0200)]
[FIX] procurement, stock: forward port of bug fix
3609ba10f2d00a608d8f32334ae1b9a25b34f037
Olivier Dony [Wed, 13 Aug 2014 09:50:04 +0000 (11:50 +0200)]
[FIX] portal_sale: browse data for payment acquirer form with superuser ID
The payment form needs to be rendered for non-employee
users, and may require accessing extra financial data
not available for those users.
Olivier Dony [Wed, 13 Aug 2014 09:45:59 +0000 (11:45 +0200)]
[FIX] account_followup: avoid crashing when a move line has no ref
Christophe Simonis [Wed, 13 Aug 2014 09:12:20 +0000 (11:12 +0200)]
[FIX] web_graph : display the corresponding label for selection fields in graph view
Olivier Dony [Wed, 13 Aug 2014 09:08:02 +0000 (11:08 +0200)]
[FIX] ir.translation: export/import of QWeb terms
Fixes the translation term import/export logic to
support terms inside QWeb templates.
Refactored a bit the export code so the babel-based
QWeb terms extractor for ./static/src/*.xml files
uses the same logic as the regular extractor for
ir.ui.views with type QWeb.
Server-side QWeb rendering uses a mix of the native
view inheritance mechanism and the template inclusion
(t-call) mechanism. During rendering the translations
are only applied at "template" level, *after* the
view inheritance has already been resolved.
As a result translations are local to a template,
not to the inherited view in which they are actually
written.
In terms of exporting PO[T] files, this is done by
resolving the "root" QWeb template a view belongs
to, and using it as the location of the translated term.
During import there is one extra quirk for QWeb
terms: they need to be linked to the `website` model
rather than the actual `ir.ui.view` model they
are really pointing to, so the rendering phase can
properly recognize them.
Olivier Dony [Wed, 13 Aug 2014 08:51:39 +0000 (10:51 +0200)]
[IMP] website: do not translate sitemap URL
Denis Ledoux [Wed, 13 Aug 2014 08:45:36 +0000 (10:45 +0200)]
[MERGE] forward port of branch saas-4 up to b49755b
The forward port of the fix
3609ba10f2d00a608d8f32334ae1b9a25b34f037 will be done separately, as the mrp scheduler has been completely refactored from saas-5.
Conflicts:
addons/l10n_be_coda/wizard/account_coda_import.py
addons/point_of_sale/static/src/xml/pos.xml
addons/procurement/schedulers.py
Olivier Dony [Wed, 13 Aug 2014 08:44:05 +0000 (10:44 +0200)]
[FIX] orm field (new api): preserve empty values instead of folding to False
The new API introduced a small behavior change where empty
string values written or stored in a char/text field were
replaced by False (i.e. as if they were NULL).
This was done to mimic the web client behavior, but introduces
a very surprising effect: a.name = ""; assert a.name == "";
would fail. It would also require many more tests in the
code when reading existing required values from the database,
as they could still be False when an empty string value
had previously been stored, for some reason.
Denis Ledoux [Wed, 13 Aug 2014 08:29:14 +0000 (10:29 +0200)]
[MERGE] forward port of branch saas-3 up to 591326c
Denis Ledoux [Wed, 13 Aug 2014 08:20:03 +0000 (10:20 +0200)]
[FIX] pos: the widget.pos.cashier is not always defined
Rashmin Lumbhani [Tue, 5 Aug 2014 08:38:52 +0000 (14:08 +0530)]
[FIX] fleet: creation of suppliers is now correct
Christophe Simonis [Tue, 12 Aug 2014 16:38:55 +0000 (18:38 +0200)]
[IMP] models.py: _auto_init: accelerate row existance check
Using `COUNT(1)` on big table can be slow. Use `min(id)` which use
pkey index to have a quicker response
Denis Ledoux [Tue, 12 Aug 2014 16:13:27 +0000 (18:13 +0200)]
[FIX] website_customer: the extra / for url pager is not need in saas-4
Denis Ledoux [Tue, 12 Aug 2014 15:49:12 +0000 (17:49 +0200)]
[MERGE] forward port of branch 7.0 up to 60ab6f1
Denis Ledoux [Tue, 12 Aug 2014 15:45:05 +0000 (17:45 +0200)]
[FIX] web: on switch form (from list & kanban) do not load record if empty dataset
Ruchir Shukla [Sat, 21 Jun 2014 06:18:42 +0000 (11:48 +0530)]
[FIX] account_anglo_saxon: avoid duplication of price difference lines
When computing the price difference lines, in move_line_get of account_anglo_saxon, we loop on the result of super call for each lines (n * n times) to compute the price difference.
The product_id was used to match the returned line and the original invoice line. This was wrong as we could get several lines with the same product_id (and then get n * n price difference lines).
This patch adds the line id to the result of move_line_get (from account) so that account_anglo_saxon can filter more efficiently and only get one price difference per invoice line.
Fixes #704
Denis Ledoux [Tue, 12 Aug 2014 14:27:57 +0000 (16:27 +0200)]
[MERGE] forward port of branch saas-4 up to 7ecaab9
Josse Colpaert [Tue, 12 Aug 2014 14:12:42 +0000 (16:12 +0200)]
Merge pull request #1663 from odoo-dev/8.0-wmsstaging5-jco
8.0 wmsstaging5 jco various fixes from support and github issues
Martin Trigaux [Tue, 12 Aug 2014 14:08:30 +0000 (16:08 +0200)]
[FIX] web: missing self initialisation
The self is needed in the _value() method below, opw 608878
Denis Ledoux [Tue, 12 Aug 2014 14:07:35 +0000 (16:07 +0200)]
[FIX] website_customer: pager with country filter
Josse Colpaert [Tue, 12 Aug 2014 13:18:34 +0000 (15:18 +0200)]
[IMP] Not necessary as operations are computed, but more logical to do action_pack as dropdown(process)
Denis Ledoux [Tue, 12 Aug 2014 13:16:49 +0000 (15:16 +0200)]
Fabien Meghazi [Tue, 12 Aug 2014 12:27:03 +0000 (14:27 +0200)]
Merge pull request #1424 from odoo-dev/saas-5-handlemissingjs-nse
[FIX] Do not raise 500 error when an asset is missing
Note: those features are already present in master but could not be backported because the asset bundles are now completely different since the sass and less support where added.
If a forward porting occurs, you can drop this merge and keep master's version
Fabien Meghazi [Tue, 12 Aug 2014 12:22:05 +0000 (14:22 +0200)]
Added stylesheet warning for missing css asset
Denis Ledoux [Tue, 12 Aug 2014 12:16:35 +0000 (14:16 +0200)]
[MERGE] forward port of branch 7.0 up to 245bb4e
Fabien Meghazi [Tue, 12 Aug 2014 12:14:31 +0000 (14:14 +0200)]
Use console.error
Denis Ledoux [Tue, 12 Aug 2014 12:13:44 +0000 (14:13 +0200)]
[FIX] portal_claim: create claim with no partner_id
If partner_id is False, do not try to name_get
This fix is related to the rev
095be21ab17f7f731877d61c99b48b51119ff39a
Denis Ledoux [Tue, 12 Aug 2014 11:40:45 +0000 (13:40 +0200)]
[FIX] mail: to/from/reply-to addresses formated according to RFC2822
Use formataddr method from email.utils lib, which do the job correctly
Josse Colpaert [Thu, 7 Aug 2014 15:41:11 +0000 (17:41 +0200)]
[FIX] Don't change to product_uom_qty if not move
Josse Colpaert [Thu, 7 Aug 2014 15:08:16 +0000 (17:08 +0200)]
[FIX] Change two-one step wh, multi-comp wh, quantity field float, show product_uom_qty instead of product_qty in mrp production for moves
Josse Colpaert [Wed, 6 Aug 2014 12:44:45 +0000 (14:44 +0200)]
[IMP] Type manufacturing orders, remove double accounting entries, child_of, push rule global has no route
Josse Colpaert [Wed, 6 Aug 2014 12:09:58 +0000 (14:09 +0200)]
[IMP] Condition tag would not be upgraded when migrating
Josse Colpaert [Tue, 5 Aug 2014 13:39:17 +0000 (15:39 +0200)]
[IMP] No attrs for taxes and income/expense accounts
Josse Colpaert [Tue, 5 Aug 2014 13:16:53 +0000 (15:16 +0200)]
[IMP] is_product_variant not needed in most views + no delete in stock valuation history
Josse Colpaert [Tue, 5 Aug 2014 09:43:31 +0000 (11:43 +0200)]
[IMP] Gives warning when the product needs tracking in bar code interface + pack ops with packs don't need lot for related moves
Josse Colpaert [Tue, 5 Aug 2014 08:08:52 +0000 (10:08 +0200)]
[IMP] Average price correction + Lot should be changeable in bar code interface
Fabien Pinckaers [Tue, 12 Aug 2014 11:06:08 +0000 (13:06 +0200)]
[IMP] Footer message according to installed apps
Denis Ledoux [Tue, 12 Aug 2014 10:58:38 +0000 (12:58 +0200)]
[FIX] l10n_be_coda: set a meaningful filename default value
Olivier Dony [Tue, 12 Aug 2014 10:07:10 +0000 (12:07 +0200)]
[IMP] ORM: Coalesce NULL boolean values to false when generating ORDER BY
After commit f28be81, boolean columns may have more
NULL entries than before. In the (rare) cases where
a boolean column was used for an ORDER clause
(e.g. in the /shop page of website_sale), this
causes a change of the resulting ordering.
By coalescing NULL values to false in SQL,
we make the ordering consistent with what the
framework does for domain expressions with booleans,
and when reading boolean values, that is, NULL is
the same as False.
Christophe Simonis [Tue, 12 Aug 2014 10:16:36 +0000 (12:16 +0200)]
[FIX] website_sale: partially revert 086cfd5.
Use less specific css selectors in "buy product" tour.
Fabien Pinckaers [Tue, 12 Aug 2014 09:33:15 +0000 (11:33 +0200)]
[IMP] Maifest for Github README.md on main apps
Christophe Simonis [Tue, 12 Aug 2014 09:26:32 +0000 (11:26 +0200)]
[FIX] website_sale: correct "buy product" tour to search the product before selecting it
Denis Ledoux [Tue, 12 Aug 2014 09:02:15 +0000 (11:02 +0200)]
[FIX] procurement: refactor scheduler so it continues even if a procurement failed
If the mrp scheduler fails during the treatment of a procurement (due to a postgresql error, like an update lock), we let it try the other procurements, instead of stopping at the first procurement which fails.
Besides, we retry to treat the procurements which failed, until the list of the remaining procurements is always the same (meaning something is wrong and block the procurements treatment).
Fabien Pinckaers [Tue, 12 Aug 2014 08:50:17 +0000 (10:50 +0200)]
[ADD] README.md for CRM
fka-odoo [Fri, 8 Aug 2014 06:46:22 +0000 (12:16 +0530)]
[IMP] payment_paypal: better label for paypal_seller_account
Rename the paypal_seller_account field as 'Merchant ID' instead of 'Seller ID' to match paypal terminology (opw 611765)
Denis Ledoux [Tue, 12 Aug 2014 08:31:09 +0000 (10:31 +0200)]
[IMP] calendar: use registry of request in notify controllers
Jeremy Kersten [Tue, 12 Aug 2014 08:23:38 +0000 (10:23 +0200)]
[FIX] website: google_map remove trailing slash and add an attribut for disable scrolling
Fabien Pinckaers [Tue, 12 Aug 2014 07:18:44 +0000 (09:18 +0200)]
Update README.md
Fabien Pinckaers [Tue, 12 Aug 2014 07:15:51 +0000 (09:15 +0200)]
[IMP] Update Readme, business apps
Fabien Pinckaers [Tue, 12 Aug 2014 06:52:14 +0000 (08:52 +0200)]
[IMP] Update Readme, business apps
Frédéric Van der Essen [Mon, 11 Aug 2014 16:12:01 +0000 (18:12 +0200)]
Merge pull request #1731 from hmen89/8.0-pos-dom-cache-fix
[FIX] point_of_sale: DOM Cache Error
Frederic van der Essen [Mon, 11 Aug 2014 16:01:49 +0000 (18:01 +0200)]
[FIX] point_of_sale: #1558 The partner was not correctly identified on the bank statement line, creating open balances on the partner account
Grover Menacho [Mon, 11 Aug 2014 15:58:15 +0000 (11:58 -0400)]
[FIX] point_of_sale: DOM Cache Error
Christophe Simonis [Mon, 11 Aug 2014 15:37:46 +0000 (17:37 +0200)]
[FIX] ir_cron: typo introduced in commit a3d6b3a
Justin Warren [Mon, 11 Aug 2014 15:23:37 +0000 (17:23 +0200)]
[FIX] website_sale_delivery: selection of non-available delivery method
Instead of disabling non-available method, hide it to avoid confusing the user
Fixes #1720
Frederic van der Essen [Mon, 11 Aug 2014 14:56:01 +0000 (16:56 +0200)]
[FIX] point_of_sale: support for variants in the pos, one simply needed to use the display_name which contains the product variant info.
Conflicts:
addons/point_of_sale/static/src/js/models.js
Frederic van der Essen [Mon, 11 Aug 2014 11:39:39 +0000 (13:39 +0200)]
[IMP] point_of_sale: make the confirm action color less frightening & longer delay
Frederic van der Essen [Fri, 8 Aug 2014 13:27:06 +0000 (15:27 +0200)]
[FIX] point_of_sale: it was too easy to accidentally hit the close button on ipads, made it double click only
Frederic van der Essen [Fri, 8 Aug 2014 14:52:22 +0000 (16:52 +0200)]
[FIX] point_of_sale: order sequence number should take into account offline generated orders
Frederic van der Essen [Fri, 8 Aug 2014 14:03:38 +0000 (16:03 +0200)]
[FIX] point_of_sale: partners should be searchable by phone or mobile number
Frederic van der Essen [Fri, 8 Aug 2014 12:43:19 +0000 (14:43 +0200)]
[FIX] point_of_sale: order buttons were too big to be used on tablets
Jeremy Kersten [Mon, 11 Aug 2014 15:15:57 +0000 (17:15 +0200)]
[FIX] website_event: show online in event in all country. Add filter online event. Keep the date between filter.
Richard Mathot [Mon, 11 Aug 2014 14:51:42 +0000 (16:51 +0200)]
[FIX] ir_cron: typo introduced in fwdport
ae65be2b2ae98860f70a7e6f3d7679c40ea9bd93
Olivier Dony [Mon, 11 Aug 2014 14:02:08 +0000 (16:02 +0200)]
[IMP] mail.mail: simplify: no default for `headers` field
This avoids storing useless "{}" values
in the database when there are no headers,
and avoids having to update all existing
entries when this column is added.
Just requires simple tests before evaluating
the headers contents.
Olivier Dony [Mon, 11 Aug 2014 13:56:06 +0000 (15:56 +0200)]
[IMP] mail.mail: unused `import re`
Denis Ledoux [Mon, 11 Aug 2014 14:03:41 +0000 (16:03 +0200)]
[FIX] ir_cron: forgotten conflict from forward port
ae65be2b2ae98860f70a7e6f3d7679c40ea9bd93
Denis Ledoux [Mon, 11 Aug 2014 13:52:15 +0000 (15:52 +0200)]
[MERGE] forward port of branch saas-5 up to 0739bc4
Thibault Delavallée [Tue, 5 Aug 2014 10:54:03 +0000 (12:54 +0200)]
[FIX] mail: fixed bounce email recognition + invite email headers + mass mailing statistics not lost anymore
- [FIX] bounce regex: too many emails were considered as bounce and therefore
not displayed in the chatter and lost for the communication history. The regex
was not correctly looking for the bounce alias in the email_to.
- [FIX] invite email: replying to the invitation email (invitation as new
follower) now replies to the user sending the invitation.
- [FIX] mass_mailing: added a column to store the id of the original email
in addition to the many2one column. The many2one is set to null when deleting
the original email. As the information is necessary, it is saved on another
field. The many2one is necessary for indexes purpose as the inverse of
a one2many.
Denis Ledoux [Mon, 11 Aug 2014 13:31:04 +0000 (15:31 +0200)]
[MERGE] forward port of branch saas-4 up to 7ecaab9
Denis Ledoux [Mon, 11 Aug 2014 13:30:37 +0000 (15:30 +0200)]
[MERGE] forward port of branch saas-3 up to 2f4be42
Denis Ledoux [Mon, 11 Aug 2014 13:28:54 +0000 (15:28 +0200)]
[MERGE] forward port of branch 7.0 up to 3632949
qdp-odoo [Mon, 11 Aug 2014 13:23:05 +0000 (15:23 +0200)]
[FIX] account_followup: total in foreign currency displayed in the right currency instead of company currency
Denis Ledoux [Mon, 11 Aug 2014 12:39:50 +0000 (14:39 +0200)]
[FIX] web: image fields re-render on next/previous
By default, on binary images read, the server returns the binary size
This is possible that two images have the exact same size
Therefore we trigger the change in case the image value hasn't changed
So the image is re-rendered correctly
Cedric Snauwaert [Fri, 8 Aug 2014 12:09:44 +0000 (14:09 +0200)]
[FIX] css: add display table rule to oe_popup_form class
To correct the display of the "add contact" wizard in modal (buttons not well placed)