Commit Graph
78351 Commits
Author SHA1 Message Date
Josse Colpaert 16cee3522e [FIX] stock: intermediate calculation remaining qty for backorder check: 0 qty should not take all of pack operation
[IMP] Put in pack below everything
2015-06-25 14:56:29 +02:00
Josse Colpaert 50e86689a1 [FIX] stock_invoice_directly: Only launch wizard if there is something to invoice 2015-06-25 14:56:28 +02:00
Goffin Simon c2ab016ea6 [FIX] purchase, sale: Confirmed sale
The number displayed in the Sales button shows the number of sale order lines confirmed
for the current product.
The number displayed in the Purchases button shows the number of purchase order lines
for the current product.

closes:#7107
2015-06-25 14:11:27 +02:00
qsm-odoo 3b411e5d68 [IMP] Activate kanban view for quotations 2015-06-25 12:27:41 +02:00
charbgr 62eea2d1c3 [FIX] mail: change openerp to odoo.
Closes #1254
2015-06-25 11:28:58 +02:00
pvy 7d609a040b [FIX] account: launch the onchange by hand 2015-06-25 10:48:11 +02:00
Thibault Delavallée e0d9a59beb [FIX] web: database manager: added new JS dependency for the
database manager, introduced lately.
2015-06-25 10:40:34 +02:00
Martin Trigaux a4c988d7eb [FIX] product_email_template: typo
Courtesy of Lionel Sausin
2015-06-25 09:57:10 +02:00
Christophe Simonis a304194936 [MERGE] forward port of branch saas-6 up to 81b5c60 2015-06-25 00:26:31 +02:00
Olivier Dony 81b5c601f9 [IMP] mass_mailing: add recipient field to preview recipient on tracking stats 2015-06-24 18:19:31 +02:00
David Monjoie 2e9059c801 [IMP] website_sale: added link to products page on portal orders followup page 2015-06-24 17:03:07 +02:00
Géry Debongnie 07efacb578 [REF] web_kanban: remove many2manyKanbanView
this is not necessary anymore, with the new kanban view.  It also
paves the way for further changes (soon to be done): using a viewmanager
to instantiate the many2many kanban view
2015-06-24 16:08:19 +02:00
Géry Debongnie 033e05fb36 [IMP] web_kanban: refactoring of less files 2015-06-24 14:48:25 +02:00
Géry Debongnie fdc4b33e08 [IMP] web_kanban: optimize drag and drop
This is a really difficult optimization.  Based on various benchmarks
and some hard thinking, we discovered that this change will shave
approximately 100ms for each drag and drop performed by a normal user.

We believe that this is a safe optimization in most cases (but we didn't
test it on some architectures, such as ARM or Solaris).  It is also
compatible with most SQL JSON-enabled databases.
2015-06-24 14:48:19 +02:00
Yannick Tivisse 93bdbb7904 [IMP] account : new report 'duplicata' for an invoice 2015-06-24 14:35:28 +02:00
Richard Mathot 3098ab7fd1 [IMP] delivery: basic pluggable support for shipping integration
Add a `delivery_type` selection field on delivery.carrier.
The default is `grid` i.e. a static pricing grid with rules
to compute the delivery costs.

Future module will however be able to extend the `delivery_type`
selection to add new keys, such as `fedex` or `ups` and provide
custom implementations for the various API methods, as described
below.

In order to add your own external provider, follow these steps:

 1. Create your model MyProvider that _inherits `delivery.carrier`
 2. Extend the selection field `delivery_type` with a pair
    ('<my_provider' , 'My Provider')
 3. Implement API methods as required:
    <my_provider>_get_shipping_price_from_so
    <my_provider>_send_shipping
    <my_provider>_open_tracking_page
    <my_provider>_cancel_shipment
2015-06-24 13:54:31 +02:00
Christophe Simonis 704a11ddee [MERGE] forward port of branch 8.0 up to b8bf1e0 2015-06-24 12:45:14 +02:00
Christophe Simonis b8bf1e0905 [MERGE] forward port of branch saas-3 up to ea659cb 2015-06-24 12:37:08 +02:00
Christophe Simonis ea659cbd87 [MERGE] forward port of branch 7.0 up to 16a545b 2015-06-24 12:34:03 +02:00
mariuszmizgier 859eb2511e [FIX] mail: Mail message performance improvement
As of version 8.0, search_count method has been implemented
Usage in this place is not needed though,
as we just need to know if there are messages in domain,
not the exact number of them.
Due to that we replace method search_count with search and add a limit of 1,
which provides better performances.

