Commit Graph
18 Commits
Author SHA1 Message Date
Cédric Krier cc9f1e7c68 Enforce party required on account receivable and payable
It is needed to correctly compute the payable and receivable amounts.

issue5565
review50561002
2018-09-11 00:17:46 +02:00
Cédric Krier 8758950427 Add __table_handler__ to ModelSQL
issue7581
review48531002
2018-07-24 22:01:07 +02:00
Cédric Krier e019315e9c Remove Property fields
issue2349
review34831002
2017-04-01 00:25:49 +02:00
Sergi Almacellas Abellana 3949ae8d87 Use sequence_ordered in configuration and account models
Missing from changeset ed566b41e37e
2016-09-13 14:27:41 +02:00
Shreedhar Manek ddda74a477 Add missing cls attributes to classmethods
Add missing cls attributes to classmethods which
were broken after changeset a958bbb8389d

issue 5430
review17191002
2016-03-26 20:42:38 +01:00
Cédric Krier 6558faabad Fix wrong definition for default_tax_rounding method 2016-03-25 13:02:26 +01:00
Shreedhar Manek a51a9a8456 Move tax_rounding configuration from account_invoice to account module
Everything related to tax_rounding has moved from the account_invoice module
to the account module including the xml files.

issue5363
review20851002
2016-03-25 10:31:10 +01:00
Cédric Krier 8deb716352 Refactor account getter and setter of Configuration
They can be reuse for default properties on other models.

issue4824
review13241002
2015-06-28 19:39:57 +02:00
Cédric Krier 492ffa9f5a Fix most flake8 errors
review8771002
2014-12-02 12:54:29 +01:00
Cédric Krier 483a2fc404 Use context to check model and field access
issue4081
review8481002
2014-09-17 21:44:51 +02:00
Cédric Krier 44c4b89065 Fix usage of context company
Default value of company should be -1 to get the right cast and an impossible
value.
Replace False by None as other value in "in" clause.

issue3394
review1119002
2013-10-09 18:25:04 +02:00
Albert Cervera i Areny 87222daf32 Use a list of dictionaries in create().
issue2358
review266002
2013-01-06 22:18:13 +01:00
Cédric Krier 0f919d5f3a Active Record 2012-09-24 22:17:29 +02:00
Cédric Krier ff9f887f17 Fix pep8 and pyflakes 2012-04-03 20:06:15 +02:00
Cédric Krier 36bb3ddde1 Replace wrong usage of False by None
issue2512
2012-03-27 10:43:03 +02:00
Max Holtzberg f30d65836d Property name field removed
issue2347
review205001
2011-12-17 13:45:40 +01:00
Cédric Krier 411dbb0618 Simplify get/set_account
review186003
2011-12-01 13:24:15 +01:00
Nathanael Perat 095e237fb8 fixed default account receivable/payable properties
issue 1342
review 162006
2011-10-31 14:55:49 +01:00