Commit Graph
105650 Commits
Author SHA1 Message Date
qdp-odoo 4e0053fe86 [FIX] payment: clear the mess about electronical payment.
It is already defined as a payment method (subtype=inbound) and that's what we want. No need of adding 'electronic' in 'payment_type' selection (that crashes if we select that, btw) and 'payment_method_id_code' is a duplicate of 'payment_method_code'.
2016-09-27 12:52:50 +02:00
Jérome Maes 108d809358 [FIX] rating: do not display False in email if no value 2016-09-27 12:23:19 +02:00
Jérome Maes 5b7735fd3f [IMP] rating: submitting rating should not redirect to odoo.com
It should redirect to the web.base.url of the
instance, and not www.odoo.com
2016-09-27 12:23:14 +02:00
Jérome Maes 655a44f557 [FIX] project: menus with children are not clickable
'Project > Reports' menu show 'Tasks Analysis'. But
if you install project_issue, or rating_project, some
children menus are added, making 'Tasks Analysis'
invisible.

Trying here to set the same order for issues, ratings,
forecast as in other menus, labels and kanban card.
2016-09-27 12:23:08 +02:00
Jérome Maes cb11af726e [FIX] project: set date_assign at quick create
Set date_assign if a user is assigned to task
even if it is created from the wonderfull quick
create on kanban view.
2016-09-27 12:23:01 +02:00
qdp-odoo 7e61cd7dd3 [FIX] account, usability: add domain on partner_id field of payments 2016-09-26 17:32:05 +02:00
tdi-odoo 0eb60a8b36 [FIX] account: fix unreconciling invoices, raising a wrong error.
That bug was introduced when removing the invoice workflow, where a call to action_invoice_cancel() has been used instead of action_invoice_reopen() which does slightly different things, as you can imagine.
2016-09-26 15:21:09 +02:00
tdi-odoo 8697fe7ad6 [FIX] account, invoice: fix typo
Add a space in auto-computed description of account_invoice_line when a product with a code is chosen.
2016-09-26 14:43:12 +02:00
tdi-odoo 87f188afc6 [FIX] account: remove reason in new draft invoice created from refund
This fix prevents from giving the reason of the refund to the draft invoice created if you select the 'modify' option when refunding an invoice, which now keeps the description of the original invoice.
2016-09-26 14:43:12 +02:00
qdp-odoo 212f539bec [IMP] account: add placeholder for reason field in tax adjustment wizard 2016-09-26 14:43:12 +02:00
tdi-odoo 1533661409 [FIX] account: open tax adjusments wizard as a new window
This fix corrects the inconsistency of the 'discard' and 'cancel' buttons of the tax adjuments wizard
2016-09-26 14:43:12 +02:00
tdi-odoo e6b6463513 [FIX] account, usabilty: add form mode to action open.
This fix allows users to view the form of the invoices they accessed through the payments (via the 'invoices' button)
2016-09-26 14:43:12 +02:00
tdi-odoo 53b55399a2 [FIX] account: fix copy() of account.account
This fix allows user to duplicate bank accounts in the accounting module
2016-09-26 14:43:12 +02:00
tdi-odoo dce316f006 [FIX] account: fix tax copy() 2016-09-26 14:43:12 +02:00
tdi-odoo 7f1b7877c6 [FIX] account, usability: hide 'Ask Refund' button when invoice type is already a refund 2016-09-26 14:43:12 +02:00
Martin Trigaux c9eadcf108 [IMP] crm: remove unreleated comment
The field (commented) was removed during migration
2016-09-26 11:50:48 +02:00
qsm-odoo 5ff772c52a [FIX] website: allow redirection after click on submenu item in edit mode
Commit 3c98c78fc7 added the feature to be proposed redirection
after a click on a menu link in edit mode. This however applied to main
direct link in the menu and not sub-ones in sub-dropdowns. This commit
fixes this.
2016-09-26 09:55:44 +02:00
qsm-odoo 601f4d2714 [FIX] website_event: allow to customize "Use this tag" sentence
As the <strong/> tag which surrounds the "Use this tag" sentence also
contained a <a/> whose href is a computed one (t-att-href), the strong
was not able to be edited.
2016-09-26 09:48:01 +02:00
Martin Trigaux 6b87d26df9 [FIX] remove en.po
It was used to correct source in stable without breaking the translations.
In master it should be corrected with real translation
2016-09-26 09:31:31 +02:00
Christophe Simonis 59d6876fec FIX] .gitignore: change references to openerp directory 2016-09-23 17:29:23 +02:00
qdp-odoo 6e9d174330 [IMP] account: deploy small usability improvements with great impact 2016-09-23 15:03:40 +02:00
qdp-odoo 76fa6abfcc [IMP] l10n_be: set accounts on 0% taxes + improved name of account 440000
Because 0% taxes will appear in the account.invoice.tax object of the invoice and the account, if null, will be the expense one which is confusing.
Because 44000 is use as everyone as payable account, so removed duplicated 'Fournisseur' account
2016-09-23 15:03:40 +02:00
Damien Bouvy 0cd34718bd Revert "[FIX] product: remove empty variant on first attribute add"
This reverts commit 20e19fdf85.

