Commit Graph
104305 Commits
Author SHA1 Message Date
Yannick Tivisse d4f4fbbfd5 [MOV] marketing_campaign_crm_demo: Rename files according to new api guidelines 2016-08-01 17:34:36 +02:00
Srushti Patel 9994b74d6a [FIX] web_diagram: Fixed broken diagram view. 2016-08-01 17:34:36 +02:00
Yannick Tivisse 0fa2ac1d5d [MIG] marketing_campaign: Migrate to new API 2016-08-01 17:34:36 +02:00
shp-odoo 531b9dfaa5 [REM] marketing_campaign: Remove dead code 2016-08-01 17:34:36 +02:00
shp-odoo fb3605b1ef [SPLIT] marketing_campaign: Split marketing_campaigns according related model 2016-08-01 17:34:36 +02:00
shp-odoo 02a91ed077 [MOV] marketing_campaign: Renamed/Moved files according to new api guidelines 2016-08-01 17:34:36 +02:00
Raphael Collet a1012050cd [FIX] point_of_sale: wrong field dependencies on pos.session.cash_control 2016-08-01 16:39:50 +02:00
Raphael Collet 002fe629f0 [FIX] maintenance: wrong field dependency on maintenance.team.todo_request_ids 2016-08-01 16:39:50 +02:00
Raphael Collet 46252578fc [FIX] base: wrong field dependency on ir.actions.client.params 2016-08-01 16:39:50 +02:00
Raphael Collet ab33c7714c [REF] fields: reimplement field.setup_triggers
The purpose of this reimplementation is to separate the resolution of
dependencies from the creation of the invalidation/recomputation triggers.
2016-08-01 16:39:49 +02:00
Thibault Delavallée 9c54cada45 [MERGE] product: migrate to new API and slightly clean code 2016-08-01 15:07:42 +02:00
Thibault Delavallée 0d60e0c87b [IMP] product: clean and simplify code after new API migration
* product.category: remove complete_name field as display_name can be used
  where the field was used
* product.supplierinfo: remove computed qty field. This field originally
  contained the min_qty computed into the product_uom. However commit
  3c186c5807 broke that field without reason.
  Since 2011 no one complained about this field being unnecessary, so let us
  remove it.
* product.template: shorter and less spaghetti version of create_variant
  method
* product_product._sellect_seller: fix use of default parameter in method
  kwargs + use odoo standard datetime default value
2016-08-01 15:05:34 +02:00
mdi-odoo f771ed2ca2 [REF] product: migrate yml test cases to unit test cases. 2016-08-01 15:05:33 +02:00
Thibault Delavallée 1b4f96cf40 [MIG][IMP] product: migrate and clean product pricelist report 2016-08-01 15:05:33 +02:00
Thibault Delavallée 1aa5bc0fdf [MIG] product: migrate addon to new API 2016-08-01 15:05:33 +02:00
Thibault Delavallée b747b05fa6 [REF] product, template: remove unused is_product_variant computed field, probably from old implementation 2016-08-01 15:05:33 +02:00
Thibault Delavallée 77c9e76e82 [REF] product_pricelist, *: clean the price and rule computation methods
A new API is introduced for price computing using pricelists. It is simplier
to use in most use cases, which is computing the product price in a given
pricelist. Old methods return dictionnaries and tuples, which are rarely
used in the code.
2016-08-01 15:05:32 +02:00
Thibault Delavallée 0f0ca1c133 [REF] product_uom, *: clean quantity computation methods
product_uom._compute_quantity is an ensure one multi method taking a browse
record as second paramter. It replaces _compute_qty and _compute_qty_obj
to have a single and standard computation method.
2016-08-01 15:05:32 +02:00
Thibault Delavallée f3d6a54e36 [REF] product_uom, *: clean price computation method
product_uom._compute_price() is now an ensure_one multi methods, taking
a browse record as second unit. This helps simplifying and unifying the
various calls and price computation methods.
2016-08-01 15:05:32 +02:00
Thibault Delavallée 429cd5970e [REF] product, *: clean price computation methods
Old price_get method is now replaced by price_compute and ready for migration.
Explicit parameters for unit of measure and currency have been added to ease
code understanding.
2016-08-01 15:05:32 +02:00
Thibault Delavallée 62d300d889 [REF] product: clean addon and prepare new API migration
This commit contains mainly the removal of dead code and update of methods
to match multi API.
2016-08-01 12:17:41 +02:00
Thibault Delavallée f8fc7edeb7 [ADD][TESTS] product: add some product variant tests 2016-08-01 12:17:23 +02:00
Thibault Delavallée 03b7ef16c8 [SPLIT] product: split product python and views into submodels
product.py and product_views.xml contained code related to several models.
This commit split those files to separate submodels :

 * decimal_precision
 * product_attribute: product.attribute, product.attribute.value,
   product.attribute.line
 * product_template: product.template
 * product_uom: product.uom and product.uom.categ
 * res_currency

