Commit Graph

6 Commits

Author SHA1 Message Date
Damien Crier
5f9f812ef9 [FIX] wrong decorator 'model' used instead of 'multi' 2015-09-28 13:00:52 +02:00
Leonardo Donelli
f746a981c5 Fix PEP8 warnings 2015-08-07 17:04:32 +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
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