Commit Graph
99161 Commits
Author SHA1 Message Date
Richard Mathot 8a857fad07 [REM] hr_expense,hr_holidays: unnecessary context added by ff1d3849af 2015-03-16 09:24:00 +01:00
Fabien Pinckaers 2390289d4a [IMP] typo 2015-03-14 23:12:22 -07:00
Nandan Jani 6ffef2b053 [IMP] website_quote: improve navspy tracking, make history work and cleanup
Backport of master commit 742acbb454
2015-03-13 17:03:05 +01:00
Nandan Jani d1d8802a40 [IMP] website_quote: support printing for the customer
Backport of master commit ed9f8fdbb4
2015-03-13 16:55:11 +01:00
Matt Choplin 17c1556208 [CLA] Matt Choplin
Closes #5753
2015-03-13 15:59:54 +01:00
Robert Rübner adde3e9569 [CLA] bloopark systems GmbH
Closes #5617
2015-03-13 15:01:51 +01:00
Goffin Simon 4530faae8b [FIX] account_payment: compute amount to pay
compute the amount_to_pay with  function field amount_residual on
account.move.line

opw:628903, 628428
2015-03-13 14:09:46 +01:00
Josse Colpaert 20312e2880 [IMP] Deleting PO lines should work the same way as Cancelling PO
Also the test is adapted.  When a product as treated as MTO, it should not
without notice change to an MTS.
2015-03-13 13:58:19 +01:00
Olivier Dony 7eec97a584 [FIX] website, mass_mailing: restore original FieldTextHtml widget -> FieldTextHtmlFrame only for mass_mailing
The new `summernote in iframe` version of the
FieldTextHtml widget is not ready for prime time
yet.
Usability is not very good when used as a replacement
for the previous html editor, especially in email
composer windows, and initial loading is very slow.

For now we only enable it as FieldTextHtmlFrame for
mass_mailing templates, where isolation of the
style is important (so that recipients receive the
exact same result as was displayed on screen, without
side-effects caused by backend/frontend style)

In master the summernote version will be improved
and the old CLE version will be dropped completely.
2015-03-13 13:44:06 +01:00
Xavier Morel e93ead9093 [FIX] web_calendar: error in case of creation with quick_create disabled
Broken in 82fee7dfe8 porting of quick create to Bootstrap modals: in
case quick_create is disabled, the creation of the quick_create dialog
is bypassed and so is defining this.$input, but focus() calls still
happen and blow up.

Create a dummy $input in the constructor so it's alway possible to call
this.$input.focus().
2015-03-13 13:31:25 +01:00
Christophe Simonis e67372146d [FIX] hr_holidays: correct leave type order.
Leaves types must be ordered depending on the remaining leaves for the
current user.
2015-03-13 12:13:36 +01:00
Josse Colpaert 09abac7608 [FIX] Stock: Make sure inventory works with packs and lot = False
The inventory should work with packs.  If a pack is not indicated
in the inventory line, it means we correct the quantity for the product
that is not in a pack.

Also, when the lot is False, it should not behave as normal stock moves.
It should correct for the quantity that has no lot.

We try to reconcile the negative quants in the pack also.
2015-03-13 12:11:17 +01:00
Josse Colpaert 57593e5898 [IMP] stock: picking report should show only what is reserved when partially available
Only when the picking is partially available, the system will only show the amount of products available.
That way, when working with paper, the warehouse operator will only get what is available.  This is the case
where we did not launch the bar code interface or the transfer wizard.
2015-03-13 11:48:32 +01:00
Commandant Custo deb1db281b [FIX] account: Missing label for partner VAT in invoice report
Missing label for partner VAT field in invoice report
2015-03-13 11:50:01 +01:00
Olivier Dony e9fe55b3d0 [FIX] crm: convert to opportunity wizard should not have a view switcher
`view_type` actually defaults to 'form', which is what
we want, but `view_mode` defaults to 'tree,form' which
is *not* what we want here
2015-03-13 11:32:33 +01:00
Thomas Groutars 7e0ff24cca [FIX] base: delete cascade value mapping on server action deletion
When deleting a server action, its fields_lines were not deleted.
It causes an issue for example in this case:

Create a new custom field on any model
Create a server action with
Action To Do: Write on a Record
Base model: model of the custom field
Add a line in the value mapping,
using the custom field you just created

Delete the server action

Delete the custom field => Throws an error because
required field col1 is not defined
on the ir_server_object_lines object
2015-03-13 11:25:08 +01:00
Josse Colpaert 242a76cc97 [FIX] stock: UoM of a product should not be changed when done stock moves exist.
The UoM of a product can be changed to whatever UoM if there have not been made any done stock moves.
If there are, you can not change the UoM.  If there are not done moves, you can not change the category
anymore as the conversion of the product_qty will give an error.

