Commit Graph
106440 Commits
Author SHA1 Message Date
Thibault Delavallée b755ee80a5 [MOV] sale_stock: reorganize module 2016-07-12 17:53:10 +02:00
Mansi Trivedi 5beec98ef8 [MIG] stock_calendar: test from yml to unit tests 2016-07-12 17:53:10 +02:00
Thibault Delavallée 4cb0965365 [MIG] stock_calendar: new API 2016-07-12 17:53:10 +02:00
Thibault Delavallée 3f7a950ccb [REF] purchase, stock_calendar: pre migration cleaning
* All methods are converted into an api.multi style (using ids instead of
  a browse record or an id)
* Removed api.v7 methods for two methods defined in purchase and overriden
  in stock_calendar, now used only in a true multi-style (old and new API)
* Moved methods having orderpoint as primary object on the orderpoint model
* Removed unused next_day field on resource.calendar model; it was
  introduced with hacks of resource.calendar, and never used.

The whole override of resource models should be cleaned but will be done
after migration of resource and stock.calendar.
2016-07-12 17:53:10 +02:00
Mansi Trivedi 61039df4b9 [MOV] stock_calendar: reorganize module 2016-07-12 17:53:09 +02:00
Divyesh Makwana 1919945770 [MIG] stock_account: new API 2016-07-12 17:53:07 +02:00
Thibault Delavallée 288e0acca1 [REF] stock_account: pre migration cleaning
* All methods are converted into an api.multi style (using ids instead of
  a browse record or an id)
* Dead code on product.template model: existing method on product.product
  has to be used
* ``_get_accounting_data_for_valuation`` and ``_prepare_account_move_line``
  methods moved on the stock.move model as their primary object is a
  stock move
* Simplified implementation and call parameters of ``_get_price`` of
  account.invoice.line to ease code understanding
2016-07-12 17:52:29 +02:00
mdi-odoo 6a824e4a5e [MOV] stock_account: reorganize module 2016-07-12 17:52:29 +02:00
Thibault Delavallée 8f1e11ab52 [CLN] stock_picking_wave: cleaning and linting 2016-07-12 17:52:29 +02:00
Thibault Delavallée 7a15c6fe8f [CLN] stock_dropshipping: cleaning and linting 2016-07-12 17:52:28 +02:00
Thibault Delavallée 9a84193f9d [MOV] stock_dropshipping: reorganize module 2016-07-12 17:52:28 +02:00
Jainik Patel 904f14120c [MIG] stock_landed_costs: new API 2016-07-12 17:52:28 +02:00
Thibault Delavallée 2ff5d2a650 [REF] stock_landed_costs: pre migration cleaning
* All methods are converted into an api.multi style (using ids instead of
  a browse record or an id)
* Two methods on stock.landed.cost model that work actually on stock.move
  records are moved to the stock.move model
* Unnecessary parameters removed from get_valuation_lines to ease the code
  understanding
2016-07-12 17:52:28 +02:00
Thibault Delavallée 368c2346b6 [MOV] stock_landed_cost: reorganize module 2016-07-12 17:52:27 +02:00
Thibault Delavallée 168807a255 [IMP] product: get_history_price multi to ease migration
This method is used only in stock_account that is about to be migrated
into the new API. To ease the migration the method is converted into
a multi method, using a decorator.
2016-07-12 17:51:28 +02:00
Thibault Delavallée 30b2806e58 [FIX] yaml_import: forward port of saas-12 fixes
fa502dcab8: [FIX] tools: yaml_import: typo
during migration

15835236f2: [FIX] tools: yaml_import: fields
with inverse When importing from yaml do not remove valid values for
computed fields with an inverse method
2016-07-12 17:49:58 +02:00
Ravi Gadhia 631019b865 [MIG] website_membership: migration to new api 2016-07-12 17:25:48 +02:00
Jérome Maes f96b3cd9f9 [MOV] website_membership: module directory organization 2016-07-12 17:25:48 +02:00
Jairo Llopis ee365bbf98 [FIX] modules: choose the right addons path
When launching a server with two similar addons path, e.g.:
- /home/alice/dev
- /home/alice/devodoo

launching the server in dev mode may crash due to the poor matching using
`path.startswith(...)` method which may make `/home/alice/devodoo/bob/main.xml`
match in addons folder `/home/alice/dev` and with a non-exitant local path
`odoo/bob/main.xml`.

