Commit Graph
104963 Commits
Author SHA1 Message Date
Yannick Tivisse 4b60d5c1bd [IMP] account,sale,purchase: typo 'Payment Term' -> 'Payment Terms' 2016-08-30 13:20:23 +02:00
Yannick Tivisse 8c08a9be10 [IMP] sale,account: Various UX improvements and cleanings for onboarding purpose
SPECIFICATION:
==============

- hide income account in invoicing wizard (if user is not a accounting accountant at least)
- hide Inventory tab in products form if no access to Inventory app
- in internal category form, hide accounts if user is not an accounting accountant
- hide Vendors if no access to purchase (as well as Description for Vendors in Notes)
- remove Warranty or hide it with related access rights
- tax cloud config is not userfriendly (product form, what is TIC category? what does it imply?)
- rename Accounting tab (in products) into "Invoicing" and move Invoicing Policy and Taxcloud Config there. Make tax field visible for sales
- reset Internal notes field on product (under Notes). Used by many companies and useful for search on website.
- invoice: validate button should be for billing users only
- a sales user can't see Configuration menu (with salesteams)
- a sales user should not see Invoicing report link &nd settings link in salesteam dashboard
- a sales user should not see the field for invoicing target in dashboard (in invoicing if activated for salesteam)
- In sales team, quotations and invoices should be only one option -> that way invoicing fields & targets show up to the admin
- SO status: sale order -> Sales Order
- Everywhere: Payment Term -> Payment Terms
2016-08-30 13:20:23 +02:00
Yannick Tivisse e945b86d5a [IMP] product: Move Inventory tab in product form to stock module
By the way, move the group 'Vendors' on the inventory tab, it doesn't. It
doesn't make sense to display this information if you don't actually buy
the product
2016-08-30 13:20:23 +02:00
Damien Bouvy 63c4854841 [FIX] base: raise an actual exception and not a string 2016-08-30 10:58:52 +02:00
qsm-odoo fba51f1cbd [FIX] web_tour: correct automatic click on links
Previous implementation was checking if the element we want to click
on is a link and if this is the case, only forced a redirection. This
had been done because the redirection was not working by simulating a
click, but in fact it works, the click simulation only had to be
improved.

Also, only forcing a redirection is wrong as some links have both a
real redirection link and a event handler binded to them.
2016-08-30 10:16:40 +02:00
Jainik Patel 531ed05a43 [IMP] account: add bank statement operation presets as template in l10n modules.
In details:
* account.operation.template object renamed into account.reconcile.model
* account.reconcile.model.template object created
* added some records for l10n_be

