Commit Graph
99161 Commits
Author SHA1 Message Date
Raphael Collet ab452d00f8 [IMP] models: remove deprecated methods read_string and write_string 2015-07-06 16:58:03 +02:00
Sheth Sunny f03b3e1839 [FIX] website_quote: rename field
The field payment_term was renamed to payment_term_id
Fixes #7467, issue 643692
2015-07-06 16:44:44 +02:00
Martin Trigaux 5e475f75de [FIX] stock: filter products on locations
Filtering product.product based on the location crashed due to fields_view_get
override exepecting an integer in the context.

Fixes #5164
Closes #5218
2015-07-06 16:28:48 +02:00
Aaron Bohy 7f65415393 [FIX] web,web_tests: delete button in editable list views
Use a fontawesome icon instead of no more supported mnmliconsRegular.
2015-07-06 16:27:38 +02:00
Aaron Bohy 9de57b7a7b [IMP] web_calendar: fine tuning less
Use webclient horizontal padding in calendar view for its content
to be well aligned with the rest of the webclient.
2015-07-06 16:07:09 +02:00
Aaron Bohy df3455a9d2 [IMP] web_kanban: fine tuning less
Same horizontal and vertical spacing between the cards.
2015-07-06 16:07:08 +02:00
Géry Debongnie 6ea520c5f3 [FIX] crm: readd 'skip these contacts button'
The button was removed by mistake in commit 8f7ff79.
2015-07-06 16:02:04 +02:00
David Monjoie 1cbf013234 [IMP] theme_default: fixed confusion with website
It was quite confusing to use the same icon as the
website builder while having a similar name, even
worse as it appeared as first result for 'website'.
2015-07-06 15:02:21 +02:00
Loïc BELLIER 34b9f43011 [FIX] stock: add location in context on prodlot search
To be consistant with the results of _get_stock. Otherwise search made on
stock_available may not display results with the same value than the search
criteria.
Fixes #3976
2015-07-06 14:41:56 +02:00
Leonardo Donelli 207cf92a0c [DOC] openerp: add missing parameter for search method
The `search` method of models has an additional keyword parameter, `count`.

It not being specified in the docs could lead people to inherit `search`
without defining it, which would result in a `TypeError` when called with
`count=`.

Closes #7451
2015-07-06 14:26:46 +02:00
Martin Geubelle ea8a853400 [FIX] web_kanban: dashboard style remains when grouped 2015-07-06 14:19:30 +02:00
Yannick Tivisse d2dd78889d [FIX] Menu configuration in root menu 2015-07-06 14:02:00 +02:00
Yannick Tivisse f94e6c9813 [FIX] crm : Settings menu items was not displayed if only crm was installed 2015-07-06 13:56:50 +02:00
Nicolas Lempereur b5d7e663b4 [FIX] web: readonly field and tab
When we go from one field to another via the tab key, in the form view what happens is:

{{we get a blur from the current field}}
-> if [[widget was not in state clicked (which can be gotten for example by clicking on a focused field)]]
     -> blur event is cancelled,
     -> the blur event is set to be triggered soon
-> the clicked state is set to false

{{we may get a focus for the next field}}
-> if [next field get an onfocus event]
     -> blur event is cancelled,

So if :
- the state is not clicked and,
- the next field don't get an focus event.

We get a blur event which will either save (if a field value has been changed) or cancel
the form view editing and will hide the current edition, hence losing the focus.

For example, it happens on a readonly fields with  field containing an `<a />` tag, on
some browser (for example google chrome), the focus event will not get triggered (it still
work if we were in a clicked state) so we can't cycle thought a list editable cells if there is a readonly field in it.

closes #7446
opw-643718
2015-07-06 11:55:01 +02:00
Alexis de Lattre 4dec169b46 [IMP] product_visible_discount: make get_real_price inheritable
Move local get_real_price_currency() of product_visible_discount into a real
function, to make it inheritable.
Modify a copy of the context to limitate the propagation.
Fixes #3717
2015-07-06 11:33:44 +02:00
Jos De Graeve baa51efdc9 [FIX] point_of_sale: do not create empty picking for order with only service products
When confirming a pos order with only "service" products, an emtpy pos order is
created which stays in "draft" state forever.

