Commit Graph
91923 Commits
Author SHA1 Message Date
Cedric Snauwaert ef886aed2f [FIX] web: remove datejs and replace by momentjs 2014-11-05 15:27:59 +01:00
Parth Gajjar 893d7fa864 [MIGRATE] website_forum: migration to the new API, cleaning and linting of models and controllers.
Main cleaning
- remove introduction_message, introduced in saas-6 with inboung forum, that was quite
a duplicate of description.
- renamed relevancy_option_first and relevancy_option_second, introduced in saas-4
with inbound forum
- renamed type of post to post_type to avoid confusion with the type keyword
- some cleaning in templates
2014-11-04 15:59:55 +01:00
Géry Debongnie 154533ee09 [FIX] readd get_view_id to viewmanager (webclient)
it was removed in the refactoring of the action/viewmanager, but somehow
was not readded.  This is now done, and should prevent a few crashes.
2014-11-04 13:15:43 +01:00
Turkesh Patel fd659e908b [IMP] crm: business model cleaning
Models renamings:
- crm.case.stage becomes crm.stage
- crm.case.section becomes crm.team

Model split:
crm.case.categ has been splitted into:
- crm.phonecall.tag
- crm.lead tag
- crm.claim.tag
- crm.helpdesk.tag

Models removal:
- crm.payment.mode
- crm.segmentation
- report.crm.case

Removal of the crm_profiling module

(all these refactorings have been done in order to ease new API
migrations)
2014-11-04 16:58:41 +05:30
Géry Debongnie 24048648da [FIX] fix a crash with create popup forms (web client)
it was trying to call the forme 'hide' method on the searchview.  To
solve the problem, I readded the method (and renamed it to do_hide for
consistency with views)
2014-11-04 11:08:51 +01:00
Stéphane Bidoul a1fa667be5 [IMP] point_of_sale: distinguish discounted lines
After closing a POS session, the pos order lines are grouped by product.
Instead, distinguish products with a different discount notice to have different lines for such products in the generated account.move for better traceability.
2014-11-04 10:07:42 +01:00
Alexis de Lattre 1e753e6173 [IMP] stock: display chained moves
Add field move_dest_id in stock.move form view for better debugging of complexe stock flows.
2014-11-03 18:04:39 +01:00
Martin Trigaux af21073285 [IMP] product: search on internal reference
When searching on the name of a product.template, search also on the default_code. Move the filter from product.product to product.template.
The field default_code is on the product.product but accessible through a related field, meaning when reading it will fetch only the first variant but searching on all variants.
Fixes #3399
2014-11-03 16:05:49 +01:00
Géry Debongnie 4df2e6dee3 [IMP] display breadcrumbs content in browser tabs
this change is simple, except that many actions display a form view in
'create' mode to edit some stuff (for example, most settings forms or
the 'Your session' action in point of sale).

As a work around, we use
a simple heuristic (nice word for horrible hack): the title displayed
is the title of the action if we have a single form view.
2014-10-31 14:59:06 +01:00
Géry Debongnie c4f3f06fbf [FIX] various layout fixes for searchview related issues
include modal dialog fixes, css issues in searchview, missing
field description, ...