Was PR 11230
2016-08-30 09:55:24 +02:00
qdp-odoo a267d8205b [FIX] account: fix account_reconciliation_widget when a tax is used. compute_all() now expects browse_records as parameters 2016-08-29 18:03:05 +02:00
Raphael Collet b30bc58627 [FIX] account_budget: remove print statement 2016-08-29 16:19:23 +02:00
Christophe Matthieu 6d45450520 [IMP] website_sale: better performances 2016-08-29 15:33:05 +02:00
Christophe Matthieu 688db44c42 [IMP] website_sale: improve performance, use less db request to have pricelist data
Use pricelist in the context instead of pricelist id.
2016-08-29 15:32:44 +02:00
Christophe Matthieu 50890347c1 [IMP] website: increase in performance using the cache
Avoid the excessive use of with_context method
2016-08-29 15:32:44 +02:00
Christophe Matthieu 8285ff7012 [IMP] website_sale: use env with new context for performance
The products don't need to use with_context because the pricelist and partner is already in the context; this change allow to use the cache.
2016-08-29 15:32:43 +02:00
Christophe Matthieu 166a9d26e3 [IMP] website_sale: create a new compute field to use prefetching and increase performance 2016-08-29 15:31:44 +02:00
Raphael Collet 83042027fe Revert "[FIX] website: add missing module dependency base_setup"
This reverts commit d269eb0eb6.
The issue has been fixed in 61f2c90d50.
2016-08-29 09:57:21 +02:00
Raphael Collet d269eb0eb6 [FIX] website: add missing module dependency base_setup 2016-08-29 09:49:23 +02:00
Nicolas Martinelli 61f2c90d50 [FIX] website: Google Maps API Key
Move the key field to the website config
2016-08-29 08:32:12 +02:00
Fabien Pinckaers c34346934c [IMP] website: minitour to install contact form on contact us page (usability: people think there is no contact form) 2016-08-29 01:30:48 +02:00
qsm-odoo 8729cad821 [FIX] openerp.tests: clear correct localstorage path when using phantomJS v2 2016-08-28 22:43:39 +02:00
qsm-odoo 0bcf978920 [IMP] sale,sale_crm: activate the sale_tour test 2016-08-28 22:43:39 +02:00
qsm-odoo b7791e57e9 [FIX] web_tour: use visible elements in run method
When checking for a DOM element in a run method thanks to the action
helper, visible elements are now considered first, then, if none is
found, we take the first invisible one.
2016-08-28 22:43:39 +02:00
Fabien Pinckaers 621a97dd44 [IMP] website: missing dependency with base_setup, traceback 2016-08-28 16:33:24 +02:00
Fabien Pinckaers bb98f38d95 [IMP] im_livechat: typo Quit --> Leave 2016-08-27 17:04:09 +02:00
Simon Lejeune 1871b33dbf [IMP] web: export: keep compatible fields when switching export type
Previously all the fields were removed when switching export type, even
if they are available in the newly selected export type. This commit
fixes that.
2016-08-26 18:16:35 +02:00
Christophe Simonis f4738e7bb5 [MERGE] forward port branch saas-12 up to 78e9c7f 2016-08-26 18:06:17 +02:00
Christophe Simonis 78e9c7f567 [FIX] website_event: use new t-options attribute in qweb vie 2016-08-26 17:29:15 +02:00
Christophe Simonis de0d503421 [MERGE] forward port branch saas-11 up to f0c8224 2016-08-26 16:59:45 +02:00
Pierre Masereel c855126069 [FIX] website_portal: remove keep_query on archives
It was impossible to pass from  an archive to another because of
the keep_query in the url generated that set multiple times the
same argument in the url. Removing this allow to have a 'date_begin'
and a 'date_end' corresponding to the selected archive.
2016-08-26 16:32:07 +02:00
Simon Lejeune 4a5c3499e5 [FIX] stock: picking report
The message telling you to click on the "reserve" button was not displayed
when it should.
2016-08-26 16:22:13 +02:00
Jeremy Kersten 49b705e862 [IMP] web: allow to custom button_boolean widget
eg:
    <field name="active" widget="boolean_button"
         options="{
            'terminology': {
                'string_true': 'Published',
                'hover_true': 'Unpublish',
                'string_false': 'Unpublished',
                'hover_false': 'Publish'
             }
          }"
    />
2016-08-26 15:21:09 +02:00
Jeremy Kersten 9a01be1265 [IMP] website_sale: add multi image on product template. 2016-08-26 15:21:09 +02:00
Martin Trigaux f0c8224175 [FIX] update saas-11 translations by merging 9.0 and master
using the --uses-first parameter on msgmerge this time
2016-08-26 15:19:04 +02:00
Simon Lejeune 03aae0d3d5 [FIX] mass_mailing, website_mass_mailing: "group_website_popup_on_exit" group
This group was defined in the mass_mailing module but is only working when
you install website_mass_mailing. What this group does is allowing to insert
a newsletter snippet in the page, thus it has nothing to do in the mass_mailing
module which doesn't depend on website. Also, the snippet itself was already
defined in website_mass_mailing.

Moved all the things to website_mass_mailing.
2016-08-26 15:18:36 +02:00
Christophe Simonis 717a4a51a5 [MERGE] forward port branch saas-10 up to 7a4116c 2016-08-26 14:57:43 +02:00
Martin Trigaux 84cd253c77 [IMP] remove translations for empty modules 2016-08-26 14:46:23 +02:00
Christophe Simonis 7a4116cd03 [MERGE] forward port branch 9.0 up to 1b15aa5 2016-08-26 14:43:03 +02:00
Christophe Simonis 57972b8754 [FIX] point_of_sale: group pos entries by tax
Forward-port of dc975f3b0b which have
been forgotten during previous commit
2016-08-26 14:37:55 +02:00
Richard deMeester 1b15aa590b [FIX] account_budget: reset correctly result variable
If a budget line has no analytic account id, the code is intentional
about returning a value of 0 for it.  It is possible, that in some
cases, depending on the order of lines processed, the routine returns
the previous value, as it does not initialise an important
variable on each iteration of the loop.