Closes #7460
2015-07-06 11:33:19 +02:00
Yannick Tivisse 4953ec66b4 [FIX] Alias domain was not set correctly by default + layout issues 2015-07-06 11:24:36 +02:00
Simon Lejeune ec5891e35a [FIX] kanban: correct media queries 2015-07-06 11:11:29 +02:00
Simon Lejeune a991b6a169 [FIX] kanban: overflow-x on mobile 2015-07-06 11:11:05 +02:00
Raphael Collet 5ebc100253 [FIX] fields: handle the case of fields declared with store=False
Those fields should be considered as "dummy" fields": they are typically useful
for hackish onchange methods that need to store something into a form.
2015-07-06 11:02:39 +02:00
Lionel Sausin (Numérigraphe) a55a768d61 [FIX] stock: colors in tree view
Missing part from e28e01a

Closes #6785
2015-07-06 10:07:59 +02:00
Josse Colpaert 995cb87c62 [IMP] stock: No need to do recompute when creating/writing pack operations manually
There is no need in recomputing each time the link between pack operations and
moves, when changing a pack operation.  It would change the remaining qty
on the move, but this is not shown anywhere.

In the tests of wise_operator, when moving pack operations to another picking,
the links shoud be deleted as it is not done somewhere else
2015-07-06 10:04:20 +02:00
Briksisn c643c8bb39 [IMP] hr: automatic fields population
When creating new Employee and linking to the existed user, this fix will
populate not only email address field, but also full name and avatar image.

Closes #7397
2015-07-06 09:49:39 +02:00
Odoo Translation Bot fe3835faff [I18N] Update translation terms from Transifex 2015-07-05 01:52:32 +02:00
Josse Colpaert d2b4b3909e [IMP] stock: Improve lots with serial numbers, define lot tracking by picking type and convert stock with lot False to a lot when necessary
Instead of having only outgoing, manufacturing, incoming, all... traceability on the product,
we can define on the product if there is no tracking, lot tracking or unique serial number tracking.
On the picking type we can define whether we will only create lots for the picking type or use existing lots.

The lots are required when the product and the picking type demand it.

The option for serial number will check that each piece (quantity 1) has its
own serial number.

A lot splitting wizard is added on the pack operations in the picking form.

We want to be able to handle the case where we receive a lot of iPads e.g. and we
only assign a serial number when the product is delivered.  For this, when the product is
delivered, we see that we only have products with no lots.  When we see that we take something
without lot for something that needed one, we assign the lot to that piece of stock.

For negative quants: a positive quant with no lot can reconcile with a negative quant with/without lot,
a positive quant with lot, will preferably reconcile with a negative quant with the same lot, afterwards
with that without lot.
2015-07-03 17:50:35 +02:00
Nicolas Martinelli 6e346f0adb [FIX] stock: product_uos_qty must have the precision of Product UoS
If 'Product UoS' has a higher precision than 'Product Unit of Measure', the
method onchange_uos_quantity will be called over and over by an infinite loop
if 'product_uos_qty' doesn't have the sufficient number of decimals.

opw-643651
2015-07-03 16:42:34 +02:00
Jos De Graeve 7771c45ed9 [FIX] sale: product_id_change ignores context
The product_id_change method of sale.order.line
ignored the passed context.

The context was simply overwritten,
which is no a good practice.

Besides, it prevents customizations.

Closes #7447
opw-643983
2015-07-03 16:38:12 +02:00
qdp-odoo 4d19428685 [FIX] l10n_pa is back, compliant with the new accounting 2015-07-03 16:00:41 +02:00
qdp-odoo 2ce0291a4e [FIX] l10n_tr is back, compliant with the new accounting 2015-07-03 15:26:55 +02:00
Yannick Tivisse 9f33dd3b64 [FIX] hr_timesheet_sheet : traceback when clicking on settings/companies records 2015-07-03 14:44:31 +02:00
Nicolas Lempereur 880c997e12 [FIX] website_quote: take suggested product lang from partner
Use the lang from the sale order's partner when updating suggested
product line. To achieve this, the onchange has been replaced by an
onchange of the new api which gives access to all the fields.

closes #7268
opw-643098
2015-07-03 13:58:22 +02:00
Frédéric van der Essen fdb9aa29bf [FIX] base: verifying python external dependencies was failing on OSX. 2015-07-03 13:55:52 +02:00
Nicolas Martinelli 2a49c1a7fb [FIX] purchase: take into account the currency of unit price
The currency of the unit price of the stock.move is the currency of the
company, which can be different from the currency of the invoice.