The reason we put the constraint is that we would need to change all the qty values of the quants
when we change UoM.  It is better to avoid this (e.g. rounding).  That is why we put the constraint.

There is no reason to restrict change of uom_po_id, except that it should
fall within the same category as the UoM.  (constraint)
2015-03-13 11:18:02 +01:00
Prashant Panchal 8fb4c02f4e [FIX] website_sale : publish button of variant jump to the correct page 2015-03-13 10:13:56 +01:00
Fabien Pinckaers c18644ddab [IMP] better tooltip / button 2015-03-13 00:03:07 -07:00
Fabien Pinckaers 4491c20bf0 Merge pull request #5728 from apertoso/8.0_fix_nl_BE_naming
[FIX] nl_BE language name
2015-03-12 15:28:07 -07:00
Lorenzo Battistini da8f1f7a57 [CLA] Lorenzo Battistini
Closes #5709
2015-03-12 20:13:30 +01:00
Ronald Portier (Therp BV) 91e5456faf [CLA] Therp BV
Closes #5588
2015-03-12 20:11:38 +01:00
Josse Colpaert 06909462b1 [IMP] mrp: Make it possible to define a rule from stock > production to use the correct procure method
It is very cumbersome to define routes which have 2 step in on production for certain products with
procurement rules (e.g. Stock > Raw Materials Location > Production), when the
products are MTS elsewhere.  That is why we add the possibility, which might be elaborated in the future,
to define rules e.g. from Stock > Production, which you can put on the product / product categories.  These
rules will only define the procure_method for now.
2015-03-12 18:23:20 +01:00
Denis Ledoux 8eb62ca282 [FIX] purchase: invoice control on purchase order lines menu.
Only display purchase orders having as invoice control method
'on purchase order lines'.

opw-630016
2015-03-12 17:55:24 +01:00
Parth Gajjar f76ca21b15 [IMP] website_forum : improve tag ordering, add 'in menu' checkox when create a forum, customize welcome_message on a forum, better fetch link title when insert it, display answers of a question on form view, ans some changes in faq 2015-03-12 15:41:10 +01:00
Thomas Groutars 3923f4051d [FIX] models: propagate context in action returned by get_formview_action
When opening a record from a many2one,
the context is not propagated to fields_view_get.
This is a problem if you set "form_view_ref" in the context for example.

opw-629628
2015-03-12 15:13:44 +01:00
Jos De Graeve 170674f994 Fix nl_BE language name 2015-03-12 15:08:10 +01:00
Christophe Simonis 3440501fd0 [MERGE] forward port of branch 8.0 up to 890174b 2015-03-12 14:46:06 +01:00
Christophe Simonis 890174b976 [FIX] procurement_jit_stock: context are frozen. 2015-03-12 14:36:23 +01:00
Christophe Simonis f17a30259a [MERGE] Empty forward port of aa38a22.
This link module is not need in saas~6 as this behavior
is now part of `procurement_jit` module (see c5dc1288)
2015-03-12 14:34:01 +01:00
Christophe Simonis 97389d34da [MERGE] forward port of branch 8.0 up to 1ac4d31 2015-03-12 14:30:24 +01:00
Aaron Bohy 2c1e81a4a0 [FIX] Mail: mail.js Favorite search loading
In Messaging, default filters were never loaded because the action
wasn't given as argument to the searchview initialization. The action is
required for the filters to be loaded since rev. 5cd78b891b.
2015-03-12 14:16:45 +01:00
Aaron Bohy 10e13cdb25 [FIX] google_spreadsheet: 'add to spreadsheet' in Favorites
The option 'add to spreadsheet' works under the hypothesis that the
current action is a ViewManager. It crashes in other contexts (e.g. in
Messaging, mail box), as it tries to retrieve the list_view id of the
ViewManager.