Closes #13303
2016-08-26 14:19:57 +02:00
qsm-odoo 142119ae3c [MERGE] web,test_new_api: convert x2many tour and move it out of web
- Convert x2many tour to new web_tour.tour system
- Move x2many tour out of web (as web is not duplicated in enterprise
anymore and the new tour system allow to define edition-only steps)
2016-08-26 13:51:03 +02:00
Christophe Matthieu 5828558137 [IMP] test_new_api: convert widget_x2many tour to use web_tour 2016-08-26 13:50:38 +02:00
Christophe Matthieu 4302dda5a4 [IMP] web/test_new_api: move widget_x2many tour into test_new_api 2016-08-26 13:50:38 +02:00
qsm-odoo b9c52e740a [MERGE] web_tour, *: new registration system + run as non superuser
* crm, project, website, website_event, website_blog, website_forum,
website_sale, web_editor

- Allow to properly extend tours with new registration system
- Allow to properly launch tours as non superuser
2016-08-26 13:43:39 +02:00
Christophe Matthieu ec85e6ecd3 [IMP] web_tour: add keydown action helper
(used by web_editor tours)
2016-08-26 13:39:55 +02:00
qsm-odoo 933949085d [FIX] web_tour,web_editor: allow running tour in every context
Previous implementation allowed to run tour as a non-superuser but
this was only working in the backend where the static file tip.xml
is always loaded. In the frontend or in other non-backend context,
this file has to be loaded just before trying to launch the tour as
a non superuser (indeed, previous implementation loaded the file in
the frontend only if the user is a superuser).
2016-08-26 13:39:55 +02:00
qsm-odoo f9a84b5ebc [IMP] web_tour, *: allow to properly extend tours
* crm, project, website, website_event, website_blog, website_forum,
website_sale

Eg: the tour 'shop_buy_product' is extended by the website_sale_options
addons to add a step to close a modal.

The current solution was requiring the module that defines the tour
to extend, then add/remove steps in the "step" key of the tour
definition.
Some of the problems with this method were:
* The "register" method calls the "update" method to immediately
search for tip to place once registered (as register may be called
after the DOM is ready). So extensions of tours were happening after
the tours were started (and the tours were not restarted).
* The addition/removal of steps was happening after they were filtered
according to the "edition" key.

To allow extension, the system is changed as follow:
* The "register" method now only saves the steps and options without
modifying them and does not call the "update" method.
* Once the DOM was ready, the tour service started listening to DOM
mutations and called the "update" tour method. Now, this "update" call
is replaced by a "_register_all" call, on DOM ready and at the end of
the current call stack (which makes sure all modules are loaded). This
"_register_all" method marks the registered tours as ready after having
filtered the steps according to the "edition" key and initialized the
current step to trigger.
* Also, tours can now define a "wait_for" option which allow them to
be marked as ready for run and update after the given deferred. Those
tours can now also be extended without having to wait for the deferred.
PhamtomJS must wait for the "ready" key to be true to run the tour.
2016-08-26 13:39:55 +02:00
Thibault Delavallée 012270b59d [REV] "[FIX] product: avoid search returning two times the same product"
This reverts commit c34972a296.

Please check what you are doing or stop committing in official branches.
2016-08-26 13:11:07 +02:00
Jeremy Kersten 8a6ce978ff [FIX] website_crm_partner_assign: fix traceback when save 'Edit Opportunity'
Add label for usability, didn't understand what was the date field e.g.

Fix bug when no priority, 'priority' field was not submitted -> save function crash
Fix bug textarea, if title_action is False, not textarea, so no field
title_action submitted -> save function crash

After this commit, we can click on save and it should work...

No priority or 0 => 0
No title or "" => ""
2016-08-26 13:05:07 +02:00
Jeremy Kersten 925b480aa9 [FIX] website_blog: link send by mail crash
/mail/view?model=blog.post&res_id=1

crash in 'res_id': self.id

AttributeError: 'blog.post' object has no attribute '_ids'
2016-08-26 13:05:07 +02:00
Jeremy Kersten 7d0f1cc23d [IMP] website_portal: increase default items per page to 20
Feedback: 10 is very few
2016-08-26 13:05:07 +02:00
Renato Lima e23e018285 [FIX] product, purchase: move purchase_ok from purchase to product module
Account uses this field from purchase module, but account don't depend of
 purchase.

Already done for sale_ok previously.

See #13268 #315 #13271
2016-08-26 13:05:07 +02:00
Martin Trigaux a120803843 [I18N] export master source terms 2016-08-26 12:46:48 +02:00