Commit Graph
99161 Commits
Author SHA1 Message Date
Denis Ledoux d24ff706a9 [FIX] account_followup: check_description constraint must take into account the translation
When adding a `%` in the followup letter content,
the constraint checking there is no syntax error
is supposed to raise a warning, telling '%' must
be set as `%%` when you want to display this percentage
char.

This constraint did not take into account the translation,
so when being in another language (e.g. French),
and adding a `%`, the warning was not raised, while
it should have been.

Closes #8680
2015-09-24 17:28:00 +02:00
qsm-odoo 8ebdff6f76 [REF] web: datepicker widget
(backport of enterprise version)

* JS/XML refactoring
* Allow user to override default options for the picker
2015-09-24 17:05:28 +02:00
Laetitia Gangloff 273114204f [FIX] note: Use fancy note was re-checked on update
Set security group as not updatable. To be able to not use fancy note

Closes #4178
2015-09-24 16:41:10 +02:00
Thibault Delavallée 30e2d45ba7 [FIX] web_calendar: CompoundDomainnow in data, not instance.web anymore 2015-09-24 16:20:53 +02:00
Thibault Delavallée 486aab5098 [FIX][BACK FROM TRASH] mail: chatter: read more / read less
Read more / less feature is back (and probably ugly). It has probably been
removed when refactoring the old chatter.

[FIX] tools: html shortening: encoding issue
2015-09-24 16:20:53 +02:00
Nicolas Lempereur 09e9102605 [FIX] mass_mailing: outlook.com need absolute url
The `<base />` tag isn't handled by outlook.com, thus all relative link
to image fail to be shown.

This fix treat the most common case by using absolute url instead of
relative url.

related to opw-648463
2015-09-24 15:50:07 +02:00
Nicolas Lempereur 3e70b26f25 [FIX] website_mail: outlook and image size
Office Outlook doesn't take into account the [style] attribute, and it
doesn't manage width/height in percent value.

This commit set width/heigth attribute in pixels and also always set the
width/height in style attribute (keeping them in the original unit and
setting them to auto if not present).

Thus if the mail application doesn't support the style attribute, the
pixels fixed size are used, else the original size is used.

closes #8566
opw-648463
2015-09-24 15:49:50 +02:00
Damien Bouvy 41fce379e4 [IMP] website_sale: pricelist dropdown should not appear on every page
You usually do not need to change the pricelist when you are browsing a blog or a normal website, so this menu should only be visible in the webshop
2015-09-24 15:49:15 +02:00
yannprada f0b8e52320 [FIX] doc: typo 2015-09-24 15:36:30 +02:00
Martin Geubelle 7e77aad070 [IMP] crm: wow effect when won opportunity 2015-09-24 15:14:13 +02:00
Martin Geubelle 1b3939a8b1 [IMP] web, web_planner: add wow effect on button
* As the animations were already defined in web_planner, they are now moved in web (animations.less)
2015-09-24 15:14:12 +02:00
qsm-odoo 333018640a [FIX] web: record selector state in listview editable
Before this commit, when editing a line in a listview editable, the
record selector (checkbox) lost its state after the line edition.
2015-09-24 14:40:17 +02:00
qsm-odoo cbf25a83f4 [FIX] web: invisible element position in a listview editable
Elements which are not displayed (display: none) cannot be positionned
correctly by jQueryUI in a listview editable. Therefore, the solution is
to make them visible (but opacity: 0) during the time their position is
being computed.

