Commit Graph
98211 Commits
Author SHA1 Message Date
pvy 49a695ff4e [ADD] l10n_hu: menuitems for the hungarian statements 2015-09-16 15:58:43 +02:00
Josse Colpaert 9ac8d9830e [FIX] Change price history and stock valuation report to standard_price on variant
As the standard price on the product template changed towards the product variant,
we should also change the product price history to be by variant.

Also the inventory value calculated in the Stock Valuation report should be by variant.
2015-09-16 15:25:03 +02:00
Nicolas Martinelli 4449984c75 [REF] purchase: better overriding possibilities 2015-09-16 14:51:51 +02:00
Xavier Morel a1c878e40f [FIX] account: missing parameter in send_mail
d88c34d1 added an auto_commit parameter to send_email of
mail.compose.message but apparently missed updating at least one
override.

Fix that oversight.
2015-09-16 14:41:12 +02:00
Joren Van Onder 94900dda50 [IMP] point_of_sale: reimplement cash control support
Support for cash control was removed in
c04065abd8. Because the cash_control field
on account.journal was removed, we now define a cash_control preference
on pos.config. In order to set the opening and closing balances the new
AccountBankStmtCashWizard is used.
2015-09-16 14:09:41 +02:00
Martin Geubelle 5345961073 [FIX] web_kanban: instant tooltip on tags, without delay 2015-09-16 14:07:30 +02:00
Martin Geubelle 80299af6d5 [IMP] web_kanban: if no tag, the corresponding section should be hidden 2015-09-16 13:42:38 +02:00
Joren Van Onder 8b17079530 [FIX] account: select last bank statement based on date_done, not date
date is a Date field, whereas date_done is a Datetime field. When using
date, the code failed to successfully select the last bank statement if
there were multiple bank statements being opened on the same day.
2015-09-16 13:01:52 +02:00
Joren Van Onder 88d851af58 [FIX] account: correctly set the opening amount of a bank statement
_default_opening_balance is used as a default for the balance_start
field. A default function should return the default value, not attempt
to set it on self, which is what was being done when
_set_opening_balance gets called.
2015-09-16 13:01:52 +02:00
Joren Van Onder f5ad251686 [FIX] account: _compute_values_for_statement_line is not a valid compute
This allows people to use point of sale > sessions > put money in again.
2015-09-16 13:01:52 +02:00
Nicolas Martinelli 2d5776d248 [FIX] sale, sale_stock: do not decrease quantity
In case of exception (refund, return of product), we want to let the
user decides what needs to be done with the quantity delivered or
invoiced.
2015-09-16 12:03:59 +02:00
Nicolas Martinelli 6524300a4b [FIX] sale: do not store invoice_count
Because reasons:
- The field is only used in a stat button, so there is a limited number
  of accesses to it.
- The field is computed in a method which is used to compute
  invoice_ids, which is not stored anyway.
- If some refund_ids are found, invoice_count is not updated in the
  database. This is because the refunds are not linked in any way to the
  SO or to the original invoice, making impossible to find an
  appropriate @api.depends field to monitor.
2015-09-16 12:03:59 +02:00
Yannick Tivisse c4a1e90891 [IMP] product: Traceback on product_variant_easy_edit_view loading 2015-09-16 12:01:37 +02:00
Raphael Collet bd092e9ce7 [IMP] models: optimize recomputations by saving values in record batches
The recomputation of a field `name` on `recs` is done roughly like this:

    for rec in recs:
	rec._write({name: rec[name]})

The effect of this patch is to group records by value `rec[name]`, and to
update records in batches like:

    recs.write({name: val})             # rec[name] == val for all rec in recs

As a consequence, less queries are issued to the database for updating records.
This improvement is very effective in the case of migrations!
2015-09-16 11:56:44 +02:00
Raphael Collet 5805b87005 [IMP] api: in todo list, group records to recompute by environment
The effect of this change is to trigger the recomputation of fields on larger
recordsets.  This takes advantage of batch computations within compute methods.
2015-09-16 11:56:44 +02:00
Shivam Dudhat 9d36fe5c52 [IMP] payment: error message and style 2015-09-16 11:30:55 +02:00
rmu-odoo 36483a1f2f [IMP] website_sale: add button 'Configure Transfer Details' to configure the payment provider details. 2015-09-16 11:30:50 +02:00
Rashik kalathiya 897ac590b2 [IMP] lunch: usability improvement
View improved, remove warning message and improve search modal
2015-09-16 11:28:51 +02:00
Josse Colpaert 0f89721cda [IMP] procurement: Integrate procurement_jit in other modules and change to sale_auto_reserve
As procurement_jit has been optimized (by running multiple procurements at once),
it does not make sense to still have a module that without it, does not generate Pick > Pack > Ship
automatically, but only Ship.  We can do it anyways.

That way, the procurement_jit module can become clearer in its functionality to the user: when
a sale order is confirmed, it will automatically reserve the picking from the stock location (in case of MTS)
and people who don't want that functionality can still immediately have the Pick > Pack > Ship.

