Commit Graph

93128 Commits

Author SHA1 Message Date
Xavier Morel bbe1845727 [FIX] doc: extra underline for document titles when document has no introductory blurb 2015-04-22 11:50:47 +02:00
Nicolas Lempereur 2b90e054bb [FIX] web: keep domain with search field
Currently (since commit e6a2d222d6), the domain of a search view field tag
is dropped.

This previous change was done since some of these domains refers to a
field not available in the javascript.

This fix drop the domain only if it can't be evaluated in the javascript
side.

opw-632030
2015-04-22 10:58:19 +02:00
Denis Ledoux 64fd1dc636 [FIX] netsvc: logs to syslog
When starting the Odoo server with the parameters --syslog,
the logs are supposed to be pushed in the syslog.

This was no longer the case since e9d047e611.
Indeed, if no address is specified ('localhost', 514) is used,
which not always work. We therefore have no choice to define an address
which is '/var/run/log' for MacOSx,
and '/dev/log' for any other linux system.

opw-633074
2015-04-21 18:10:48 +02:00
Ajay javiya 8a6e859c2b [ADD] New payment acquirer Authorize.net. 2015-04-21 17:15:05 +02:00
Ravi Gohil 40982f5ace [FIX] website: Published/Not Published button now dynamically updates
Prior to this fix, when you clicked on Publish or Not Published, the
effect was immediate, but the button disappeared instead of just
updating itself to the new value.

Fixes opw 614561.
2015-04-21 15:34:35 +02:00
David Monjoie 8f90636686 [IMP] crm: Opportunities Analysis menu visible to Sale Manager
Before this commit, it was only visible by the admin user.

I used the crm.phonecall.report rules as an example, but I don't
think either of those or the opportunities ones are actually
used in the case of group_sale_salesman, because the submenu
Sales of the Reporting menu is only visible to the Sale Manager.

Fixes opw 615048.
2015-04-21 15:26:57 +02:00
Nicolas Lempereur 86116fd082 [FIX] sale: set company sales team for quotation
If there is not a dedicated salesteam for the current user, this fix sets the
sales team to the one dedicated to a customer if there is one.

opw-633134
2015-04-21 15:06:03 +02:00
Goffin Simon 6f679678f6 [FIX] account: duplicate tax
the duplication of a tax must duplicate the child_ids.

opw:630510
2015-04-21 10:09:56 +02:00
Goffin Simon 7b923b57ba [FIX] sale_stock: supplier invoice
During the creation of an invoice, the partner returned by "_get_master_data" depends on inv_type.
inv_type = "out_invoice" is for customer invoice
inv_type = "in_invoice" is for supplier invoice

opw:632392, 632583
2015-04-21 08:47:06 +02:00
Luc De Meyer f8a2a64ade [FIX] web: onchange on field binary
If a onchange is set on a binary field, the name of the file (filename attribute
defined in the view) is still the name of the previous file.
Fixes #2427, opw 617109
2015-04-20 16:42:15 +02:00
Martin Trigaux 6262e3479b [FIX] web: onchange on field binary
When setting a value to a field binary, a char field can be set as 'filename'
that needs to be recomputed to specify the new file name.
Before new api, the _internal_set_value method would trigger a onchange but it's
no longer the case now (so onchange on filename field was no longer executed).
Instead, manually set the value using set_value method which do trigger the
onchange.
Fixes #2427, opw 617109
2015-04-20 16:33:55 +02:00
Goffin Simon 1aed46d2a8 [FIX] mail: Work order translation
The action_confirm function losses the context when called by a workflow.
To have the right translation, the lang of the user must be written in the context.

opw:632873
2015-04-20 15:56:48 +02:00
Goffin Simon 0422df2ad7 [FIX] account: general ledger report
The "Progress" column must be renamed in "Balance".

opw:633076
2015-04-20 15:53:38 +02:00
Denis Ledoux 3e29e72f37 [FIX] web: priority stars on/off design in modals
When opening a task through a modal, like
when opening the task field of an issue while
being in edit mode, the priority stars
had not the same design than in the
regular task form.

