Pedro M. Baeza
e37fc69542
[MIG] Make modules uninstallable
2015-10-14 03:32:04 +02:00
Stéphane Bidoul
5e41cb25a2
[UPD] prefix versions with 8.0
2015-10-09 10:02:59 +02:00
Leonardo Donelli
9c2e077ffa
Fix authors list in manifest file
...
Missing comma/whitespace causes MONK Software and OCA to be a single entity on apps.odoo.com
2015-10-02 11:18:11 +02:00
Alexandre Fayolle
9cb4451f6f
replace copy_data override with copy=False
...
the code for code is already in copy_data of crm_claim_code.
added test
2015-09-28 16:55:36 +02:00
Alexandre Fayolle
09e8a8d132
fix mistakes made when porting to the new API
2015-09-28 15:56:27 +02:00
Alex Comba
75860f1fcb
Merge pull request #51 from damdam-s/8.0-fix_message_log_chat
...
[FIX] wrong decorator 'model' used instead of 'multi'
2015-09-28 13:32:58 +02:00
Alexandre Fayolle
e5f5a97ea4
Merge pull request #49 from damdam-s/8.0-fix-name_get_unicode
...
[FIX] unicode error when accents in name
2015-09-28 13:04:06 +02:00
Damien Crier
5f9f812ef9
[FIX] wrong decorator 'model' used instead of 'multi'
2015-09-28 13:00:52 +02:00
Damien Crier
dffeaf9c7a
[FIX] unicode error when accents in name
2015-09-28 11:27:37 +02:00
Yanina Aular (Vauxoo)
011a59a32e
[FIX] Fixes #46 . Module adapted to new characteristics with respect to picking in stock module, tests created and improved.
2015-09-22 18:12:35 -04:30
Leonardo Donelli
f35c179849
Fix error on installation related to order of xml records
...
The claim form view refers to some window actions that were declared
after. Move the view definition after the actions definition to
fix error.
2015-08-07 17:16:19 +02:00
Leonardo Donelli
f746a981c5
Fix PEP8 warnings
2015-08-07 17:04:32 +02:00
Leonardo Donelli
2b2048846c
Work with recordsets instead of ids
...
In the `_get_common_*` methods and also in the default functions
2015-08-07 14:58:37 +02:00
Leonardo Donelli
635c5d53c6
Show location labels in return wizard, remove commented code
2015-08-07 14:39:17 +02:00
Leonardo Donelli
7914a43334
Fix some outdated references to the renamed fields
2015-08-07 14:27:27 +02:00
Ondřej Kuzník
7022354aa1
[IMP] Port tests to v8 as well
...
Conflicts:
crm_claim_rma/tests/test_lp_1282584.py
2015-08-07 12:13:16 +02:00
Leonardo Donelli
df55bf0013
Ensure recordset is a single record in methods, slight adjustments
2015-08-07 11:48:40 +02:00
Leonardo Donelli
63d63c3bae
Improve crm.claim views
...
Put buttons in the header, fix layout (smart buttons),
reduce code duplication, remove duplicated name field,
fix indentation and whitespace,
rename 'Return lines' to 'claim lines', ...
2015-08-06 14:24:48 +02:00
Ondřej Kuzník
71cdae5210
Move claim buttons to the header
2015-08-06 11:37:26 +02:00
Leonardo Donelli
d11503bca4
Improve port to new API and fix exceptions error.
...
Simplify some methods, work with recordset instead of ids when
possible, use @api.one, follow naming guidelines, ...
Also fixes an error introduced in the previous-to-last commit
regarding the custom exceptions.
2015-08-05 20:03:24 +02:00
Leonardo Donelli
e1b79001d2
Follow OCA guidelines for module structure
...
https://github.com/OCA/maintainer-tools/blob/master/CONTRIBUTING.md
2015-08-05 15:19:01 +02:00
Leonardo Donelli
5ca3f55b80
Fix imports, docstrings and other conventions
...
Imports https://www.python.org/dev/peps/pep-0008/#id17
and http://odoo-new-api-guide-line.readthedocs.org/en/latest/conventions.html
Docstrings https://www.python.org/dev/peps/pep-0257/
2015-08-05 11:43:28 +02:00
Aristobulo Meneses
cb02d2100d
Remove unused ValidationError import. Remove unnecesary blank lines
2015-07-31 15:08:45 +02:00
Aristobulo Meneses
fb13528ee9
Use crm_claim_code
2015-07-31 14:46:05 +02:00
Aristobulo Meneses
2aac9904e3
Modify pre_init_hook method
2015-07-31 13:50:50 +02:00
Aristobulo Meneses
e252e8fa8c
Fix pre_init_hook parameter
2015-07-31 13:32:04 +02:00
Aristobulo Meneses
9d0d61abd1
Add missing blank lines in __init__.py
2015-07-31 13:23:55 +02:00
Aristobulo Meneses
4632e7120c
Fix line under-indented issue
2015-07-31 13:17:19 +02:00
Aristobulo Meneses
b11121025c
Use pre_init_hook to fill claim number
2015-07-31 13:14:58 +02:00
Aristobulo Meneses
890ec06c47
Fix fields declaration
2015-07-31 12:56:42 +02:00
Aristobulo Meneses
87debeeece
Get context directly from self.env
2015-07-31 12:28:33 +02:00
Aristobulo Meneses
ecaff70eec
Proper use of context with new api
2015-07-31 12:25:43 +02:00
Aristobulo Meneses
bdd939ac78
Merge branch 'port_crm_claim_rma' of https://github.com/eezee-it/rma into port_crm_claim_rma
2015-07-31 12:19:02 +02:00
Aristobulo Meneses
30dfdbbf69
Import fields using a wide scope. Update fields declaration
2015-07-31 12:17:19 +02:00
Aristobulo Meneses
61884011a0
Use wide scope when importing fields.
2015-07-31 11:32:19 +02:00
Aristobulo Meneses
a787c6a7a3
Move crm_claim_rma from __unported__
2015-07-31 10:07:29 +02:00
StefanRijnhart
e36ae5d483
[PRT] Move modules to __unported__ for 8.0 branch creation
2015-02-02 12:03:38 +01:00
Guewen Baconnier
a4eaa8d97f
pep8
2014-10-03 17:21:26 +02:00
Guewen Baconnier
d3188a29a7
The 'lines' argument can be False so we can't loop
2014-10-03 17:01:36 +02:00
Guewen Baconnier
270100acb3
reset values when some fields are missing to compute warranty
2014-09-08 14:13:24 +02:00
Guewen Baconnier
e094d5ada0
pep8 in crm_claim_rma
2014-09-08 14:04:13 +02:00
Guewen Baconnier
f2b5bccc99
Update warranty information when the date, the type or warehouse of the
...
claim is modified
2014-09-08 14:00:15 +02:00
Guewen Baconnier
99765ac98e
trigger the onchange when the invoice line is modified too
2014-09-05 17:22:27 +02:00
Guewen Baconnier
6455fd2c12
do not pass the claim id so the onchange use the values on the views
...
this is better since the values in the view could have been changed
2014-09-05 17:18:13 +02:00
Guewen Baconnier
6904c15787
When the product_id change, change the warranty infos as well
2014-09-05 17:15:50 +02:00
Guewen Baconnier
b2b613ec56
onchange_invoice_id now get the values for the warranty address
2014-09-05 16:32:42 +02:00
Guewen Baconnier
07f6fa842e
Extracted a method so it will be possible to add an onchange
2014-09-05 16:20:51 +02:00
Guewen Baconnier
1374df1e48
onchange_invoice_id now compute the warranty limit
2014-09-05 16:13:13 +02:00
Guewen Baconnier
57af6a6caf
Started refactoring of the warranty limit method
...
In order to be able to use it in an onchange
2014-09-05 15:51:50 +02:00
Joël Grand-Guillaume
4d4a964a71
Add init method to initialize a value in claim 'number' (avoiding tests to crash)
2014-07-16 15:20:06 +02:00