Fixes #6670
Closes #6679
2015-06-24 12:12:19 +02:00
Christophe Matthieu beca8fb36d [FIX] web: One2ManyListView list editable: also reload the focused inline form when the list is reloaded 2015-06-24 11:45:23 +02:00
Peter Alabaster e17166183d [FIX] sale: pass context when creating Sale Order name
Without passing the context, this is not possible
to force the company (`force_company`)

Closes #7242
2015-06-24 11:38:41 +02:00
Christophe Combelles 16a545b1ba [ADD] project: add name to the filter to create context with search_default_Member 2015-06-24 10:03:08 +02:00
Martin Trigaux df447c904f [FIX] account: correct English terms 2015-06-24 09:36:20 +02:00
qdp-odoo 13050d3e4b [REF] base, account: removed vat_subjected field. Mainly because it's confusing and rarely really needed, like never + the same feature could be achieved by duplicating taxes for non-subjected companies (with fiscal position on them for mapping) 2015-06-24 08:37:12 +02:00
Yannick Tivisse eace69d07d [IMP] purchase : Several usability improvements
- Remove the Bid notebook on the purchase order form.
- Add a message on the chatter to display the field Bid Received On
- Move the field Bid Valid Until under the Order Date field, displayed only if Bid Received on is filled.
- Remove Invoice Received Checkbox, as there is now a stat button to display the information
- Add a default filter "To Do" on the RFQ and purchase order views, which displayed all the record not in the states done or cancelled.
- Changed several labels, and reorganized some options in the configuration.
2015-06-23 18:27:28 +02:00
Julien Legros 1c0f0dd43c [FIX] account: multi currency reconciliation
When invoicing in currency A and being paid in currency B, the exchange
rate between those currencies might differ between the invoice date and
the payment date.

When reconciling, invoiced amounts should be converted using the invoice
date exchange rate.

opw-640248
2015-06-23 17:27:07 +02:00
vrenaville 529af0c95d [FIX] VAT Report: Fiscalyear and period selection
In the Account Tax Decalaration wizard,
Accounting > Reporting > Generic Reporting > Taxes > Taxes Report,
When not choosing the start/end period, but choosing
a fiscal year, the fiscal year was simply ignored,
the report took a fiscal year randomly.

In addition, if no fiscal year was chosen,
the fiscal year randomly chosen could even
not be a fiscal year of the right company,
in a multi-company environment.

closes #7219
opw-643194
2015-06-23 17:06:25 +02:00
Olivier Dony a13fae75ef [FIX] website_event: trailing comma in fwd-port a180cbddf7 2015-06-23 16:49:38 +02:00
Martin Trigaux 9e896b855a [IMP] account_asset: English term
Unlink the name of the module may indicate, Asset Account should be used
instead of Account Asset
2015-06-23 16:46:35 +02:00
Xavier Morel 11ba4689b1 [IMP] running speed of some tests & new testcase type
Some tests (e.g. mail) have expensive and significant DB setup for a
number of small and cheap tests. Using a TransactionCase, the DB setup
far dominates the tests themselves, by up to 10x (mail unit tests take
~130s on my machine, the tests themselves take ~15s).

The SavepointCase introduced here is an hybrid of SingleTransactionCase
and TransactionCase: it uses a single transaction for all tests in a
class, but each test case is isolated by a rollbacked savepoint. This
allows a common DB setup (via setUpClass) while keeping independent
tests.

TransactionCase should remain the primary test case superclass, but
SavepointCase can be a fair optimisation when setup costs far dominate.
2015-06-23 16:38:14 +02:00
Denis Ledoux 386f76eb46 [FIX] account: get_fiscal_position is expected to return an id
Not a browse record.
This is a regression introduced by the revision 5fcf0f5a6f

opw-643188
fixes #7231
2015-06-23 16:29:55 +02:00
Martin Trigaux fa3ace7f99 [IMP] account: performances on total_invoiced field
The computation of total_invoiced field was very slow when the size of
account.invoice.report grows. This is due to usage of the field
user_currency_price_total that requires to build the full view (generates query
(id in []) for function field).

Using temporary SQL view (inspired by caf333e), directly filter the needed
items and avoid building the full table.

Fixes #6654
2015-06-23 16:18:24 +02:00
Wolfgang Taferner 0ec704f8ec [FIX] stock: UoM of a product should not be changed when done stock moves exist.
Backport from saas-6 (242a76cc97)