We now only add the option in the Favorite menu if the current action is
a ViewManager.
2015-03-12 14:16:45 +01:00
Géry Debongnie f9cdd19cdb [FIX] web: fix searchview menus height
first, I want to say that I'm not proud of this.  Let's just say that it
is better than the previous code (of which I'm not proud either).

The issue is that the sub menus (filters/groupbys/favorites) aren't very
good when their height is too big, and they're hidden below the screen
without scrollbar.  Previous code tried clumsily to compute the correct
max height in js, but it was only done in filters menu, and did not
always work.  This code do the same in css.  This would be good except
that it is just an estimation: calc(100vh - 125px).  It assumes that
the header will approximately take 120px, and size the max-height
accordingly.
2015-03-12 11:46:33 +01:00
Denis Ledoux 43b3b28708 [FIX] account: Possibility to choose employees in bank statements
The domain on the partner field in the bank statement lines
was too restrictive: You should be able to select partners
that aren't either customer or suppliers. For instance, your
employees.

opw-630017
2015-03-12 11:34:15 +01:00
Aaron Bohy a1d319a8fb [FIX] Web: view_list.js: _.template()
The signature and behavior of function template() of underscore.js has
been changed from rev. 1.7.0. It doesn't accept an initial data object
anymore, and always returns a function.

This commits adapts our calls to _.template(). This fixes display bugs in
list views (e.g. the progressbar which was not displayed).
2015-03-12 11:16:06 +01:00
Ajay javiya 9804ee91c5 [FIX] sale_stock: traceback when create a sale order 2015-03-12 15:02:51 +05:30
Denis Ledoux 2996fd0897 [FIX] website_membership: free members while not logged in.
By default public/portal users do not have the access
rights to read the partners.

opw-628857
2015-03-12 10:10:19 +01:00
Olivier Dony df4bd736f1 [FIX] search view: autocomplete: further improve support for rapid barcode scanning
This patch removes the asynchronous code that was
still used to open the autocompletion drawer.
Even with the setTimeout delay forced to 0, the
asynchronous handling meant the final ENTER
keyUp event could be processed before the opening
of the autocompletion drawer related to the last
key pressed. This would trigger the search with
the search string of the previous autocompletion
popup, missing the last few keys.

Also handle ENTER at keyDown, because in some
rare cases a barcode scanner may emit only
the keyDown event for ENTER, without the
corresponding keyUp, causing a merge of two
successive scanned barcodes.

Based on many tests conducted with different
barcode scanners, the only thing that
is guaranteed is the correct order of the keyPress
events for all regular characters, and the
fact that the ENTER keyDown and/or keyUp will
always be sent after them.

All other events can be mixed or simply missing
if you make a rapid succession of scans, especially
if done with a long series of barcodes.

Scanners tested (with 1ms data transmission delay):
 - Honeywell Eclipse MS5145
 - Dacomex Slim 50mm CCD scanner
2015-03-11 17:59:46 +01:00
Josse Colpaert db45099a27 [FIX] stock: Cancel button visible for picking in waiting another operation fixes #4718 2015-03-11 17:51:50 +01:00
Josse Colpaert aa38a2209e [IMP] stock: add procurement_jit_stock: improve performance by always doing runs of procurements to create stock moves in batch 2015-03-11 16:50:45 +01:00
Josse Colpaert 1ac4d31db7 [FIX] stock: Make sure we can do a return of a stock move with UoS 2015-03-11 16:23:23 +01:00
Josse Colpaert 656f5a4498 [FIX] mrp: Extra moves and multiple split corrections in consumed and produced moves
ORM will show lines in production.move_lines even if done (which the domain should avoid)
when processing the production (as they are probably still in cache).  We explicitly skip those lines.

When producing more with lots in consumed and produced, we added the consumed_for link as
the lot tracking requires to have this link between the consumed and produced moves.

The extra move of the produced goods should also be confirmed and not created as confirmed immediately.
That way it can still apply the push rules.  (Gabriel Demmerle)
2015-03-11 16:07:26 +01:00
Yannick Tivisse 386ec152ec [IMP] web_kanban: rebuilt kanban.css from sass by using the makefile 2015-03-11 15:45:28 +01:00
Yannick Tivisse 9ec5240a1a [IMP] Kanban view, better layout for all the items : messages, tags, ... 2015-03-11 15:45:28 +01:00
Yannick Tivisse 27a7cab52b [IMP] group by product_template,serial_number in stock valuation reporting 2015-03-11 15:33:01 +01:00
Mitesh Savani cf925c2a58 [TEST] website_forum: add testing tour for the forum. 2015-03-11 14:58:20 +01:00
Xavier Morel 4cba11a7d4 [FIX] ws doc: table border colors in right column
Table borders remained the same color as in the "light" half, an overly
bright gray (#ddd) on a very dark background rather than a very light
gray on a white background.

Convert to a shade of dark gray lighter than the background, but nowhere
near as light as the text itself.
2015-03-11 14:46:50 +01:00
Géry Debongnie 438c33ed5f [FIX] web: usability fix in searchview
* when users press ENTER after editing some custom search, the resulting
  filter is now applied.
* when users press ENTER in favorite menu, save current search, the
  current search is now saved
2015-03-11 13:58:17 +01:00
Géry Debongnie cda9221d7c [FIX] web: prevent graph view from crashing (sometimes)
if the graph view is set in bar mode, and does not have any groupby,
then it tried to read some property from its viewmanager, which results
in a crash.  It is most likely the remnants of the old code, this commit
correctly sets the string to the current measure.
2015-03-11 13:43:26 +01:00