Commit Graph
99161 Commits
Author SHA1 Message Date
Tam Vu 6cb3fe43ed [FIX] point of sale: order undefined
If the line is linked to an order, this line must be removed in this order.
2015-06-26 14:02:59 +02:00
Tam Vu 6d5f5f4470 [CLA] vuamitom 2015-06-26 14:02:58 +02:00
pvy ffc9260f32 [FIX] stock_account: name change that was forgotten 2015-06-26 13:56:13 +02:00
andrius-preimantas 831fbd01f7 [FIX] stock: incoming shipments should be marked red when late
Incoming shipments are marked red according to creation date which does
not really make much sense.

closes #1061

note: it was already like this in 8.0 with 201f1c323
2015-06-26 13:48:40 +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
Denis Ledoux bae35b20dd [FIX] mass_mailing: model declaration order
mail.mass_mailing.contact needs the model mail.mass_mailing.list
to be defined before itself, as some fields
need this model.

opw-643482
2015-06-26 13:47:31 +02:00
Denis Ledoux b6a580a25d [FIX] google_calendar: wrong timezone
When creating an event in at 4 pm,
while being in UTC +2 (Europe/Brussels),
The start date sent to Google was set as
'2015-07-03T16:00:00+02:00',
but the timezone was described as 'UTC', giving
therefore giving contradictory information.

At the end, in the google calendar,
the event was set in the UTC timezone,
while it should have been set in GMT +2 (Europe/Brussels).

opw-640825
2015-06-26 11:37:51 +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
Stéphane Bidoul (ACSONE) 4213eebe2e [FIX] point_of_sale: correctly split workds in product search
The JS replace method, unlike python's, only replaces the first occurence
unless a search pattern is provided.

Closes #6302
2015-06-26 08:51:25 +02:00
Nicolas Martinelli a197c91458 [FIX] account: remove lang from context before move creation
If an error message pops up during the move creation, we have to take the
user's language and not the partner's language.

Fixes #6902
Closes #6903
2015-06-26 08:41:10 +02:00
Nicolas Bustillos 745e4426b4 [FIX] account_voucher: reset amounts to zero when looping over many voucher's writeoff_amount
When column 'writeoff_amount' gets displayed on a tree view and function
_get_writeoff_amount() is called with multiple ids, the returned amounts keeps
getting bigger every row.

Closes #7211
2015-06-26 08:32:53 +02:00
Carlos Alberto Cipriano Korovsky 36c283fec1 [CLA] Add UKTech (Uhlig & Korovsky Tecnologia Ltda) CLA 2015-06-26 08:29:09 +02:00
Nicolas Bustillos aaf5231358 [CLA] Correct email Nicolas Bustillos 2015-06-25 20:17:06 +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
Developer Team bf0630e427 [FIX] tools: add support for transparency of PNG images
Fixes #2569
Closes #6260
2015-06-25 18:51:03 +02:00
Damien Bouvy 247867b8a3 [FIX] payment_ogone: jsonrpc calls give params as kwargs 2015-06-25 17:49:35 +02:00
qdp-odoo 0275d8c273 [FIX] account: put some order into the accounting settings 2015-06-25 17:24:00 +02:00
Lionel Sausin (Numérigraphe) 117238fcc1 [IMP] stock: Make the description of the UoS feature not misleading
The description was misleading because
sales and invoices are using the UoS quantity.

It's actually the WMS that does not use it.

Closes #1413
2015-06-25 17:23:29 +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
Nicolas Piganeau 7f80e57818 [CLA] Changed email address Nicolas Piganeau 2015-06-25 16:34:24 +02:00
Nicolas Martinelli cd9a5a5eb9 [FIX] payment_ogone: convert date received by Ogone
Ogone sends back the date with format MM/DD/YY
See https://secure.ogone.com/ncol/param_cookbook.asp

opw-642757
2015-06-25 16:13:36 +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
Denis Ledoux ba46732744 [FIX] delivery: allow carrier with 0.0 as normal price
Before this rev.,
if you define a carrier
 - without advanced price rules
 - with a normal price set to 0.0
 - Free if more than amount unchecked

When you try to invoice a delivery order
(coming from a sales order with as invoicing policy
"on delivery order)
No grid was found, while there was one, with as price 0.0

Closes #1364
2015-06-25 14:53:02 +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
Martin Trigaux a6b5290b79 [I18N] analytic_user_function: remove on_change terms
This should have never been in .pot file.
Do your job Transifex source file watcher thingy!
2015-06-25 12:22:55 +02:00
Robin Lucbernet 8ab6865849 [FIX] delivery: delivery_set returns a result
The delivery_set() method has no return statement.
Calling this method through xmlrpc produce an error since None is not valid.

Closes #1033
2015-06-25 12:02:25 +02:00
Robin Lucbernet 384b60b3c7 [CLA] META-IT 2015-06-25 12:02:25 +02:00
Goffin Simon a3fbc2da86 [FIX] point of sale: rounding globally
The amount total computed for pos order must be the sum of the rounded tax amount
and the rounded untax amount. Inspired from _amount_total in "sale.order".

opw:643254
2015-06-25 11:52:05 +02:00
Stefan Rijnhart 33a65c2b8e [FIX] web: binary fields in one2many widgets
Don't retrieve the binary contents just to display the size, but pass context
with bin_size=True instead
Always pass filename in download link

Combination of patches from the bug report from Enrico Ganzaroli, Cedric Le
Brouster and Holger Brunn
Fixes #4899, lp:1167429
2015-06-25 11:45:47 +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
Xavier Morel d1a19bcb7f [IMP] base: performances of view._check_xml
View validation accounts for a fair cost of module installation, most of
that is spent checking for view validity, and a significant fraction
of *that* is spent reading the validated view from the DB.

Turns out _check_xml requested *all* view fields even though it needed
none of them save for the arch. Specifying fields to read_combined
rather than fetching all fields seems to result in a ~30% speedup of
_check_xml (under line_profiler). Most of the rest is spent fetching
sub-views (in get_inheriting_view_arch), I don't know that it can be
improved without hand-crafting a fairly complex SQL request.
2015-06-25 10:39:55 +02:00
Xavier Morel 443c38dbc0 [IMP] product: fnct_inv of image variant
Doesn't seem to have much effect, but it's probably still better to not
have 3 UPDATE run every time we create a new product.product.
2015-06-25 10:39:31 +02:00
Martin Trigaux a4c988d7eb [FIX] product_email_template: typo
Courtesy of Lionel Sausin
2015-06-25 09:57:10 +02:00
Miku Laitinen f5dd09dd84 [ADD] base: Finnish address format 2015-06-25 08:47:05 +02:00
Christophe Simonis a304194936 [MERGE] forward port of branch saas-6 up to 81b5c60 2015-06-25 00:26:31 +02:00
Joao Alfredo Gama Batista c3ca61da9e [IMP] sale_stock: add reference to product
Avoids incompatibility with modules that make reference a serial field.
2015-06-24 19:43:01 +02:00
Stéphane Bidoul da9d1a8c45 [FIX] account_budget: support view and consolidation children in budget positions
In account_budget module,
when creating a budget position,
the user can select view accounts and also accounts with consolidation children,
in addition to normal accounts.

However, when viewing budgets with positions containing only view accounts,
the "practical amount" field was always zero.

Since these type of accounts are accepted as budget positions,
the system should take into account children and consolidation children
when computing the practical amount.

Fixes #372
Closes #1247
2015-06-24 18:21:11 +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
Laetitia Gangloff 1511e788cf [FIX] fields: error if there is no value when convert a many2many relation
Closes #1165
2015-06-24 16:52:05 +02:00