Merge branch 'master-searchview-fixes-ged'
2014-10-31 13:59:33 +01:00
Géry Debongnie 1f5a323f2f [FIX] add missing descriptions to many fields 2014-10-31 13:57:16 +01:00
Géry Debongnie cffdd777d6 [FIX] fix database manager layout
it was hardcoded to the previous layout, so completely broken with
the css.  it now uses the current layout
2014-10-31 13:57:16 +01:00
Géry Debongnie fd7c5876f4 [FIX] fixes modal window layout bugs (addon web) 2014-10-31 13:57:16 +01:00
Géry Debongnie 6abeab7ef9 [FIX] add missing description to action 2014-10-31 13:55:58 +01:00
Géry Debongnie 533fbb162d [FIX] cursor: pointer when hovering on trash icon 2014-10-31 13:55:58 +01:00
Géry Debongnie a3369a1f26 [IMP] add a 'or' operator between custom filters (web) 2014-10-31 13:55:58 +01:00
Géry Debongnie 661d8df757 [FIX] fix bouncing buttons (when no content)
i am aware that this is an interesting hack, and that i do not resize
correctly the $buttons after the bouncing effect, but at least, it
solves the problem.
2014-10-31 11:29:07 +01:00
rsi-odoo 287f65744b [REM] project_timesheet: report_timesheet_task_user 2014-10-31 12:51:55 +05:30
Julien Legros 35a4e08751 [FIX] crm, hr: fix web_tip css selectors
Some selectors were broken by layout changes in
d822766296
2014-10-30 16:25:49 +01:00
fwi-odoo b5b2718e76 [IMP] hr: onboarding 2014-10-30 11:48:08 +01:00
Mohammed Shekha 30945bd6a3 [IMP] product: allow to search on supplier info if
no previous result found in the search, and a partner is given in
context.

Added context data in account and purchase to enable this feature;
2014-10-30 11:02:10 +01:00
Christophe Simonis cf23a5deda [MERGE] forward port of branch 8.0 up to 92c7874 2014-10-29 19:45:09 +01:00
Olivier Dony 92c7874eb8 [FIX] account: indendation error in 82588fa
The original tax should not be included if
it was found in the tax mapping, even
if it has no replacement.

Fixes #2261 (hopefully, this time)
2014-10-29 19:42:13 +01:00
Christophe Simonis 8e637bac92 [MERGE] forward port of branch saas-3 up to 21b1203 2014-10-29 19:33:02 +01:00
Christophe Simonis 21b1203ee0 [MERGE] forward port of branch 7.0 up to 43db726 2014-10-29 19:05:43 +01:00
Simon Lejeune fe6eb853a5 [FIX] l10n_fr: "passif" part of the "bilan" report
Report's model was full, but not the view. Leftover of rev 7e8dcc5600
refactoring.
2014-10-29 18:50:30 +01:00
Christophe Simonis cc4fba6089 [IMP] core: manage registries via an LRU.
When working with a large number of databases, the memory allocated to
registries wasn't limited, resulting to waste memory (especially in the
longpolling worker, which is not recycled).
The size of the LRU is depending on the soft limit configured for
workers.
2014-10-29 18:28:07 +01:00
Jeremy Kersten 787147d52b [FIX] web_calendar: cast the id into int. When you open a form view in a popup via the attr 'event_open_popup', in some cases the id is a string and so the popup is empty... FIX #545 PR #551 2014-10-29 17:43:44 +01:00
Olivier Dony 82588faa71 [FIX] account: tax mapping logic was broken by 7508b7c
The original tax should not be applied
if at least one destination tax was
applied. It should only be applied if
explicitly included in target taxes.

(Re-)Fixes #2261
2014-10-29 16:44:55 +01:00
Jamin Shah 8481fab1b1 [IMP] account_analytic_analysis : Add recurring field to product and add product to contract if it is recurring product on creation of sale order 2014-10-29 16:38:57 +01:00
Andrea Stirpe 25bc377b05 [FIX] bus: useless setTimeout call
Partial backport of master fix eb52156
Solving javascript error after refresh in ie9 `Error: useless setTimeout call (missing quotes around argument?)`
2014-10-29 16:34:00 +01:00
Simon Lejeune a03e5c42ec [FIX] website_sale: usability fixes in the checkout/address form
* `disabled` on the country select tag instead of `readonly`
* `create a new address` selected when the user set an invalid shipping
address and must correct it. Else the user was correcting the shipping
address but the option "ship to the same address" was selected.
2014-10-29 16:06:10 +01:00
Simon Lejeune a644bbaec8 [FIX] website_sale: don't apply the company name as street logic in shipping address 2014-10-29 16:06:03 +01:00
Simon Lejeune ced8c3cf3f [FIX] website_sale: remove spurious print 2014-10-29 16:05:50 +01:00
Xavier Morel 28a69fa250 [ADD] doc: support for analytics keys 2014-10-29 15:53:41 +01:00
David Monjoie 27fa742a70 [FIX] purchase: translate purchaseorder and quotation reports 2014-10-29 11:23:34 +01:00
Mohammad Alhashash 43db7267c5 [FIX] stock: UoS quantity in stock.picking
Implements the UoS TODO items on stock.picking.do_partial() to fix #1432.
Add a new method _compute_uos_qty() on product.product to computes
product's invoicing quantity in UoS from quantity in UoM.