opw-633426
2015-04-20 13:24:55 +02:00
David Monjoie 9fdf06a0f6 [FIX] website_sale: fixed display of variant informations in cart
Prior to this, even if your suggested or optional products were variants,
only the name of the template was shown.
Fixed GitHub issue 2746 and opw 614776
2015-04-20 12:31:52 +02:00
Christophe Simonis 44059bce4b [MERGE] forward port of branch saas-3 up to 9323f2b 2015-04-20 12:11:15 +02:00
Christophe Simonis 9323f2b4c7 [MERGE] forward port of branch 7.0 up to a091de8 2015-04-20 12:10:48 +02:00
Christophe Simonis a091de8d8d [FIX] core: no traceback when closing socket.
Closes 5057
2015-04-20 11:54:58 +02:00
Christophe Simonis 13fec4a21c [FIX] core: avoid infinite recursive loop.
`function` fields are fully copied via `copy.copy()`.
`copy.copy()` *do not* call `__init__` after object creation; then
restore the state via `__setstate__()` or by updating `__dict__` or via
`setattr()` when the object uses `__slots__`.

As `__init__` is not called, the newly created object does not have any
`_args` attribute. This lead to a recursive call of `__getattr__ when
`copy.copy` check the existance of `__setstate__` attribute.

When break this loop by forbidding explicitly by checking the attribute
name accessed (We cannot check the presence of `_args` in `__dict__`
because we uses `__slots__`).

See http://bugs.python.org/issue5370
Fixes #6037
opw:633109
2015-04-20 11:00:09 +02:00
david.beal@akretion.com ea4f9c4625 [FIX] call fields_view_get with named context
otherwise new API bridging breaks down

closes #6371
2015-04-20 09:39:40 +02:00
Goffin Simon fc132665d7 [FIX] point of sale: Rounding method
By default, the point of sale awlways uses the rounding method per line.
But the accounting configuration allows to use the globally rounding method,
this is why the point of sale must consider this configuration.
Inspired from the compute_all of account.tax model within
addons/account/account.py.

opw:632537
2015-04-20 08:41:41 +02:00
Ravi Gohil 3557fe124a [FIX] fields: timezone aware context_timezone
context_timestamp should always return a timezone aware timestamp, even when
no timezone is set on the user.
7f88681 fixed the bug in old api fields (openerp/osv/fields.py) but it was not
applied to new api fields (openerp/fields.py). opw 616612
2015-04-17 17:59:47 +02:00
Denis Ledoux b28bfcdb3a [FIX] stock_account: real-time inventory valuation with free goods
For a free purchase, the valuation amount fall-backed
to the product cost price instead of the actual
cost of the purchase.

opw-63059
2015-04-17 17:33:31 +02:00
kevin wang bbcc6a8478 [CLA] signature for Loyal 2015-04-17 17:09:39 +02:00
Nicolas Lempereur eb463689c0 [FIX] mail: get template outgoing server
The outgoing server of a mail template is not used when sending a mail.

This fix propagates the mail server the same way it's done for auto_delete.

opw-633005
2015-04-17 16:59:37 +02:00
Sylvain GARANCHER 571ccec154 [CLA] Syleam 2015-04-17 16:56:28 +02:00
Paul Catinean b1b70ee316 [CLA] PCatinean signed CLA 2015-04-17 16:55:38 +02:00
Alejandro Santana 0c039ce5f5 [CLA] Alejandro Santana 2015-04-17 16:18:24 +02:00
Martin Trigaux 18a0ba302b [MERGE] forward port of branch saas-3 up to a939efd 2015-04-17 14:40:19 +02:00
Martin Trigaux a939efdb3f [MERGE] forward port of branch 7.0 up to 21d3be8 2015-04-17 14:23:21 +02:00
Alejandro Santana 21d3be87b3 [FIX] tools: image size as power of 2
Backport of 6a8f395
Fixes #5677
2015-04-17 14:17:19 +02:00
Alejandro Santana 5cfa96abc1 [CLA] Corporate CLA: anubia 2015-04-17 14:04:02 +02:00
Christophe Simonis 2492503dcc [MERGE] forward port of branch saas-3 up to 50665b4 2015-04-16 19:25:53 +02:00
Christophe Simonis 50665b499a [MERGE] forward port of branch 7.0 up to d0ef1b9 2015-04-16 19:13:56 +02:00
Goffin Simon bd82569d51 [FIX] website_quote: online quotation
To show the translation linked to an order, the controller "/quote/<int:order_id>" must consider the context to browse
the order_id.

opw:632349
2015-04-16 15:30:38 +02:00
dhr-odoo d0ef1b938d [FIX] Fixed wrong digits format issue for float fields when thousand separator is '.'
The function was returning the number value directly before proceeding to any formatting.
2015-04-16 15:30:20 +02:00
Martin Trigaux 55f9cbf9c7 [FIX] hr_timesheet_invoice: description of invoice
Partial backport of 4d912af without the group by partner part. Do not forward
port above saas-6.

The generation of invoices from analytic lines was messy and mixed the
description of lines (e.g. redundant message when same product is invoiced twice
with different user, see opw 633047). Grouping was not consistent.
In 4d912af, grouping by partner was added with a refactoring of the grouping
method. Backport the second part only to get cleaner grouping and avoid mixing
messages.
2015-04-16 14:55:21 +02:00
David Monjoie cd94f10e1d [FIX] base: fixed display of address in IE11
Spiritual backport of 5de677208c
which should have been fixed in 7.0 back then.
2015-04-16 14:27:12 +02:00
Martin Trigaux 58a481329e [FIX] point_of_sale: child taxes computation
The box "Tax on children" was ignored in the pos, leading to 100% taxes for these
taxes (as amount is 1.0 on these taxes).

Add child tax fields when loading the pos to be able to correctly compute
recusively the tax amount on children.

Courtesy of Jean-Nicolas Brunet
Fixes #1515, lp:1231574, opw 622143
2015-04-16 09:33:53 +02:00
Jean-Nicolas Brunet a6ef1a7c72 [ADD] CLA for jnbrunet 2015-04-16 09:22:51 +02:00
Goffin Simon 57c1b07ebf [FIX] sale: Wrong invoice settings
On a sale order for a customer A where the invoice address is the address of the customer B,
the payment term, the receivable account and the fiscal position must be set from customer B
which is the partner invoice.

opw:630962
2015-04-16 08:50:07 +02:00
Goffin Simon 397892a6c8 [FIX] account: invoice_form for button invoiced
Button "invoiced" only shows customer invoices. The form view used must be
"invoice_form".

opw:632853
2015-04-15 17:48:17 +02:00
Goffin Simon a5a797d0a6 [FIX] web_kanban_sparkline: Floating format
The format of a float value must consider the language of
the user.

opw:632348
2015-04-15 17:40:04 +02:00
Goffin Simon 3b6eae8b1e [FIX] sale: Sales Team GaugeEq
In Sales Team, the value shown when the cursor is over the gauge for Sales Orders
must not include the taxes.

opw:632348
2015-04-15 17:40:03 +02:00
Akash Balar 58fab75208 [FIX] CRM : won and lost stages are not required to be folded anymore
The domain was inconsistent with the error message.
2015-04-15 17:38:04 +02:00
Rucha Dave 3b58ee833e [IMP] stock: description of serial numbers empty list
The description was still making reference to available filter which is no
longer present in version 8. opw 617807
2015-04-15 17:35:48 +02:00
Martin Trigaux 884864c40f [FIX] account: do not show empty partners in manual reconciliation
When doing a manual reconciliation, the current filter could restrict the
visibility of move lines and show empty results for some partners (e.g. filter
the lists on only one partner will show empty list of moves for other partners).
This is also the case for multicompany restrictions.
Integrate the current filter to the search to only get results for displayed
lines.
Fixes #3817, opw 618134
Fixes #5221, opw 632095
2015-04-15 17:10:01 +02:00
Denis Ledoux 5fb717a971 [FIX] account: display name field in supplier refunds
The name field contains the refund reason.
The reason is filled when you create the refund
from the refund wizard available when
pressing "Ask Refund" on a supplier invoice.

As this field wasn't visibile on the supplier
invoice form, this wasn't possible to change
the reason on draft supplier refunds after
having created them through the wizard, while
you could change your mind or having done a
silly mistake in the wizard, that you could
edit since the invoice is stil draft.

This was also not possible to set a reason
when creating the refunds without going through
by the wizard.

This was also not possible to change the reason
when you duplicated your supplier refunds.

opw-632756
closes #6301
2015-04-15 17:00:25 +02:00
Rucha Dave 57c97784a9 [IMP] Project: modified set_remaining_time function to improve functionality of Initially Planned Hour(s) 2015-04-15 16:16:39 +02:00
Nicolas Lempereur 6aba1ac0c3 [FIX] crm: lead to opportunity
When converting a lead to an opportunity, there is a difference in
context than when going to an opportunity via the interface.

This leads to a difference when displaying a kanban view.

This commit adds what is needed in the context.

opw-632640
2015-04-15 17:45:02 +02:00