This was a problem because a listview editable field may become visible
under some conditions AFTER their position was already computed.
2015-09-24 14:40:17 +02:00
Christophe Matthieu 7e8fa2aac5 [FIX] web: trigger onchange only once when write re-order sequences 2015-09-24 14:13:55 +02:00
Christophe Matthieu 19dfde8558 [FIX] web: don't trigger remove then add the record to re-order list view
To re-order the list view remove the record and add the same record after.
(If an onchange is called, the user can have a message to avoid remove a one2many item)
Add an silent option on remove function of collection, the trigger is already call when write the sequence.
2015-09-24 14:13:55 +02:00
Christophe Matthieu 7a465bf7c7 [FIX] web: clone values in read_ids (avoid external changes)
Some widgets like list editable use and change values dictionary. When the write is called, the values in the cache is equal to the changes send => field no dirty => no change triggered.
2015-09-24 14:13:55 +02:00
Goffin Simon ddd2a3e97c [FIX] account: prepare_move_lines_for_reconciliation_widget
In the case where target_currency == company_currency, the actual_debit or the
actual_credit must be equal to the amount_residual defined on the account.move.line
and expressed in the currency of the company. The actual_debit/actual_credit must
take into account the possible partial reconciliations and this is done by the
residual amount.

opw:648744
2015-09-24 12:54:49 +02:00
Denis Ledoux 9047db401d [FIX] inter_company_rules: use correct sequence and warehouse
With:
 - Two companies 'Company A' & 'Company B'
 - Sequences for SO & PO for each company
 - `so_from_po` & `po_from_so` set to True for both companies

When:
 - Company A created a PO with Company B as supplier, and validated it,
   - A SO was created for Company B, but with the sequence of Company A
   - And the warehouse of company A
   - Potentially, any fields that are company dependent (e.g. pricelist)
     used Company A
 - Company A created a SO with Company B as customer, and validated it,
   - A PO was created for company B, but with the sequence of Company A
   - Potentially, any fields that are company dependent (e.g. pricelist)
     used Company A

This revision now ensure to force the right company for sequences
and properties field.

opw-649378
2015-09-24 12:26:30 +02:00
Martin Trigaux 0a57d37b35 [FIX] website_forum: help messages
missing spaces or unclear help messages
2015-09-24 12:06:57 +02:00
Damien Bouvy 84b471cfa1 [IMP] web_editor: usability: allow saving even when nothing was changed when editing in the frontend 2015-09-24 11:50:25 +02:00
Damien Bouvy 8bc59fe58f [FIX] website_sale: multiple fixes
- fixes product ordering in shop page
- fixes "sale" ribbon that was un-removable
2015-09-24 11:50:24 +02:00
Cedric Snauwaert a0053b8aa9 [FIX] account: res_config cosmetics 2015-09-24 11:39:36 +02:00
Martin Geubelle 128ca163d2 [FIX] im_odoo_support: hide Odoo Support
As the new messaging system has been deployed, this needs to be fixed later
2015-09-24 11:25:43 +02:00
Martin Geubelle e89d528788 [IMP] web, web_planner: move 'Help' in systray
* 'Help' has now its own dropdown, directly accessible in the systray, instead of being hidden in the Administrator dropdown
* 'About' has been moved there also
* We can access the planner through this dropdown, even if the planner is hidden (complete)
2015-09-24 11:25:43 +02:00
Nicolas Lempereur 109eb755f2 [FIX] web: propagate context for pivot view fields
On the "+" in the pivot views to group by given fields, these field were
not translated in the user choosen language.