Product now contains product.product model, along with some smaller
models (product.packaging, product.supplierinfo, product.category,
product.price.history)
2016-08-01 12:13:11 +02:00
mdi-odoo 75867d7bf6 [MOV] product: reorganize addon directory 2016-08-01 12:13:08 +02:00
Christophe Simonis b0313796d4 [MERGE] forward port branch saas-12 up to ac8b882 2016-08-01 11:19:01 +02:00
Christophe Simonis ac8b882d8f [FIX] website_sale: use new t-options python-formated attribute 2016-08-01 11:16:40 +02:00
Yannick Tivisse 3e252cf40d [REM] im_odoo_support: Remove the module 2016-08-01 10:13:39 +02:00
Yannick Tivisse 29886eaf3e [MOV] theme_bootswatch,theme_default: Restructure directory according to new API guidelines 2016-08-01 09:44:12 +02:00
Christophe Simonis b457f15c45 [MERGE] forward port branch saas-12 up to 285f6bd 2016-07-30 13:05:04 +02:00
Christophe Simonis 285f6bd114 [MERGE] forward port branch saas-11 up to 65a67ce 2016-07-30 13:04:39 +02:00
Christophe Simonis 65a67cedb4 [MERGE] forward port branch saas-10 up to 09e9434 2016-07-30 13:02:20 +02:00
Christophe Simonis 09e943429e [FIX] website_sale: unable to edit product price
The less refactoring in 5b65befcd8
wrongly removed the css directive that hide some elements in edit mode.

As a side effect, the product price was appearing twice when editing a
product. Commit 44ca4317a9 tempt to fix
it but removed the edition part.

opw:683343
2016-07-30 12:43:21 +02:00
Christophe Simonis f0ff7834a3 [FIX] payment: remove extra-comma on field definition 2016-07-29 18:58:51 +02:00
Christophe Simonis 523d3af131 [MERGE] forward port branch saas-12 up to 16d65a8 2016-07-29 17:55:21 +02:00
Christophe Simonis 16d65a8493 [FIX] test_assetsbundle: use helper to get bundle 2016-07-29 16:32:36 +02:00
Josse Colpaert ec841b7fa1 [FIX] inventory: when creating partial inventory, it should also go to partial state 2016-07-29 16:04:48 +02:00
Josse Colpaert f295bdccad [FIX] stock: fix traceback of unlink of picking 2016-07-29 16:04:33 +02:00
Christophe Simonis c043a26321 [FIX] base: AssetBundle: use correct attribute 2016-07-29 16:00:41 +02:00
Josse Colpaert a64deb4dd0 [IMP] mps: MPS module should not be an application, but a setting 2016-07-29 15:35:22 +02:00
Christophe Simonis f670b3b1df [MERGE] forward port branch saas-11 up to 3aea814 2016-07-29 15:33:51 +02:00
Yannick Tivisse 6a4899ea8f [MERGE] auth_ldap: Migrate to new API 2016-07-29 15:17:03 +02:00
Kinjal Mehta c4c716579a [MIG] auth_ldap: Migrate into new api. 2016-07-29 15:15:47 +02:00
Kinjal Mehta a7d276727f [SPLIT] auth_ldap: split files according to new API. 2016-07-29 15:15:47 +02:00
Kinjal Mehta 64ac8caa06 [MOVE] auth_ldap: Move files in related models and views directory 2016-07-29 15:15:47 +02:00
Richard Mathot e6ab21be58 [IMP] base_action_rule: add search view for BAR 2016-07-29 14:59:30 +02:00
Richard Mathot 9a38428a2a [IMP] base: allow to filter translations on model and view 2016-07-29 14:59:30 +02:00
Richard Mathot 599f3bc562 [IMP] base: allow to filter actions on model 2016-07-29 14:59:30 +02:00
Richard Mathot f543a28a0f [IMP] base: allow to filter models on model technical name only 2016-07-29 14:59:30 +02:00
Richard Mathot 4b3ce99b26 [IMP] base,report,report_webkit: clean config view for Reports 2016-07-29 14:59:30 +02:00
Adrien Dieudonne 534556a9a5 [FIX] project: prevent a crash when opening list view
The field state was replaced by ‘active’ in project.project (see commit 9b69184).
However, someone forgot to update the arch for the default list view which
was not longer possible to open.
2016-07-29 14:49:45 +02:00