Make sure also push_apply works with manually created pickings.
2015-09-16 11:04:33 +02:00
Olivier Laurent 5ffb09a5df [FIX] account_voucher: use 'voucher' instead of 'self' in _compute_total
Using 'self' triggers a ValueError: Expected singleton
2015-09-16 10:31:05 +02:00
Yannick Tivisse 03d0cac7cc [IMP] hr_equipment: Hide category_id, as it's the same as the stages 2015-09-16 10:07:55 +02:00
Yannick Tivisse e176b4a22e [IMP] Purchase: Add a group in res_config to display 'Vendors Pricelists' menuitem 2015-09-16 10:07:55 +02:00
Yannick Tivisse 0d68a012d0 [FIX] product: product_tmpl_id was displayed on the product_product form view 2015-09-16 10:07:55 +02:00
Xavier Morel 1e2e38b96a [FIX] translate docstrings
rst literals are double-quoted
2015-09-16 10:02:37 +02:00
David Monjoie 2a4784431c [IMP] website_form: disambiguate module name wrt website_form_editor 2015-09-16 09:25:56 +02:00
Alexis de Lattre 1d6c92a8c6 [FIX] hr_expense: journal_id domain typo 2015-09-16 00:31:06 +02:00
Christophe Simonis f29d81d372 [FIX] product: correct function fields triggers.
The function field `volume` and `weight` on product.template were not
recomputed correctly.
The function field `standard_price` should not be stored as it's based
on a property field. Add a search function on it.
2015-09-15 19:24:29 +02:00
Simon Lejeune a693a60082 [FIX] planner: correct tooltip text changes
and only init the tooltip once
2015-09-15 18:09:18 +02:00
odoo-tac c033826492 [FIX] portal : Fixed portal wizard view and traceback that occured when giving portal access to a user. (Thx to RCO for the view fix) 2015-09-15 17:10:06 +02:00
qsm-odoo 9e6f9b4cc7 [IMP] sale: remove useless kanban field contexts
These are not evaluated, kanban fields in creation mode will use the
contexts defined in the form arch defined above.
2015-09-15 17:05:21 +02:00
qsm-odoo 037ee039d1 Revert "[FIX] bug when creating a SO line in mobile view"
This reverts commit 1c81d601c9.

This fix was not useful anymore since the previous commit fixed
the problem for context forwarding for:
formview -> m2m_kanban -> record creation (formview dialog)
2015-09-15 17:05:21 +02:00
qsm-odoo 14162c5e6e [FIX] web_kanban: ctx eval in record creation from m2m_kanban
Contexts in formview which contained parent.[some_field] were not able
to be evaluated when creating a record from a many2many_kanban because
the parent view was not given to the creation dialog.
2015-09-15 17:05:21 +02:00
qsm-odoo 439c996219 [IMP] project_issue: issue form view
Issue form view had still some misaligned and wrong template parts.
(Uniformization with task form view)
2015-09-15 17:05:21 +02:00
Simon Lejeune 3e878f561f [FIX] project: planner: layout and default values of kanban stages 2015-09-15 17:03:10 +02:00
sha-odoo ade332d40a [FIX] hr_payroll: fixed the form view mess in salary rule category 2015-09-15 16:42:46 +02:00
Jérome Maes b3e7629566 [FIX] website_event_track : menu items generation
When uncheck 'show tracks on website' or 'tracks proposal' the menu of event page (on website) was not modified.
2015-09-15 16:42:38 +02:00
Dharmraj Jhala ae23c92e1b [IMP] website_links: Improved descriptor file of website_links module
Improved name attribute of descriptor file for this module to avoid confusion with same name of link_tracker
2015-09-15 16:41:10 +02:00
vbh-odoo 0975c71689 [FIX] web : FormView wrong records count in pager
Using breadcrumb to open and close form view, the page counter increase each time with the number of record in the list view or kanban view
2015-09-15 16:40:46 +02:00
Christophe Simonis cc47baf763 [FIX] models: auto convert monetary fields 2015-09-15 16:23:07 +02:00
Martin Trigaux 743adfe875 [IMP] sale: better field label 2015-09-15 15:40:13 +02:00
Olivier Laurent 883390863a [FIX] doc: upgrade_api: slight fix
small fix in example for creating a request
DB_SOURCE was not defined. FILENAME was to be used.

Also reordered the fields so as to have the most important ones at the
beginning.
2015-09-15 14:58:23 +02:00
Cedric Snauwaert adb17252cb [FIX] account_voucher: add oldname on price_unit towards amount 2015-09-15 14:39:35 +02:00
pvy 3f5ee0db8c [ADD] add menuitems for the reports of each l10n 2015-09-15 14:36:11 +02:00
Nicolas Martinelli 800aedee22 [IMP] sale, purchase: better tooltip for "Set to Done" 2015-09-15 14:35:20 +02:00
Nicolas Martinelli d504ff7714 [IMP] sale: automatically create deposit product
If a default deposit product is not selected in the configuration, it is
now created automatically with the appropriate values.
2015-09-15 14:35:20 +02:00
Nicolas Martinelli 3d8ec1fa4d [FIX] sale: search for refunds 2015-09-15 14:35:20 +02:00
Raphael Collet 84ade6a861 [IMP] web_planner: optimize method render of web.planner
This method generates many queries on:
 - `ir.module.module`, to known whether a given module is installed;
 - `ir.actions.act_window`, to know whether a given action exists.

Add a cache for both cases.  The number of queries is reduced by 90%.
2015-09-15 14:34:31 +02:00
Adrien Dieudonne 45d53ec465 [FIX] sale_stock: onchange warning for packaging 2015-09-15 14:20:19 +02:00
David Monjoie d210744ef0 [IMP] website_form: various improvements
- Fixed the module name and category in manifest
- Fixed website_form_blacklisted being ignored
- Unauthorized readonly and magic fields
- Reset the form on successfull submit
- Added missing date field
- Added date and datetime validation
2015-09-15 14:00:36 +02:00
Olivier Laurent 0902554953 [FIX] account: use 'journal' instead of 'self' in _methods_compute
Using 'self' triggers a ValueError: Expected singleton
2015-09-15 13:55:16 +02:00