closes #8656
opw-649918
2015-09-24 10:40:01 +02:00
qdp-odoo bacd60dc1d [FIX] orm, fields: read_group on monetary fields now correctly makes the sum instead of ignoring them 2015-09-24 10:33:34 +02:00
qdp-odoo 954d9de6e1 [IMP] base, usability: hide the 'View Rates' button on unactive currencies 2015-09-24 10:33:34 +02:00
qdp-odoo 492edf9824 [IMP] account: added a test on invoice validation to avoid duplicated reference on vendor bills and refunds, because it's probably a double encoding of the same document 2015-09-24 10:33:34 +02:00
Christophe Matthieu 21c88933f7 [FIX] web_editor & website: don't display edit placeholder if the node have class oe_no_empty or oe_not_editable 2015-09-24 09:36:41 +02:00
Christophe Matthieu 69810ab9dd [FIX] ir_translation: don't insert translate values if empty
Don't need to add the empty value because ir_translation generate missing values automatically.
(bug e.g.: Link with empty string can't be clicked)
2015-09-24 09:36:41 +02:00
Christophe Matthieu ed9e91c54a [FIX] website_mass_mailing: add popup template in website assets 2015-09-24 09:36:41 +02:00
Christophe Matthieu 3bf990c9b7 [FIX] website_mass_mailing: newsletter_popup edition: remove traceback on edit and fix reset value 2015-09-24 09:36:41 +02:00
Christophe Matthieu 27d1ce0454 [FIX] web_editor: transparency of modal backdrop instead of black brackground 2015-09-24 09:36:41 +02:00
Damien Bouvy aebe287152 [IMP] analytic: account type only visible in debug/technical mode since it is unused in v9 2015-09-24 08:39:41 +02:00
Fabien Pinckaers 48c4a416e0 [IMP] Typo 2015-09-23 17:23:44 -07:00
Nicolas Martinelli ed5eecf59a [FIX] sale_stock: warning only if quantity decreased 2015-09-23 19:33:24 +02:00
Nicolas Martinelli b460f9a2aa [FIX] analytic: remove deprecated code
The field 'state' has been removed, so this is now useless.
2015-09-23 19:33:23 +02:00
Olivier Dony e4028b12af Revert "[FIX] core: close cursors open during tests"
Not necessary anymore thanks to commit
731b9f60ea.

The test cursors were leaked by the _check_accounting_configured()
function used to manually skip some tests.

After 731b9f6 the tests are skipped cleanly without
leaking cursors, so this became redundant with the reset()
function already present in the TransactionCase cleanups.

This reverts commit 57b14988b0.
2015-09-23 18:55:03 +02:00
Christophe Simonis f8b4a5e2fe [FIX] website_sale: ean13 product field has been renamed barcode 2015-09-23 17:54:42 +02:00
Christophe Simonis 38a20af9b7 [MERGE] forward port of branch saas-6 up to dfdd12e 2015-09-23 17:35:52 +02:00
Christophe Simonis dfdd12e08c [MERGE] forward port of branch 8.0 up to 0cddf87 2015-09-23 17:18:03 +02:00
Christophe Simonis 0cddf87a77 [FIX] {website_,}membership: membership should start the same day of the invoice 2015-09-23 17:15:01 +02:00
Christophe Simonis 4b9b457369 [FIX] website_quote: use correct keyword argument when calling method
(error introduce by previous forward-port)
2015-09-23 17:04:41 +02:00
Christophe Simonis 57b14988b0 [FIX] core: close cursors open during tests 2015-09-23 17:02:42 +02:00
Christophe Simonis 731b9f60ea [FIX] account: skip tests using skipTest method 2015-09-23 17:02:42 +02:00
Olivier Dony 6016b16af7 [FIX] website_sale: yet another kdiff3 mistake during fwd-port 57168a9e90 2015-09-23 16:55:20 +02:00
Martin Trigaux 852a33acb1 [FIX] base: typo in error message and add term in .pot 2015-09-23 16:53:39 +02:00
Martin Trigaux 60fad17c0c [IMP] base: do not allow to desactivate en_US
That would break a lot of methods (e.g. using formatLang method).
Closes #8659
2015-09-23 16:49:17 +02:00
Thibault Delavallée 5885e5d9d0 [FIX] website_event: categories display
Indeed the type field has been renamed to event_type_id. However some code
was still relying on the type and type_count names, instead of event_type_id
and event_type_id_count.
2015-09-23 16:22:35 +02:00
Christophe Matthieu 1c460e3ca8 [FIX] website: can add block in translate mode.
Fix for saas-6 only, don't forward port.

If the user translate a record html field like product... and add block after in English version, the translation doesn't have the new blocks.
In version >= 9.0 the translations contain only textual contents (with font, bold, color...). If a user add a block in english the block appear in all translations (with new text marked to translate).
2015-09-23 16:16:52 +02:00