Commit Graph
96045 Commits
Author SHA1 Message Date
Aaron Bohy 3a511aaa70 [IMP] web,web_kanban: Dialog.confirm api
takes now an object of options for the Dialog, containing two possible
callbacks (for confirm and cancel).
2015-07-01 11:36:31 +02:00
Thibault Delavallée c128ddf827 [FIX] website: remove unnecessary dependency from website
to mail. The only use was to update a method of publisher_warranty.contract
model that is defined in mail.

This code has been moved to the bridge module between website and mail
aka website_mail.

Dependency to share has also been removed.
2015-07-01 10:58:20 +02:00
Frédéric van der Essen 3ae0ce43d4 [IMP] point_of_sale: reactivating product category images (disabled by default, as they take too much space on tablets.) 2015-06-30 16:54:21 +02:00
Aaron Bohy d6afe624eb [REVERT] web,point_of_sale: cordova integration
introduced by forwardport: a304194936
initial commit in 8.0: 19eda68547
2015-06-30 15:46:08 +02:00
Aaron Bohy 82f4c1d330 [FIX] point_of_sale: don't use deprecated globals 2015-06-30 15:46:08 +02:00
Aaron Bohy d3398b4996 [REF] web,pos: font dir renamed for enterprise compatibility 2015-06-30 15:46:08 +02:00
ptr 7cf73f5314 [IMP] purchase: generate so to po line, broadcast message in chatter 2015-06-30 15:05:31 +02:00
Géry Debongnie 1e446f13a7 [IMP] note: improve undo icon in kanban 2015-06-29 16:58:03 +02:00
Géry Debongnie 764c6c4b28 [IMP] crm,note,project: update templates
the new kanban view default width is larger than before, so a css
class is necessary to allow some views to use the old width.
2015-06-29 16:58:03 +02:00
Géry Debongnie 1ce328483a [FIX] web_kanban: various tweaks
fixes some alignment issues and width problems with empty columns
some tweaks (wording, ...)
also, improve drop on folded columns
2015-06-29 16:58:02 +02:00
Goffin Simon db39e80e2f [FIX] purchase, sale: button "Sales" and "Purchases"
The number inside the button "Sales" is the quantity sold and
the number inside the button "Purchases" is the quantity bought.
2015-06-29 16:17:31 +02:00
pvy b8604efe96 [FIX] delivery: fixed a test that would not take into account taxes with price_included = True 2015-06-29 15:24:21 +02:00
qdp-odoo 6306441e80 [FIX] l10n_gt ported to new accounting 2015-06-29 15:24:21 +02:00
Thibault Delavallée a4d5cfa747 [IMP][FIX] mail, various: migrate fields_view_get override to the new API
(leftover of migration). However this implies some fixes in the various calls
to models inheriting from mail.thread. Indeed giving positional instead of
keyword argument creates issues in the wrapper between the old and new
API.

In account_analytic_plan, useless override of fields_view_get has been removed.
2015-06-29 13:16:11 +02:00
Martin Trigaux 43c544f8a8 [FIX] website_sale: order products by sequence ascendant
Sequence is used everywhere as lowest first but was not in ecommerce.
Fixes #7263
2015-06-26 22:30:48 +02:00
pvy ffc9260f32 [FIX] stock_account: name change that was forgotten 2015-06-26 13:56:13 +02:00
Aaron Bohy f16e438b24 [FIX] purchase: purchase.order.form: load field used in domains
There was a traceback when opening the purchase.order model in form view as the
field 'invoiced' is used in domains, but has been removed from the template at
rev. eace69d07d.
2015-06-26 13:48:37 +02:00
Aaron Bohy 9d121cd9ec [FIX] web: One2ManyKanbanView: reload view on create
Before this rev., the One2ManyKanbanView wasn't reloaded after creation of a
new record (on dialog close).
2015-06-26 13:48:37 +02:00
Martin Trigaux a15d36fe6e [IMP] base: OpenERP to Odoo 2015-06-26 11:11:44 +02:00
Aaron Bohy 617cfd7dc8 [FIX] web_tests,test_new_api: act_window for new design compatibility
The widget_x2many tour uses the discussion model to test one2many
and many2many widgets. The tour clicks on an item of the menu which
opens the discussion model with the discussion_form_2 view (in create mode).
Then, it clicks on the view_switcher to display the list view, and clicks
on an item of the list to open a previously created record.

In the new design, there is no more view_switcher in form view. This flow
is thus unfeasible. This solution changes the menu action so that it
directly opens the model with the list view, on which we can click on the
record to display in form view.
2015-06-26 09:31:25 +02:00
Developer Team b0ff033d69 [FIX] tools: add support for transparency of PNG images
Fixes #2569
Closes #6260
2015-06-25 18:56:54 +02:00
qdp-odoo 0275d8c273 [FIX] account: put some order into the accounting settings 2015-06-25 17:24:00 +02:00
qdp-odoo 5cfc68502d [FIX] account: put some order into the accounting settings 2015-06-25 17:10:03 +02:00
Nicolas Piganeau 1306d6e153 [FIX] purchase: let purchase.order _get_picking_in() function fetch the default value
Closes #7057
2015-06-25 16:35:22 +02:00
Aaron Bohy 230af35154 [IMP] web: ViewManager for One2Many and Many2Many fields
This rev. generalizes the notions of FieldOne2Many to FieldX2Many and of One2ManyViewManager
to X2ManyViewManager. The same logic is now applied both for One2Many and Many2Many fields.
This allows Many2Many list and kanban views to have a pager, as the pager is instanciated
by the view, on demand of the ViewManager.
2015-06-25 15:44:42 +02:00
Aaron Bohy 5490aad0c9 [FIX] web, sales_team: many2many kanban: cards style + clickable
Apply the same style to many2many form_field as for one2many ones.
Make the sales_team cards for team members clickable.
Add "position: relative" to sales_team cards for the cross to be correctly
positionned. Inline style is not the right way to do it, but for the sake
of consistency, it is ok. A better commit should come to remove this inline
style from all x2many kanban templates.
2015-06-25 15:44:42 +02:00
Géry Debongnie 49b9d2b07d [FIX] note: update css to apply to new kanban view 2015-06-25 15:21:25 +02:00
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
Raphael Collet 7dc7d302fc [IMP] module: prevent the installation of a theme module if another theme module is already installed
More precisely, installing a theme module is valid if: there exists a module
such that all theme modules already installed or to be installed, correspond to
one theme module and its theme module dependencies.

Closes #7147
2015-06-24 15:01:57 +02:00
Raphael Collet 692f4b4e46 [IMP] module: convert method button_install to the new API 2015-06-24 14:58:56 +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
mariuszmizgier bdc4c5a55e [CLA] Mariusz Mizgier 2015-06-24 12:12:19 +02:00