Christophe
e9156d1a8c
Replace 'Update Cost Price' by 'Modify Cost Price'
...
issue7903
review271541002
2019-07-08 18:35:57 +02:00
Cédric Krier
bba4c66189
Merge account kind and account type
...
issue4990
review68401002
2019-03-24 18:00:01 +01:00
Cédric Krier
24956b880f
Add ir.message and use custom exceptions
...
issue3672
2018-12-29 14:20:29 +01:00
Cédric Krier
59526e55a8
Use material design icons
...
issue474
review60291002
2018-08-19 20:02:58 +02:00
Cédric Krier
b284e19f1c
Add __table_handler__ to ModelSQL
...
issue7581
review48531002
2018-07-24 22:01:07 +02:00
Cédric Krier
e27ce586ad
Remove support for Python 2.7
...
issue7497
review53261002
2018-06-26 19:11:44 +02:00
Cédric Krier
e6d10fd4fc
Remove accounts from products
...
issue3805
review45111002
2018-06-20 12:09:43 +02:00
Sergi Almacellas Abellana
28cfb6ba42
Repalce MissingFunction with properties
...
Function fields may be called with a list of records which causes the
MissingFunction to raise an error if other products does not have this account
type set, which will be correct when mixing diferent products types
issue6634
review41441002
2017-09-20 12:17:21 +02:00
Albert Cervera i Areny
5b808bf035
Remove unused variable.
...
review38571002
issue6725
2017-08-17 23:44:33 +02:00
Albert Cervera i Areny
35d36930d0
Remove unnused imports.
...
Changes introduced in rev920105074a1a make some imports unnecessary.
review38571002
issue6725
2017-08-17 23:42:49 +02:00
Albert Cervera i Areny
9abf4f8738
Fix get_product() docstring that indicated that a template may be returned.
...
review38571002
issue6725
2017-08-17 23:40:53 +02:00
Cédric Krier
cb9cc9dc37
Move cost price to product level instead of template
...
issue6515
review41321002
2017-07-05 14:51:42 +02:00
Cédric Krier
a44e5feed9
Remove Property fields
...
issue2349
review38261002
2017-04-01 00:29:59 +02:00
Cédric Krier
e74ce4c824
Replace category by categories on Template
...
issue5320
review23791002
2016-03-19 09:04:36 +01:00
Cédric Krier
7ed7be42a4
Add Python3 support
...
issue3211
2016-03-10 15:08:15 +01:00
Cédric Krier
f0c5087aff
Register Product and override MissingFunction fields
...
issue5087
2016-01-02 10:25:08 +01:00
Cédric Krier
446f70ca69
Add Function fields on Product from Template
...
issue5087
review23611002
2015-12-31 16:02:48 +01:00
Cédric Krier
0d01328a7b
Use the recomputed cost price
...
as default new cost price for the update cost price wizard.
issue4729
review6251002
2015-06-15 00:59:32 +02:00
David Harper
85e6a63fb1
change Ok to OK
...
issue4290
review6131002
2015-03-10 18:45:11 +01:00
Cédric Krier
ef44ba2771
Use price_digits
...
issue4438
review6791002
2015-01-06 23:30:19 +01:00
Cédric Krier
45790b2b22
Fix most flake8 errors
...
review8771002
2014-12-02 12:54:53 +01:00
Cédric Krier
8e23ff3805
Use context to check model and field access
...
issue4081
review8481002
2014-09-17 21:45:08 +02:00
Cédric Krier
d94c706c18
Raise error for account used only on the accessor
...
Because of the batch mode of Function field, the getter must not raise error
otherwise the error can be raised for a record that doesn't require the
account.
So we introduce an new kind of Function field which raise the error only at the
accessor level.
issue4087
review9531002
2014-08-29 16:15:42 +02:00
Cédric Krier
517e4d61a9
Add account stock method on fiscal year
...
issue3962
review5381002
2014-06-09 18:22:02 +02:00
Cédric Krier
8a6ad3c419
Improve update of cost price
...
- Remove readonly on cost_price for a check on write
- Allow to update cost price from template
issue3528
issue3350
review2001002
2013-12-12 13:06:00 +01:00
Cédric Krier
ebeb5cc996
Write cost_price on the right Model
...
Since the removal of inherit in 2.8, Models must be tested to know which one
must be written.
issue3451
review1991002
2013-12-06 11:35:04 +01:00
Cédric Krier
54cdc49ab6
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:15 +02:00
Albert Cervera i Areny
15b1645b40
Use Active Record syntax to store cost price
...
review840002
2013-04-30 08:37:33 +02:00
Albert Cervera i Areny
7092b91f10
Pool needs to be instanciated.
...
review787002
2013-04-29 12:33:00 +02:00
Cédric Krier
d22c079acc
Fix wrong depends on counterpart
2013-03-27 22:43:46 +01:00
Cédric Krier
3d1096ff1d
Add support for production moves
...
issue2665
review557002
2012-10-15 10:28:23 +02:00
Cédric Krier
2c9cf7acd5
Rationalize accounting moves and lines
...
issue2056
review503006
2012-09-29 15:34:40 +02:00
Cédric Krier
0e3f5ffd20
Active Record
2012-09-24 22:17:38 +02:00
Cédric Krier
4fbbf28934
Fix depends on UpdateCostPriceShowMove.counterpart
2012-09-08 13:04:28 +02:00
Nicolas Évrard
7b3caee98d
Updating cost price must update stock accounting
...
review244003
2012-09-07 15:51:58 +02:00
Cédric Krier
6f4a3b006b
Hide account stock for non goods
...
issue2683
review451001
2012-08-11 12:20:03 +02:00
Cédric Krier
f52e121b00
Fix pep8 and pyflakes
2012-04-03 20:06:31 +02:00
Cédric Krier
c8be246f07
Enforce the usage of account kind
...
issue2475
review295005
2012-03-30 14:21:05 +02:00
Cédric Krier
2693ea69e6
New product types: Goods, Assets and Service
...
review260001
2012-03-16 12:41:26 +01:00
Cédric Krier
4e4f5faf05
Allow to use the accounts and taxes of parent category
...
issue1602
review271001
2012-03-12 22:41:56 +01:00
Cédric Krier
3cdc86cc8a
Define "Stock Journal" on "Account Configuration"
...
issue2406
review231007
2012-02-06 16:58:42 +01:00
Cédric Krier
d10cffb0f9
Make PYSON more Pythonic
2011-08-21 11:20:34 +02:00
Cédric Krier
9604ebeda6
Add test for depends
2011-08-04 16:57:20 +02:00
Cédric Krier
7d70bf7061
Fix required PySON statement for issue1850
2011-02-07 23:53:06 +01:00
Cédric Krier
79a64e379d
Initial commit
2011-01-16 22:05:34 +01:00