Already fixed by @fwi-odoo in 82b83ac
2016-09-23 15:02:08 +02:00
Laurent Smet 20e19fdf85 [FIX] product: remove empty variant on first attribute add
Adding the attributes leave all the old variants available.

While not completely intuitive, this behaviour is not inherently
wrong. However, on the first attribute addition, it leaves a variant
with 0 attributes that can cause problems in the ecommerce. This commit
make it so that this empty variant is archived.
2016-09-23 14:50:47 +02:00
David Monjoie 5f1c771b53 [ADD] base: add OPL-1 module license
This allows people to create modules under the 'Odoo Proprietary
License' version 1.0 rather than having to rely on the rather vague
'Other Priorietary' license.

The text of the license can be found at:
https://www.odoo.com/loempia/static/examples/LICENSE

This should already have been in Odoo 9 but was mistakenly left out.
2016-09-23 14:12:30 +02:00
Laurent Smet e7d409c98c [IMP] base_gengo: Move gengo parameters from company settings to general settings 2016-09-23 13:54:20 +02:00
Thibault Delavallée 1051b7b906 [MERGE] mail, various: unsudo mail/view controller and simplify recipient groups management
* mail/view controller does not call get_access_action and other methods as
   superuser. This allows to customize the returned action
 * reimplement methods to generate recipients groups when sending notification
   emails. It is now simpler to inherit and customize
 * update various addons using it
2016-09-23 13:46:19 +02:00
qsm-odoo c4ef26d100 [IMP] web_editor: mark dirty text to translate with the translated color
The content to translate is yellow and the translated content is green
in page translation mode. When the user starts translating a paragraph
it stayed yellow, making it difficult to see the remaining content to
translate when translating a big page.

This commit colors the dirty text in a paler green so that the user can
see the distinction.
2016-09-23 11:16:16 +02:00
qsm-odoo 6ee87f74f5 [FIX] mass_mailing: properly switch to right theme images
The default image inside undropped snippet had to be switched everytime
a theme is selected, even on first theme choice as the switch_theme
method only switch images of snippet already dropped in the page.
2016-09-23 11:16:16 +02:00
qsm-odoo 05205a277e [FIX] mass_mailing: force vertical align top on td/th element 2016-09-23 11:16:16 +02:00
qsm-odoo c15a99b49a [FIX] web_editor: properly convert fa icon to images with transcoder
Previous implementation was not robust as css style was able to change
the image height.
Also refactore the method to be more efficient.
2016-09-23 11:16:16 +02:00
qsm-odoo bee594e582 [IMP] mass_mailing: exclude one class for colorpicker option instead of snippet list 2016-09-23 11:16:16 +02:00
stefanorigano 4ffe3f57a3 [FIX] mass_mailing: fix layout issue of o_mail_header_social links
Fix an issue causing a wrong icon alignment on save.
2016-09-23 11:16:16 +02:00
stefanorigano 194f13beaf [FIX] mass_mailing: refactore o_mail_block_footer_tag_line snippet
* Remove the ability to change bg-color (colours are applied to
children elements)
* Fix a layout issue in theme_resto
2016-09-23 11:16:16 +02:00
stefanorigano 3b4f976f93 [FIX] mass_mailing: review colors in snippets
* Trig default ".btn.btn-link" rather than custom ".o_mail_link" (not
used anymore)
* Define variations when a button is inside bg-beta or bg-delta
2016-09-23 11:16:16 +02:00
stefanorigano 59d4ae5c0c [FIX] mass_mailing: rename "Comparison Table" snippet to "Comparison"
Remove the word "Table" so that the name fits in one line
2016-09-23 11:16:16 +02:00
stefanorigano 0e7527ed56 [FIX] mass_mailing: allow editing properly footer copyright
- ability to edit copyrights (change year, etc.) without removing ©
- 2016 in copyrights, not 2014
2016-09-23 11:16:16 +02:00
stefanorigano 5a93f9a7b7 [FIX] mass_mailing: refactore "Discount Coupon" snippet
* Rename it to "Promo Code"
* Several text changes
* Add a CTA
2016-09-23 11:16:16 +02:00
stefanorigano 66a0f18a21 [FIX] mass_mailing: add link in o_mail_block_header_logo snippet 2016-09-23 11:16:16 +02:00
stefanorigano 5ffe7dcafb [FIX] mass_mailing: editable social links
* Move social links out of tables so that they will not trigger at
td data-selectors
* Use o_mail_no_resize class to specify that the td container is not
resizable (otherwise oe_handles will overlap the icons)
* Adapt email templates
2016-09-23 11:16:16 +02:00
qsm-odoo 3f5a27e286 [FIX] mass_mailing: properly manage td/th elements
Refactore width-x snippet option and create another option to handle
cloning and removing td elements properly.

