A model of inventory accounting method