Commit Graph

236 Commits

Author SHA1 Message Date
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
862d473ffe Add OCA/crm dependency 2015-07-31 15:13: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
Javier Carrasco
1be17a3630 Updated crm_claim_rma to Odoo v8 2015-07-16 20:14:23 -04:30
Javier Carrasco
50ce66dec6 Update copyright. Update module descriptor to include Eezee-It 2015-07-14 11:26:58 -04:30
Yannick Vaucher
6085180eb2 Merge pull request #23 from credativUK/8.0-product_warranty
product warranty port v8
2015-05-22 15:11:48 +02:00
Ondřej Kuzník
c681fc12a9 [IMP] Move description to README.rst 2015-05-14 10:25:19 +01:00
Ondřej Kuzník
fb09dc050a [IMP] Port product_warranty 2015-05-14 10:25:19 +01:00
Ondřej Kuzník
d835c12774 [FIX] Fix flake8 issues 2015-05-14 10:25:18 +01:00
Ondřej Kuzník
4517ce08db [FIX] Switch to AGPL 2015-05-14 10:25:18 +01:00
Sandy
c172d85478 Remove sudo requirement 2015-05-13 16:16:19 -04:00
Pedro M. Baeza
9542abc0d4 Merge pull request #19 from gurneyalex/8.0-fix-travis
8.0 fix travis
2015-04-21 10:17:59 +02:00
Alexandre Fayolle
9ca96a6467 update branch information in README.md 2015-04-21 10:04:48 +02:00
Alexandre Fayolle
799af52f29 update travis config to latest standards 2015-04-21 10:04:33 +02:00
Alexandre Fayolle
0f5a429d31 don't use travis container-based infrastructure 2015-03-27 16:21:13 +01:00
Alexandre Fayolle
2f0abdf7a6 Add OCA as author of OCA addons
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.
2015-03-02 17:27:39 +01:00
Maxime Chambreuil - http://www.savoirfairelinux.com
aa0120c500 Merge pull request #16 from yvaucher/8.0-add-license-key
Add license key in __openerp__.py
2015-02-06 14:36:28 -05:00
Yannick Vaucher
b03765ac7e Add license key in __openerp__.py 2015-02-06 17:20:26 +01:00
StefanRijnhart
e36ae5d483 [PRT] Move modules to __unported__ for 8.0 branch creation 2015-02-02 12:03:38 +01:00
Yannick Vaucher
3675a61f6e Merge pull request #11 from akretion/70_port_categ_as_name
[PORT] port crm_claim_categ_as_name to v 7.0
2014-12-12 18:22:37 +01:00
Benoit Guillot
b6e630f1d3 [FIX] fix copyrights 2014-12-12 17:56:42 +01:00
Benoit Guillot
bb368ad8e5 [FIX] fix copyrights 2014-12-02 14:01:11 +01:00
Benoit Guillot
7b3d7735d2 [PORT] port crm_claim_categ_as_name to v 7.0 2014-12-02 09:24:55 +01:00
Yannick Vaucher
ed94aacd51 Merge pull request #8 from guewen/rma-warranty-onchange
crm_claim_rma: warranty information is computed with on_changes
2014-12-01 18:32:01 +01:00
Pedro M. Baeza
12f40cccbf Merge pull request #9 from guewen/rma-stock-location
crm_rma_stock_location: adds a RMA location on warehouses
2014-11-16 10:17:40 +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
82859f92f9 Rename method to prevent conflicts with standard quantity fields 2014-09-15 10:04:26 +02:00