The created invoice will use the product_uos of the stock.move, meaning keeping
the quantity specified on the partial picking and the unit of measure of the
original stock.move (e.g. recieving 1 dozen from a 12 unit picking should either
get uos=dozen, uos_qty=1 or uos=unit, uos_qty=12, not a mix of both)

Fixes #1432, opw 611479
2014-10-29 10:10:50 +01:00
Géry Debongnie 5c729c6e2b [FIX] announcement bar was broken, mea culpa (addon mail) 2014-10-29 09:58:05 +01:00
Géry Debongnie 8543175570 [FIX] various fixes with the new search view (web)
various fixes (code bugs and UI problems). some notable changes:
* lots of css fixes
* it should work with IE9+
* tooltips, confirmation dialog when removing filters
* improve main client layout (remove table structure)
* better modal windows
2014-10-29 08:42:44 +01:00
Géry Debongnie 270da77dd0 [FIX] correct a layout issue in viewmanager (webclient)
problem was that the pager was not displayed/hidden at the correct moment
Result is that when switching views, the header sometimes takes an extra
line.  The pager is now hidden just before creating the view
2014-10-29 08:38:19 +01:00
Géry Debongnie 5fc76ff7a9 [FIX] fixes an issue with non-displayed favorite filter
If someone removes the last filter in favorites menu, it removed the
divider, and therefore couldn't properly add a new filter.
2014-10-29 08:38:19 +01:00
Géry Debongnie 488bb6e803 [FIX] fix bouncing problem on create/import buttons
the bouncing is supposed to occur when clicking on the area in view list
with no content.  Problem was that the Create button was separated from
the import button while bouncing.  This commit fixes the issue in a not
really subtle way: it instead bounces the whole row.  I tried to find a
better fix, but I don't like jqueryui and i don't want to spend too much
time on this.
2014-10-29 08:38:19 +01:00
Géry Debongnie 3b537ec121 [FIX] various layout fixes for web client
* fallback support for browser without calc,
* invisible pager in some cases
* correct colors for oe_stars
* readd oe_webclient class
2014-10-29 08:38:19 +01:00
Géry Debongnie f76e7b4f19 [IMP] add warning when removing non global favorite 2014-10-29 08:38:19 +01:00
Géry Debongnie 4554647b87 [FIX] fix display issue in safari
safari needs to use css rules prefixed with -webkit-
2014-10-29 08:38:19 +01:00
Géry Debongnie 62c9795d72 [FIX] css fixes: oe_mail size, and link color 2014-10-29 08:38:18 +01:00
Géry Debongnie da9f858572 [FIX] improvements to modal windows (web client)
problem is that they sometimes collapse to a single line, making it
difficult to operate the search view. Other problem is that content is
not displayed sometimes (when sub view manager).  Other problem is that
it does not have a scrollbar.  Sidenote: modals will be properly
reworked soon (tm).
2014-10-29 08:38:18 +01:00
Géry Debongnie 2c6f576cc4 [FIX] make sure that breadcrumbs are generic (web client)
breadcrumbs incorrectly assumed that they were made with views inside
viewmanagers.  But client actions can be used in breadcrumbs, so the
action manager should play nice with these widgets.
2014-10-29 08:38:18 +01:00
Géry Debongnie 1ccd87a037 [FIX] fix various display problems with ie11, ie10, ie9 2014-10-29 08:38:18 +01:00
Géry Debongnie eb521562cd [FIX] prevent a crash in ie9 (invalid setTimeout) (bus)
The call to this.poll return undefined, and IE9 does not like undefined
values in a timeout.
2014-10-29 08:38:18 +01:00