Closes #7224
opw-643168
2015-06-23 16:16:50 +02:00
Yannick Tivisse 98e5151ad8 [IMP] stock_account : If the invoice is coming from another source
than the sale order (ex: delivery order), the source is the
      concatenation of the picking reference + the sales order reference
2015-06-23 16:16:40 +02:00
Yannick Tivisse f2811a456a [FIX] sale_stock : set default_order_policy to picking if the Invoicing
Method is set to Based on delivery order
2015-06-23 16:16:39 +02:00
Yannick Tivisse 024546919e [IMP] employees form view : Usability improvements
- remove otherid field from the model, and the reports
    - reorganize several fields on the form
    - removed group_multi_department group, departments are always activated,
      as 3 departments are now in the datas
    - departments menuitem is accessible to the hr officers and managers only
    - removed all the configurations in the employee root menu
    - moved payroll country module selection to payroll configuration
    - removed useless fields from the form : attendance state, goals_ids,
      remaining leaves, as they are accessible via stat buttons, kanban views, etc.

Conflicts:
	addons/hr/hr_view.xml
	addons/hr_holidays/hr_holidays_view.xml
2015-06-23 16:08:19 +02:00
Géry Debongnie 13585f5b51 [FIX] web: remove icons from menu
Icons in web client main menu were added as a side effect of changes in
enterprise.  The problem was that the template for the menu added the
icon in it exists, which is never what we want anyway.
2015-06-23 16:00:52 +02:00
Jean-Baptiste Quenot 3071ef16c7 [ADD] web: sorting in ir_filters
Add a parameter sort on the ir.filters to maintain the order of searching when
reloading a filter.
Fixes #6867
2015-06-23 16:00:07 +02:00
Géry Debongnie 692fecb472 [FIX] web_kanban: save correct field in quick create
The way columns saved their id was previously stored in column.value,
but it was later changed in column.values.id
2015-06-23 15:38:34 +02:00
Olivier Dony a180cbddf7 [MERGE] Forward-port 8.0 up to 9b1aa53f29 2015-06-23 15:36:16 +02:00
Nicolas Lempereur 1942522969 [FIX] base: update File Content for binary field
To distinguish two ir.attachment 'File Content', we base it on the file
size (this I imagine is for efficiency).

This is done by setting bin_size in the context. Doing this, the
returned db_datas field will be the file size of the converted to base64
content (if no filestore).

But this size is returned in string format, so "get_nice_size" (in
openerp/osv/fields.py) which gets this size calculates the length of the
string. e.g: if the size is '2142' get_nice_size will return 4.

This fix solves this by converting the string to an integer, thus
unifying it with the filestore case (where we use os.path.getsize which
return an integer).

Also, the field presenting the issue (FieldBinaryFile) has been changed
so it is always updated even if the size is the same (as it was already
done by 3632949 for FieldBinaryImage widget).

closes #7223
opw-643071
2015-06-23 15:20:33 +02:00
Olivier Dony 9b1aa53f29 [MERGE] Forward-port saas-3 up to 9cdfb0696a 2015-06-23 15:18:00 +02:00
Yannick Tivisse 92474cd706 [IMP] hr, hr_attendance, hr_contract, mrp : menuitems modifs 2015-06-23 15:15:06 +02:00
Yannick Tivisse 928c6beea1 [IMP] marketing_campaign : Remove configurations 2015-06-23 15:15:06 +02:00
Yannick Tivisse 358c42dc10 [IMP] event,membership,website_event_track : Several label renamed 2015-06-23 15:15:06 +02:00
Yannick Tivisse c73ce3b65a [IMP] Move action to the Report or Configuration menuitem when there is only one child.
Example : Expense/Reports/Expenses --> Expense/Reports
Modified modules : association, fleet, hr_attendance, hr_evaluation, hr_expense, hr_holidays
                   hr_recruitment, hr_timesheet, im_livechat, mass_mailing, membership, mrp_operations
                   project, purchase, sale_service
2015-06-23 15:15:06 +02:00
Olivier Dony 9cdfb0696a [MERGE] Forward-port 7.0 up to 6acd5ef91c 2015-06-23 15:13:47 +02:00
Aaron Bohy 6eb330b304 [FIX] account: remove view_nocontent helper inline style
Because:
	- 1) defining inline style is a terrible practice
	- 2) we don't like negative margin
	- 3) it breaks totally the enterprise edition
2015-06-23 14:58:13 +02:00
Mahendra barad 38dc782eaa [RESTRUCTURE]Account : Files Restructure according to new api guideliens 2015-06-23 14:00:43 +02:00