* on_focus: the handle to resize are now hidden when the td/th is alone
on its row

* on_clone: when cloning a td element which is alone on its row, it is
instead cloned in a new row. If not, empty td are added on the whole
column to maintain table integrity.

* on_remove: handle removing td in complex table
2016-09-23 11:16:16 +02:00
Damien Bouvy d12dc84209 [FIX] account: remove default_type from context
This key causes problems down the line (since account.asset.asset
have a type field as well) caused by context propagation.

The key is not required anyway, since out_invoice is the default
type.
2016-09-23 10:10:38 +02:00
Thibault Delavallée e8cb5c6e0f [IMP][MOV] website_(portal_)sale: move access button from ecommerce to website_portal_sale
website_portal_sale adds support for sale orders in the front-end. It is therefore
in that module that we have to set the buttons in notification emails. Not in
ecommerce app.
2016-09-23 10:01:42 +02:00
Thibault Delavallée 458aaca328 [IMP] mail: reimplement grouping of notification recipients
There is now a single method easier to inherit to add specific behavior
for the display of access button as well as actions buttons. All addons
using this mechanism are updated accordingly.
2016-09-23 10:01:41 +02:00
Thibault Delavallée fcb51faa9f [FIX] mail: fix display of actions button in notification email 2016-09-23 10:01:41 +02:00
Thibault Delavallée a9bd9ab160 [FIX][IMP] various: unsudo mail/view controller and get_access_action
mail/view controller is a generic controller that redirects the user to a
given view, depending on the record and the user. Users may be redirected
to the backend form view, or to a website view. This is done notably by
calling get_access_action method that gives the action to perform (act_window
or url).

Previously this method was called using SUPERUSER. However it was therefore
impossible to know who the user was. This method is now called using the
current user. Various overrides of get_access_action have been updated to
add some logic and access rights check directly in the method allowing
more fine-grain behavior of the access action.
2016-09-23 10:01:04 +02:00
Thibault Delavallée 033fc508f4 [FIX] mail: fix notification buttons url generation
* Assign controller now effectively redirects to mail/assign instead of
   mail/assign
 * Follow and Unfollow button now uses the helper that generated the link
2016-09-23 10:00:18 +02:00
Jeremy Kersten 26c7ff9118 [FIX] gamification: don't use multimode from render_template
If render_template get list and not id, a dict is returned.
Force the param to be a int, allow to don't use the multimode from render_template.

Avoid to get message like:
 <p>{1: u'\n        </p><p>Congratulation, you have received the badge <strong>Autobiographer</strong> !\n        </p>\n\n'}
 <p>{2: u'\n        </p><p>Congratulation, you have received the badge <strong>Autobiographer</strong> !\n        </p>\n\n'}
 <p>{3: u'\n        </p><p>Congratulation, you have received the badge <strong>Student</strong> !\n        </p>\n\n'}
 <p>{4: u'\n        </p><p>Congratulation, you have received the badge <strong>Supporter</strong> !\n        </p>\n\n'}
2016-09-22 18:17:55 +02:00
Jeremy Kersten f5f066f78e [FIX] website_portal: fix key error on edit form
Fix 'Key error' dues to prematured access {key: post[key] for key in optional...
Replace street2 by company name
2016-09-22 18:17:28 +02:00
Christophe Simonis de77992320 [FIX] product: correct import order 2016-09-22 17:01:54 +02:00