opw-643077
2015-07-03 12:26:02 +02:00
Lorenzo Battistini 0f82346167 [FIX] email_template: keep email_from and outgoing server
When sending an email from mail.compose.message using a template, the system
should use the outgoing mail server associated to the template.
Introduce context hack to keep these values.

This should NOT to be forward ported to version 8 where a proper fix exists.

Fixes #3848
2015-07-03 12:21:53 +02:00
Wolfgang Taferner c776dce531 Revert "[FIX] product_extended: cost price computation from BOM"
This reverts commit 2f5d681135.

The previous commit was intended to fix a wrong assumption in case the
purchase uom was different to the standard uom.

The wrong assumption:
- price is related to purchase uom
- therefore it was tried to convert the bom price accordingly
- as the price needs to be already in standard uom it does lead to a
wrong calculation now

Closes #7421
2015-07-03 12:16:55 +02:00
Olivier Dony dc0e126b53 [FIX] hr_holidays: leave holiday overlap should ignore cancelled/refused ones
Obviously a cancelled leave does not really
overlap with a new one.

bzr revid: odo@openerp.com-20131023162928-56vdsjxr8sa4n3jv

Closes #2329
2015-07-03 12:07:47 +02:00
Goffin Simon 72ec0050b4 [FIX] account: bank statement reconciliation
To determine the account.move.line to reconcile, first it tries to match with
the ref and the amount of the account.bank.statement.line and if it doesn't match,
it just tries to match with the amount.

opw:643867
2015-07-03 11:55:46 +02:00
Damien Bouvy c6085de588 [FIX] payment_ogone: overriding the datetime import was making datetime functions unavailable - introduced by forward port b16fd16e 2015-07-03 11:55:04 +02:00
Nicolas Martinelli 1ab007a843 [FIX] mrp: fix issue introduced by rev b9cdce1
If copy=True for production_id, a move created from a push rule will be added
in the list of Product Produced. Therefore, we must set manually the value of
production_id of the scrapped moves.

opw-643877
2015-07-03 11:45:33 +02:00
Goffin Simon 3062b66d21 [FIX] mail: unknown icon
When the attachment type is not defined, the icon used must be unknown.png

closes#7336
2015-07-03 11:35:31 +02:00
Damien Bouvy 298b66129c [FIX] website_quote: acquirer button is not always a div, can be a span or smthg else 2015-07-03 08:58:42 +02:00
Fabien Pinckaers c8b00014f0 [FIX] fix test allotment removed 2015-07-02 22:02:36 -07:00
Fabien Pinckaers ffd76df007 [IMP] removing barcode field as it is not used 2015-07-02 21:40:38 -07:00
Fabien Pinckaers 3f108c4fdf [IMP] removing complex and unuseful concepts 2015-07-02 21:27:42 -07:00
Fabien Pinckaers 0676a114bf [IMP] simplification of invoice SO lines 2015-07-02 17:38:41 -07:00
Olivier Dony 8685f0a94b [IMP] project_timesheet: selection of contract for task work a bit more modular 2015-07-03 00:05:14 +02:00
Denis Ledoux 25d365ee69 [FIX] payment_authorize: adapt test for rev. 3375ff2827
Besides, the test was particularly useful:
It tested that when 'Buyer' was sent as firstname
and 'Nobert' as lastname to Authorize,
authorize returned the opposite, 'Norbert' as firstname
and 'Buyer' as last name.
2015-07-02 18:00:01 +02:00
Raphael Collet 64b7875fd5 Revert "[FIX] fields: support fields with store=False"
The commit is causing unexpected failures when creating views.

This reverts commit 72399a195a.
2015-07-02 17:47:30 +02:00
Denis Ledoux 3375ff2827 [FIX] payment: By assumption, first name is before last name
In the partner model, there is only one field `name`.
The first name and the last name are not within two
separated fields.

By assumption, the firstname is written before the last name
(first <> last)

This assumption should be kept when sending the
first name / last name of the partner to the payment acquirers
e.g. Paypal.

opw-643120
2015-07-02 17:21:02 +02:00
Raphael Collet 72399a195a [FIX] fields: support fields with store=False
Fix method `to_column` to not create columns for non-stored fields.
2015-07-02 16:56:04 +02:00