Instead of relying on the name, use the `os.path.commonprefix()` method to match
on real paths and avoid partial matching.
commonprefix will only work if the folder name ends with the appropriate
separator (which is not guarantee for a user provided addons-path) so force a
trailing `/` using os.path.join(..., '')`.

Closes #12359
2016-07-12 17:21:50 +02:00
Damien Bouvy d7d07810aa [FIX] hr_timesheet_sheet: no product on employee
Some leftover code from before.

opw-683126

Courtesy of David Coninckx
2016-07-12 16:30:56 +02:00
Aaron Bohy ee4c808d2c [FIX] web: debug_manager: update when coming back with breadcrumbs
Before this rev., the debug manager's state was only updated when pushing a new
action but not when coming back to a previous action using the breadcrumbs.
So when the latter case happened, the debug manager was desynchronized with the
action manager and it allowed to edit an action that wasn't the current action.
2016-07-12 15:30:01 +02:00
Jérome Maes d28e8446da [MIG] website_portal*: migration to new api
Those modules were almost already migrated, this commit
simply modified the import and the xml tags.
2016-07-12 14:29:31 +02:00
Jérome Maes e13f8fa4fe [MOV] website_portal*: module directory organization 2016-07-12 14:29:31 +02:00
Jérome Maes 09b783794e [MIG] website_sale_*: migration to new api
Those module were almost already migrated, this commit simply modified the import and the xml tags.
2016-07-12 14:29:31 +02:00
Jérome Maes c8d238093e [MOV] website_sale_*: directory organization 2016-07-12 14:29:31 +02:00
Vincent Renaville c9b270c9a4 [IMP] l10n_ch: extend minimal chart of account. Was PR #12552. Courtesy of CamptoCamp 2016-07-12 12:15:57 +02:00
Richard Mathot 42cfd81b32 [TYPO] l10n_do: two provinces must have different codes
(spotted by master-nightly)
2016-07-12 11:51:57 +02:00
Jérome Maes 1c8ab58c17 [IMP] website_sale_digital : use read_group for computed fields 2016-07-12 11:43:49 +02:00
Jérome Maes 71a505d37f [MOV] website_sale_digital : reoganize module directory 2016-07-12 11:43:49 +02:00
Jérome Maes 65dcfbbbc9 [MOV] website_rating_project_issue : move files to reorder module 2016-07-12 11:43:49 +02:00
Jérome Maes 28313ab574 [REM] hr_contract : remove unused file 2016-07-12 11:43:48 +02:00
Jérome Maes 96fc908c15 [MIG] website_issue : migrate to new api 2016-07-12 11:43:48 +02:00
Jérome Maes 2e8b4dfb8f [MIG-MOV] website_hr_recruitment : finalize grouping models, and migrate xml and python to new api 2016-07-12 11:43:48 +02:00
Jérome Maes e9b6a1c0db [MOV-MIG] website_hr_recruitment : move some file and migrate some others ot new api 2016-07-12 11:43:48 +02:00
Jérome Maes 3275a90ff0 [MIG] website_customer : migraton to new api 2016-07-12 11:43:48 +02:00
Jérome Maes ea90d4ef0c [MOV] website_customer : move files 2016-07-12 11:43:48 +02:00
Jérome Maes 53b65a51d2 [MIG] website_crm : migration to new api 2016-07-12 11:43:47 +02:00
Jérome Maes 68b5cf0721 [MOV] website_crm : reorganize module directory 2016-07-12 11:43:47 +02:00
Yannick Tivisse 7fca4c2577 [MERGE] l10n_in_hr_payroll: Migration to new API 2016-07-12 09:54:03 +02:00
Rohan Patel bce60748b5 [MIG] l10n_in_hr_payroll : Converted yml test cases to python unittest. 2016-07-12 09:53:06 +02:00
Rohan Patel 21e824b4ef [MIG,IMP] l10n_in_hr_payroll : Migrated reports to new API. 2016-07-12 09:53:05 +02:00
Rohan Patel a7886df35f [MIG] l10n_in_hr_payroll : Migrated to new API. 2016-07-12 09:41:10 +02:00
Rohan Patel 0b4b508ddd [MOV] l10n_in_hr_payroll : Re-organized directory structure. 2016-07-12 09:41:10 +02:00
Damien Bouvy f600366092 [FIX] point_of_sale: correct previous fix
I inadvertently inverted the domains; silly me.
2016-07-12 09:26:01 +02:00
Yannick Tivisse cb46de527c [MERGE] l10n_fr_hr_payroll: Migration to new API 2016-07-12 09:25:44 +02:00
Rohan Patel 08f8719985 [MIG,IMP] l10n_fr_hr_payroll : Migrated reports to new API. 2016-07-12 09:24:56 +02:00
Rohan Patel 2b19b806e1 [MIG] l10n_fr_hr_payroll : Migrated to new API. 2016-07-12 09:24:56 +02:00
Rohan Patel edf633fb9a [MOV] l10n_fr_hr_payroll : Re-organized directory structure. 2016-07-12 09:24:56 +02:00
Damien Bouvy 47bb1cf44d [FIX] point_of_sale: session access rules
You should not be able to see a pos.session if its pos (config_id)
is not available to you.
2016-07-12 09:22:19 +02:00
Yannick Tivisse 430c1ce238 [MERGE] document: Migration to new API 2016-07-12 09:03:53 +02:00